Skip to content

MCP voice agent

MCP in both directions: tools in, calls out.

Your phone agent uses your tools the way any AI agent does — through MCP. And any AI agent can use the phone the same way: through the MCPDial MCP server.

Calls out

Give any AI agent a phone.

Point an MCP client at one URL with an API key from the dashboard. Your agent can then create voice agents, place calls, read transcripts and book appointments.

  • Streamable HTTP, stateless — every POST is answered with JSON
  • Auth with Authorization: Bearer cv_live_…
  • initialize, ping, tools/list and tools/call
  • Batches of up to 10 messages per request
mcp client config · json
{
  "mcpServers": {
    "phone": {
      "url": "https://mcpdial.com/api/v1/mcp",
      "headers": { "Authorization": "Bearer cv_live_…" }
    }
  }
}
call a tool · curl
# tools/call over Streamable HTTP — one POST, a JSON answer
curl -X POST https://mcpdial.com/api/v1/mcp \
  -H "Authorization: Bearer cv_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "jsonrpc": "2.0", "id": 1, "method": "tools/call",
        "params": { "name": "place_call", "arguments": {
          "agent_id": "<agent id from list_agents>", "to": "+41441234567",
          "goal": "Confirm the Tuesday appointment",
          "consent_basis": "web form 2026-09-01" } } }'

# The call may be dialled, scheduled for the callee's local hours,
# or refused — the result says which, and why.

47 tools exposed

What your agent can do on the phone.

The full tool list your MCP client sees after tools/list: agents, calls, calendar, numbers, contacts and campaigns.

list_agents

List the voice agents in this workspace: id, name, role, status (draft | live | paused) and calendar_id. Archived (deleted) agents are left out unless include_archived is true. Use an id from here for place_call, get_agent or update_agent. Newest first. Returns {data, has_more, next_before}: when has_more is true, pass next_before back as before.

include_archived?, limit?, before?

get_agent

Get one agent with its full spec (company, persona, voice, greeting, goals, hours, tools, calendar_id, transfer, guardrails). Also works for an archived agent (archived: true), e.g. one a past call used.

agent_id

check_agent_setup

Run the setup check for one agent (same as GET /api/v1/agents/{id}/checks and the dashboard Test lab): live status, voice and language, greeting, phone number, calendar for booking tools, your MCP tools, transfer targets, browser-test allowance, credits, calling paused, recording and result-webhook signing. Returns {browser_ready, phone_ready, summary, checks:[{key, status: pass|warn|fail|info, label, detail, fix}]}. Read-only; free.

agent_id

create_agent

Create a voice agent from a role template (same rules as POST /api/v1/agents). It starts as a draft (it answers and places no calls until set live with update_agent). Booking roles get the workspace calendar. Free — no credits used.

role, company_name, company_description?, company_website?, name?, language?, spec?

update_agent

Rename an agent, change its status, or merge fields into its spec. Setting status "live" lets it answer calls on its assigned numbers and lets place_call use it (calls then use credits); "paused" stops both.

agent_id, name?, status?, spec?

duplicate_agent

Copy an agent (role and full spec) as a new draft named "Copy of <name>". Numbers, campaigns and call history stay with the original. Free.

agent_id, name?

place_call

Dial a real phone number with a live agent. Uses credits (billed per minute). Consent and the callee’s local calling hours are enforced: the result status is "dialing" (placed), "scheduled" (with scheduled_for) or "canceled" (refused, with the reason). Returns call_id — poll get_call for the transcript and outcome. Always pass an idempotency_key (e.g. a fresh UUID per intended call) and reuse it when you retry: the same key within 24 hours returns the original call with its current status and replayed: true, never a second dial; the same key with different arguments fails with idempotency_conflict. A number that is already on a call is refused with call_in_progress (the message names its call_id). The per-minute rate is the plan’s rate plus a destination surcharge on routes whose carrier cost is high (e.g. Swiss mobiles, German mobiles called from a non-EU number); the dialing result carries rate_credits_per_minute, and quote_call_rate tells you the rate before you dial. Premium-rate, special-service and very high-cost destinations are refused with destination_not_allowed (409) — nothing is charged. Pass a brief (objective, talking points, things to avoid) to focus the call; the agent also reads what is known about the contact (background, facts, recent emails and calls on its timeline). get_call returns the structured result (disposition, interest, next step) once the call ends.

