Model Context Protocol
Give your AI agents the keys to SignalWire.
One MCP server for the SignalWire developer surface: docs knowledge, verified scaffolds, troubleshooting — and, optionally, account-scoped actions gated by your own API token’s scopes.
Knowledge tools no credentials needed
| Tool | What it does |
|---|---|
health | Report the server’s status and which toolsets are enabled (no credentials needed). |
orient | Map of the SignalWire surface — SWML, cXML, Server SDKs, REST, Browser SDK, Call Flow Builder — what each is and when to use it. Start here. |
search | Search the SignalWire developer documentation. |
reference | Structured docs lookup: list a section’s pages or fetch a page’s Markdown. |
scaffold | Verified SWML / cXML starters — IVR menus, AI voice agents, SMS auto-replies, Twilio ports. |
troubleshoot | Error or symptom → likely causes and fixes (401/404, silent SWML, webhook misses, DTMF, SMS 400s). |
recommend | Goal (“build an IVR”, “AI receptionist”, “port from Twilio”) → the right surface + first steps. |
Action tools optional — scoped to your token
| Tool | What it does |
|---|---|
account_overview | Show which SignalWire Space and project the presented credential scopes to, its permissions, and which action tools those permissions unlock. |
list_phone_numbers | List phone numbers owned by the credential's project (E.164, capabilities, handler, billing dates). |
lookup_available_number | Preview phone numbers available to purchase (search by area code, digit patterns, region/city). |
list_applications | List the project's applications from both families: Relay applications and cXML (Compatibility) applications. |
list_sip_resources | List the project's SIP endpoints (legacy interface — SignalWire is migrating SIP credentials; see the SIP Credentials docs). |
list_recent_activity | List recent message and call logs (metadata only — message bodies are never returned). |
buy_phone_number | Purchase one phone number for the credential's project. |
configure_application | Update a cXML application's routing (display name, voice/fallback/status URLs and methods) with a diff preview. |
send_test_sms | Send one test SMS from a number the project owns. |
place_test_call | Place one bounded test call that speaks a short message and hangs up (inline SWML; 30s ring timeout). |
Phone numbers & caller ID
| Tool | What it does |
|---|---|
update_phone_number | Update a project-owned phone number's name or call/message routing (handler assignment, LaML application, request/fallback/status URLs and methods, Relay topic/application, video… |
request_cnam | Request the caller ID name shown to call recipients for a project-owned phone number. |
assign_e911_address | Assign a validated E911 address to a project-owned phone number and start carrier provisioning (e911_status moves from pending to active once the carrier confirms). |
list_verified_caller_ids | List verified caller IDs: external numbers the project has submitted for outbound caller-ID verification (number, name, verification status). |
get_verified_caller_id | Get one verified caller ID by id: external number, name, and verification status. |
Messaging (SMS / MMS / WhatsApp)
| Tool | What it does |
|---|---|
send_message | Send one SMS, MMS, or WhatsApp message from a number the project owns (WhatsApp via a whatsapp:-prefixed from). |
list_message_logs | List message logs (metadata only — message bodies are never returned): parties, status, direction, kind, segments, charge, error code. |
get_message_log | Get one message log by id (metadata only — the message body is never returned): parties, status, direction, kind, segments, charge, error code. |
list_voice_logs | List call logs (metadata only — call content and recordings are never returned): parties, status, direction, durations, charge. |
get_voice_log | Get one call log by id (metadata only — call content and recordings are never returned): parties, status, direction, durations, charge. |
US 10DLC registry
| Tool | What it does |
|---|---|
list_brands | List the project's US 10DLC brand registrations: state, business name, legal entity type, vertical, contact. |
get_brand | Get one US 10DLC brand registration by id: registration state, business name, legal entity type, vertical, contact. |
list_campaigns | List the project's registered US 10DLC messaging campaigns: use case, approval state, description, opt-in/opt-out wording. |
get_campaign | Get one US 10DLC campaign by id: use case, approval state, description, opt-in/opt-out wording. |
list_registry_assignments | List the phone numbers assigned to one US 10DLC campaign (assignment state, E.164 number), or the campaign's assignment orders with view: \. |
Fax
| Tool | What it does |
|---|---|
send_fax | Send one fax from a number the project owns, using a document hosted at an http(s) media URL. |
list_fax_logs | List fax logs: parties, status, direction, source, pages, quality, charge, error code. |
get_fax_log | Get one fax log by id: parties, status, direction, source, pages, quality, charge, error code. |
Video rooms
| Tool | What it does |
|---|---|
list_video_rooms | List video rooms: name, display name, capacity, quality, layout, join window, recording flags, and the active session when requested. |
get_video_room | Get one video room by id: configuration, join window, recording flags, and the active session when requested. |
create_room_token | Mint a room token a client uses to join the named video room, with the API's default identity and permissions. |
list_room_sessions | List video room sessions: room, status, start/end, duration, and cost, filterable by room_id, room_name, or status. |
list_room_recordings | List video room recordings: session, status, duration, size, format, cost, and a temporary media link (media_ttl controls how long it stays valid). |
WhatsApp templates
| Tool | What it does |
|---|---|
list_whatsapp_businesses | List WhatsApp Business Accounts connected to the project. |
list_whatsapp_numbers | List WhatsApp numbers connected to the project (senders, WABA ids, handler resource ids, voice capability). |
list_whatsapp_templates | List WhatsApp message templates (metadata only — template component text is never returned): name, category, language, approval status, ids. |
get_whatsapp_template | Get one WhatsApp message template by id (metadata only — template component text is never returned): name, category, language, approval status, ids. |
create_whatsapp_template | Create a WhatsApp message template and submit it to Meta for approval (approval is not guaranteed). |
update_whatsapp_template | Update a WhatsApp message template's category or components (content edits go back to Meta for review). |
Short codes
| Tool | What it does |
|---|---|
list_short_codes | List short codes leased by the project with their message routing (handler, request/fallback URL and method, LaML application or Relay context). |
update_short_code | Update a short code's message routing (name, message handler, request/fallback URL and method, LaML application or Relay context) with a current-vs-new diff. |
AI agents & Datasphere KB requires MCP_AI_TOOLS_ENABLED
| Tool | What it does |
|---|---|
list_ai_agents | List the project's custom AI agents (Fabric resources; metadata only — prompt text is never returned): display name, type, timestamps. |
get_ai_agent | Get one custom AI agent by id (metadata only — prompt text is never returned): display name, type, timestamps. |
create_ai_agent | Create a custom AI agent (Fabric resource) from a display name and prompt text. |
update_ai_agent | Update a custom AI agent's display name or prompt text. |
ai_chat | Send one message to an AI agent and receive its reply (one JSON-RPC chat turn against the agent's SWML). |
list_datasphere_documents | List datasphere documents (the project's own knowledge base): filename, ingest status, tags, chunk count. |
get_datasphere_document | Get one datasphere document by id: filename, ingest status, tags, chunk count. |
search_datasphere | Semantic search across the project's datasphere documents; returns the matched chunk text and document ids for grounding. |
list_document_chunks | List the chunks of a datasphere document, including each chunk's text. |
get_document_chunk | Get one chunk of a datasphere document by id, including its text. |
add_datasphere_document | Ingest a datasphere document from a public http(s) URL (chunking and embedding happen server-side; ingestion is asynchronous). |
update_datasphere_document | Replace a datasphere document's tags (the only mutable document field; the source URL and chunking are fixed at ingest). |
The AI can do exactly what your token’s scopes allow — nothing more. If these tools don’t appear on this deployment, they aren’t enabled yet.
Dry run by default. Every write tool (buy, send, configure, assign, update, create) returns a preview without acting. Pass confirm: true to execute. The send_message tool is also rate-capped per credential — 1/minute and 20/day on the hosted endpoint.
Getting Started
Step 1 — create an API token
- In the SignalWire dashboard, open your project’s API tokens page.
- Create a token with only the scopes you want the AI to have (e.g.
numbers,messaging). Treat it like a password. - Note your Space name (the subdomain of
<space>.signalwire.com) and Project ID.
Step 2 — add the server to your host
Claude Code
claude mcp add --transport http signalwire https://mcp.signalwire.com/mcp \ --header "Authorization: Basic <base64(project_id:token)>" \ --header "x-signalwire-space: <space>"
Cursor / VS Code mcp.json
{
"mcpServers": {
"signalwire": {
"url": "https://mcp.signalwire.com/mcp",
"headers": {
"Authorization": "Basic <base64(project_id:token)>",
"x-signalwire-space": "<space>"
}
}
}
}
Any Streamable HTTP client
POST https://mcp.signalwire.com/mcp Authorization: Basic <base64(project_id:token)> x-signalwire-space: <space> Content-Type: application/json Accept: application/json, text/event-stream
Multi-project? Add one server entry per project (signalwire-prod, signalwire-staging…) with each project’s own token — each entry can only touch its own project.