agent_id, to, goal?, contact_name?, consent_basis?, language?, external_ref?, contact_external_ref?, brief?, max_seconds?, region?, idempotency_key?

quote_call_rate

What a call to a number would cost per connected minute right now, in credits and USD (rate_usd_per_minute at this workspace’s usd_per_credit — 0.001 unless a partner prices it): the plan’s rate, any destination surcharge and the caller ID place_call would use. allowed: false (with the reason) for destinations place_call refuses (premium-rate, special-service, unsupported). cheapest_rate_credits_per_minute appears when another caller ID (e.g. a number in the EU) would be cheaper. With channel "sms": the price of a text to that number instead (credits_per_segment, usd_per_segment; with `text`, also segments and the total) — or allowed: false with the reason. Read-only; nothing is dialed, sent or charged.

to, channel?, text?

get_call

Get a call: agent, contact, campaign, status, outcome, transcript, summary, actions, duration, cost_credits, rate_credits_per_minute, cost ({credits, usd, rate_credits_per_minute, usd_per_credit} — the settled price once the call ended), has_recording (+ recording_duration_seconds), the brief it was placed with and its structured result (disposition, interest 0–3, next_step, callback_at, objections, opt_out, custom fields — null until the call ends). Use after place_call; the transcript is filled once status is "completed". The audio itself is only available in the dashboard or via the REST API.

call_id

list_calls

List calls, newest first, with summary and cost (no transcripts — use get_call). Filters combine. Returns {data, has_more, next_before}: pass next_before back as before for the next page.

limit?, agent_id?, contact_id?, campaign_id?, status?, direction?, outcome?, disposition?, min_interest?, external_ref?, since?, before?

list_calendars

List the booking calendars in this workspace (id, name, timezone, and any connected Google/Microsoft calendar with its sync health). Use an id for check_availability and book_appointment. Returns {data, has_more} (all calendars; has_more is always false).

—

check_availability

Free appointment slots on a calendar, as UTC start/end pairs. Pass a start to book_appointment.

calendar_id, from?, days?

book_appointment

Book a slot on a calendar (use a start returned by check_availability). Fails with slot_unavailable if it was taken. Syncs to a connected Google/Microsoft calendar. Pass an idempotency_key and reuse it when you retry: the same key within 24 hours returns the original booking (replayed: true), never a second one; with different arguments it fails with idempotency_conflict.

calendar_id, start, name?, email?, phone?, notes?, idempotency_key?

list_bookings

Upcoming (not canceled) bookings, soonest first. Returns {data, has_more, next_after}: when has_more is true, pass next_after back as after.

calendar_id?, from?, limit?, after?

reschedule_booking

Move a booking to a new start (same duration); a connected Google/Microsoft calendar event moves with it. Fails with slot_unavailable if the new time is not free.

booking_id, start

cancel_booking

Cancel a booking and free its slot; also removes it from a connected Google/Microsoft calendar. Cannot be undone (book again instead).

booking_id

retry_calendar_sync

Push a booking to its connected Google/Microsoft calendar again (create, move or remove the event to match the booking). Use when a booking shows calendar_sync_error. Safe to repeat.

booking_id

list_numbers

The workspace’s phone numbers (E.164, label, country, status, release_scheduled_at — set when a number is suspended for unpaid rent and will be released on that date unless credits are added) and the agent each routes to, newest first. Buying numbers is done in the dashboard or REST API. Returns {data, has_more, next_before}: when has_more is true, pass next_before back as before.

limit?, before?

search_available_numbers

Phone numbers available to buy in a country, with monthly rent in credits (1 credit = $0.001). Searching is free; buying is done in the dashboard or via POST /api/v1/numbers — not through MCP.

country, type?, contains?

assign_number

Route one of the workspace’s numbers to an agent (inbound calls to it are answered by that agent once the agent is live), or pass agent_id null to unassign. Free; changes live call routing immediately.

number_id, agent_id

get_number_requirements

What the carrier needs before a phone number in a country/type works — e.g. Swiss, German, French, UK numbers need the business’s legal name and registration details, a business address (sometimes IN that country) and documents such as a commercial register excerpt, reviewed by the carrier (usually 1–3 business days). Where the carrier allows it (end_user_types), an individual can register instead with a personal ID (end_user_type: individual — name, personal details, passport / ID card, sometimes a proof of address). Returns the required fields, the address rule, the accepted document types, the review time and where this workspace stands (ready, what is missing, review status). Read-only and free. Entering the details and uploading documents is NOT possible over MCP (identity documents and business data must not pass through an AI tool): an owner/admin does it in the dashboard (Settings → Telephony) or via the REST API (/api/v1/regulatory/*).

country, type?, end_user_type?

get_verification_status

The carrier’s review of the workspace’s business details per country and number type: not_required | draft (nothing filed yet — see missing) | in_review | approved | rejected (with the carrier’s reason), and the numbers held (status pending) until the review ends. Without country: every filing of the workspace. Read-only. Fixing details or documents is done in the dashboard or via the REST API, never over MCP.

country?, type?

get_carrier_status

Whether the workspace has its own Twilio or Telnyx account connected ("bring your own carrier"): provider, masked account/key hints, routing mode (automatic | manual) and state (none | pending | ready | error), and the imported numbers with their status. Read-only and makes no call to the carrier. Connecting, routing and disconnecting are done by an owner/admin in the dashboard (Settings → Telephony).

—

list_contacts

Contacts, newest first: name, company, phone, email, call_consent and dnc (do-not-call). Optionally search by name, phone or company. Returns {data, has_more, next_before}: when has_more is true, pass next_before back as before.

query?, limit?, before?

create_contacts

Upsert contacts by phone (same rules as POST /api/v1/contacts): only the fields you send are written. consent_basis records call consent in the ledger; opt_out marks the contact do-not-call. Consent never lifts a do-not-call. kind is set only on new contacts — an existing contact keeps its type (use update_contact to change it). Returns {upserted, rejected: [{index, reason}], ids, kept_type}.

contacts

get_contact

One contact by id (from list_contacts / upsert_contact) or by external_ref: details, call_consent, dnc (do-not-call), the lead brief (external_ref, background, facts, legal_basis), the consent ledger (kind, basis, created_at — newest first) and recent_events (the last 10 timeline events, newest first).

contact_id?, external_ref?

upsert_contact

Find-or-create ONE contact by identity — external_ref (the lead's id in your system), then email, then phone; the first match wins — and write what you send (same rules as POST /api/v1/contacts with a single contact). Nothing is ever blanked: empty values are ignored, facts merge key by key. Phone / email / external_ref are filled when missing, never replaced. An identity that already belongs to ANOTHER contact is not moved: it comes back in conflicts (use merge_contacts). background + facts are the brief the agent reads before calling. consent_basis records call consent but never lifts a do-not-call; opt_out marks the contact do-not-call. Returns {contact, created, conflicts}.

external_ref?, email?, phone?, name?, company?, timezone?, language?, kind?, background?, facts?, legal_basis?, consent_basis?, opt_out?

add_timeline_event

Add one event to a contact's timeline — an email sent / opened / replied, a note, a meeting… The agent sees recent events (dates, kind, title, a trimmed excerpt) before calling the lead. Send excerpts, not whole threads (body ≤ 4000 chars). With external_id, a retry returns the stored event (created: false) instead of adding it twice. Returns {data, created}.

kind, contact_id?, external_ref?, source?, direction?, occurred_at?, title?, body?, data?, external_id?

get_contact_timeline

A contact's timeline, newest first: calls, bookings and automatic messages here plus emails and notes pushed from outside (source, kind, direction, title, body excerpt, data). Returns {data, has_more, next_before}: when has_more is true, pass next_before back as before.

contact_id?, external_ref?, limit?, before?

merge_contacts

Merge duplicates (source_contact_ids) INTO one contact (contact_id): their calls, bookings, timeline, consent ledger, campaign enrolments and identities move to it, its empty fields are filled from them (facts merge, the target wins), and the duplicates are deleted. Do-not-call on any of them makes the merged contact do-not-call — a merge never re-enables calling someone who opted out. Safe to retry. Owner/admin only. Returns {data: contact, merged_ids, moved}.

contact_id, source_contact_ids

update_contact

Edit a contact (same rules as PATCH /api/v1/contacts/{id}): only the fields you send change; null clears a text field. consent_basis records call consent in the ledger but never lifts a do-not-call; opt_out: true marks the contact do-not-call and adds the number to the do-not-call list. A new phone number is accepted (refused if another contact has it — merge instead) and clears call consent, which was given for the old number, unless consent_basis is sent too. Do-not-call can only be lifted by an owner or admin in the dashboard. Returns the contact.

contact_id, name?, company?, phone?, email?, timezone?, language?, kind?, consent_basis?, opt_out?, external_ref?, background?, facts?, legal_basis?

list_campaigns

Outbound campaigns, newest first: id, name, agent_id, status (draft | running | paused | done), goal, brief. Create one with create_campaign, fill it with enroll_contacts, run it with start_campaign. Returns {data, has_more, next_before}: when has_more is true, pass next_before back as before.

status?, limit?, before?

get_campaign

One campaign with its contact counts per state (queued, scheduled, in_progress, done, skipped) and its launch checks: agent live, caller-ID number, credits, contacts that may be called (with blocked counts by reason).

campaign_id

pause_campaign

Stop a running campaign from dialing. Its queue is kept; resume it with start_campaign (or from the dashboard / REST API). Pausing an already paused campaign is a no-op.

campaign_id

create_campaign

Create an outbound campaign as a draft (nothing is dialed until start_campaign). The brief (objective, talking points, things to avoid) applies to every call of the campaign; a lead’s own brief (enroll_contacts) and the call add to it — later wins, lists are combined. Settings: max_attempts 1–5 (default 2), retry_after_hours 1–168 (24), concurrency 1–10 (2), voicemail drop | hangup. Returns the campaign.

name, agent_id, goal?, brief?, settings?

enroll_contacts

Add existing contacts to a campaign, each by contact_id or by external_ref (your lead id — create or upsert the contact first), optionally with its own brief (e.g. what the last email to this lead said). A lead already in the campaign keeps its progress; a brief sent for it replaces its brief. Unknown external refs come back in unresolved_external_refs. Returns {added, updated, ignored}.

campaign_id, contacts

start_campaign

Start dialing a campaign — or resume a paused one. Places real calls and uses credits. Refused (with the list of checks) unless calling is on, the agent is live, a caller-ID number is active, credits suffice and at least one enrolled contact may be called (consent, not do-not-call, valid number); contacts the compliance gate blocks are skipped. Calls go out in each contact’s legal calling hours, at the campaign’s concurrency. Owner/admin only.

campaign_id

list_notifications

Workspace alerts, newest first: low or used-up credits, campaigns paused automatically, suspended numbers, calendar/webhook/carrier/recording problems. Each has event, severity (info | warning | critical), title, body, link (the dashboard page where it is fixed), created_at and read (for the API key’s creator). Read-only; mark them read in the dashboard or via REST. Returns {data, has_more, next_before}.

unread?, limit?, before?

get_branding

The company identity on automatic emails and SMS: display_name, logo_url, brand_color, sender_name, reply_to, notify_emails (who gets business copies; empty = owners and admins), website, address, footer_text, reminder_hours, email_local_part, the current From header (from) and the custom sending_domain {domain, status, records, address}. Read-only.

—

update_branding

Change the company identity on automatic messages. Only the fields you send change; null (or "") clears a text field. logo_url: a public https link to a PNG, JPEG or WebP (≤ 512 KB) that the server downloads and sets as the logo; null removes the logo. Invalid values are refused with invalid_branding and the reason. Returns the full branding, like get_branding. Safe to repeat.

display_name?, brand_color?, sender_name?, reply_to?, notify_emails?, website?, address?, footer_text?, reminder_hours?, email_local_part?, logo_url?

list_message_templates

Every automatic message (event × audience × channel): label, description, enabled, default_enabled, subject (null for SMS), body and customized (text differs from the built-in one), plus `variables` — the {{name}} placeholders usable in subjects and bodies. Read-only.

—

update_message_template

Turn one automatic message on or off and/or change its text. Only the fields you send change; subject/body null = back to the built-in text. Emails need a subject; SMS have none. Use {{variables}} from list_message_templates. Returns the updated template.

event, audience, channel, enabled?, subject?, body?

reset_message_template

Put one automatic message back to its built-in text AND its default on/off. Returns the template.

event, audience, channel

list_messages

The log of automatic emails and SMS, newest first: event, audience, channel, to, subject, status (queued | sending | sent | failed | skipped | canceled), error, call_id, booking_id, credits, test, created_at, sent_at. Filter by call_id, booking_id, event, status, channel, audience, since. Returns {data, has_more, next_before}: pass next_before back as before.

call_id?, booking_id?, event?, status?, channel?, audience?, since?, limit?, before?

get_balance

Credits (1 credit = $0.001), unlimited, low_threshold, low, can_spend (covers at least a minute), plan and rate_credits_per_minute (before any destination surcharge — quote_call_rate has the exact one). A workspace paid for by a partner answers funded_by "partner" with credits, unlimited and low_threshold null. Read-only.

—

get_usage

What the workspace spent between since and until (default: the last 30 days; at most 366 days): calls {count, minutes, credits}, numbers {credits}, messages {sms, email: {count, credits}}, voice_previews, other, total_spent_credits and credits_added. Net of refunds. Read-only.

since?, until?

get_analytics

How the calls went over the last 7, 30 or 90 days (default 30): totals (calls, answered, seconds, avg_answered_seconds, inbound/outbound/web, opted_out, booked), outcomes, structured results (dispositions), calls per day, outbound pick-up by hour, per agent and per campaign, bookings — and previous.totals for the period before. Test calls are not counted; days and hours are in the workspace calendar’s timezone. Read-only.

days?

REST API and dashboard only, by design: buying and releasing phone numbers; entering business details and addresses and uploading verification documents for regulated numbers (identity documents never pass through an ai tool); deleting campaigns; deleting agents; erasing contacts and lifting a do-not-call; connecting, routing, importing numbers from and disconnecting your own twilio/telnyx account; uploading a logo file (mcp sets it from a url: update_branding logo_url) and adding, verifying or removing a custom sending domain. They spend money, cannot be undone or change who gets called, so a human stays in the loop — see the REST API reference.

A typical agent flow

Tools in

Register an MCP server once. Use it on every agent.

Dashboard → Tools → Add server. Give it a URL (Streamable HTTP or SSE) and, if needed, an auth header. The dashboard lists the server's tools and creates a default policy for each — then you allow tools per agent.

Slow tools never mean silence: see how the voice agent talks while tools run.

01

Allow-list per agent

Each agent sees only the tools you tick for it — a receptionist does not need your refund tool.

02

Confirm before writing

Mark a write as needing a spoken yes: the agent reads the action back and waits for confirmation before it calls the tool.

03

Latency class

Instant tools run inline; slow ones run in the background while the agent keeps talking; offline ones follow up after the call.

04

Screened results

Tool output is checked for prompt injection before the model sees it, and every tool call is logged with the call.

Guardrails

An AI agent with a phone, under the same rules as you.

Giving software a phone line is a responsibility. The MCP server does not get a shortcut around any of it.

Consent and calling hours, enforced

place_call passes the same compliance gate as the REST API. Outside the callee's local hours the call is scheduled; without a consent basis where one is required, it is refused with the reason. Read the AI calling compliance rules.

Secrets and results, handled

MCP credentials are encrypted at rest and never returned to the dashboard or API. Tool results are screened for prompt injection before the model sees them. More on security and data residency.

FAQ

MCP questions.

Prefer plain HTTP? The REST API for AI phone calls covers everything here, plus buying and releasing numbers and creating and starting campaigns. Or see the AI phone agent product overview.

What is an MCP voice agent?
A phone agent that speaks the Model Context Protocol. MCPDial uses MCP in both directions: your phone agents call tools on MCP servers you register, and any MCP client can use MCPDial’s own MCP server to create agents, place calls and book appointments.
Which MCP transports are supported for my tools?
Streamable HTTP and SSE. Register the server URL and an optional auth header; the dashboard connects, lists the tools it exposes and creates a default policy for each.
How does an MCP client connect to MCPDial?
Create an API key in Settings → API keys and add the server URL with an Authorization: Bearer header to your client. The server speaks Streamable HTTP, is stateless, and answers every POST with JSON; batches are capped at 10 messages per request.
Where are my MCP credentials stored?
Encrypted at rest and decrypted only for the call that uses the server. They are never returned to the dashboard or the API.
Can an AI agent start a call and get the result?
Yes — place_call returns a call id immediately; get_call returns the status, transcript, summary, outcome and actions once it ends.
Does place_call bypass the compliance rules?
No. It goes through the same gate as the REST API: consent and the callee’s local calling hours are enforced, so a call may be scheduled or refused, with the reason.

Connect your first tool — or your first agent.

Register an MCP server and allow its tools on an agent, or create an API key and let your own AI agent place the call.