Concepts

MCP Server

One endpoint that lets an AI assistant work with the phone numbers you choose: read call and message history, send texts, place calls with the CallNode voice agent, reach your Phone Book contacts by name, check your balance.

Overview

CallNode hosts a Model Context Protocol (MCP) server at https://mcp.callnode.io/mcp. claude.ai and Claude Desktop, ChatGPT, Claude Code, Cursor and VS Code with GitHub Copilot connect to it by signing in (or with a token from your dashboard) and use a small set of tools on your account; other clients that connect to remote MCP servers over Streamable HTTP can use the same sign-in or a token. It answers in JSON and works with both the current protocol and the 2025 revisions most clients still use. The tools describe themselves and every refusal says what to do next, so the same requests work in every client.

New to it? What an assistant can do with your numbers, in plain words, with the setup for each client.

Access is opt-in twice over: the account switch has to be on, and only the numbers you tick are visible to any connection. A number you did not tick cannot be read from or sent from, whatever the assistant asks for.

Turn it on

  1. Open Dashboard → MCP Server and switch MCP access on.
  2. Tick the numbers an assistant may reach and save. Every connection shares this list.
  3. Connect your client: sign in from it (recommended), or create a token connection on that page with a name, live or test, and what it may do. A token is shown once.
  4. For a token, paste the snippet for your client (below). Either way, the assistant now sees the callnode tools.

Sign in (recommended)

All five clients on this page connect with a sign-in: claude.ai and Claude Desktop, ChatGPT, Claude Code, VS Code and Cursor. You give the client only the server URL, it sends you to the CallNode consent page, you approve, done. No token is created, nothing secret is pasted into a file or a shell, and the connection appears under Dashboard → MCP Server as a sign-inrow you can revoke at any time. The consent page lets you untick permissions (sending, for example), choose live or test, and set an hourly send cap; the numbers the assistant may reach are always the account's enabled list.

claude.ai and Claude Desktop

  1. Open Settings → Connectors and choose Add custom connector.
  2. Enter https://mcp.callnode.io/mcp as the server URL and continue; leave the client id and secret fields empty.
  3. Claude opens the CallNode sign-in page. Log in if asked, review the numbers and permissions, and approve.
  4. Back in Claude, enable the connector in a chat. The approval appears under Dashboard → MCP Server as a sign-in connection; revoke it there at any time.

ChatGPT

  1. Enable Developer mode under Settings → Connectors → Advanced, then choose Create.
  2. Enter https://mcp.callnode.io/mcp as the MCP server URL and pick OAuth as the authentication; no client id or secret is needed (ChatGPT registers itself).
  3. Approve on the CallNode sign-in page, then add the connector to a chat.

Claude Code

.mcp.json (project root)JSON
{
  "mcpServers": {
    "callnode": {
      "type": "http",
      "url": "https://mcp.callnode.io/mcp"
    }
  }
}
Bash
claude mcp add --transport http callnode https://mcp.callnode.io/mcp
  1. Either save the file above in the project you work in (Claude Code asks once whether to trust it), or run the command once in a terminal to add the server for your user.
  2. Inside Claude Code type /mcp, pick callnode and choose Authenticate; your browser opens the CallNode sign-in page.
  3. Approve, then return: the tools are available and the session refreshes itself in the background.

VS Code (Copilot agent)

.vscode/mcp.jsonJSON
{
  "servers": {
    "callnode": {
      "type": "http",
      "url": "https://mcp.callnode.io/mcp"
    }
  }
}
  1. Save the file above in your workspace (or add the server through MCP: Add Server in the Command Palette, type HTTP, with the URL).
  2. Start the server: click Start above it in the file, or run MCP: List Servers and start callnode. VS Code discovers the sign-in, opens your browser on the CallNode consent page, and finishes when you approve.
  3. In Copilot Chat choose Agent mode, open the tools picker and tick the callnode tools. Ask for your numbers or your balance.

Cursor

~/.cursor/mcp.jsonJSON
{
  "mcpServers": {
    "callnode": {
      "type": "http",
      "url": "https://mcp.callnode.io/mcp"
    }
  }
}
  1. Save the file above (or add the server under Settings → MCP), then reload Cursor.
  2. In Settings → MCP the server shows Needs login; click it. Your browser opens the CallNode consent page; approve.
  3. Back in Cursor the tools are listed. Each reconnect registers Cursor again with the server; that is normal.
What the client learns about you
Only an access token for this account, scoped to the permissions you approved. Access tokens last an hour and renew in the background; a sign-in stops working the moment you revoke its connection, turn MCP off, or 90 days pass without a fresh sign-in.

Connect with a token

For bridges, automations and the few setups where a browser sign-in is not possible, create a connection in the dashboard and use its token. Replace <your-token>below; the dashboard shows these same snippets when you create a connection. The Cursor and VS Code forms keep the token out of the file (an environment variable and VS Code's own prompt), so a config committed by accident leaks nothing.

Claude Code

Bash
claude mcp add --transport http callnode https://mcp.callnode.io/mcp --header "Authorization: Bearer <your-token>"

Run once in a terminal, then type /mcp inside Claude Code to see the callnode tools. The token stays in your shell history; the sign-in route above avoids that.

Cursor

~/.cursor/mcp.jsonJSON
{
  "mcpServers": {
    "callnode": {
      "url": "https://mcp.callnode.io/mcp",
      "headers": {
        "Authorization": "Bearer ${env:CALLNODE_MCP_TOKEN}"
      }
    }
  }
}

Cursor reads the token from the CALLNODE_MCP_TOKEN environment variable, so it never sits in the file. The variable must be visible to Cursor's process: on Windows run setx CALLNODE_MCP_TOKEN <your-token> and restart Cursor; on macOS/Linux export it in your shell profile and launch Cursor from that terminal.

VS Code

.vscode/mcp.jsonJSON
{
  "inputs": [
    {
      "type": "promptString",
      "id": "callnode-token",
      "description": "CallNode MCP connection token",
      "password": true
    }
  ],
  "servers": {
    "callnode": {
      "type": "http",
      "url": "https://mcp.callnode.io/mcp",
      "headers": {
        "Authorization": "Bearer ${input:callnode-token}"
      }
    }
  }
}

VS Code prompts for the token the first time the server starts and keeps it in its secret store; the file holds no secret and is safe to commit.

Claude Desktop

claude_desktop_config.jsonJSON
{
  "mcpServers": {
    "callnode": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.callnode.io/mcp",
        "--header",
        "Authorization: Bearer <your-token>"
      ]
    }
  }
}

Settings → Developer → Edit Config. Uses the mcp-remote bridge (needs Node.js). Claude Desktop can also connect through Settings → Connectors with a sign-in instead of a token.

A token on a command line is a secret in your shell history
The Claude Code command keeps the token in the shell history and in Claude Code's own settings. Treat it like a password: if it leaks, revoke the connection in the dashboard and create a new one.

Tools

Each tool is bound to a permission you choose when you create the connection. A connection without a permission does not see the tool at all. Every tool answers with readable text and a structured JSON result.send_message and place_call are marked as actions that reach a person and cannot be undone (destructiveHint), so clients that honour tool hints ask you before running them; the read tools are marked read-only.

ToolPermissionWhat it does
list_numbersnumbers:readThe enabled numbers with what each can do (voice, SMS, MMS) and whether each has its own voice agent (ownVoiceAgent).
get_numbernumbers:readOne enabled number: type, status, capabilities, tags, ownVoiceAgent. Never webhook addresses, routing or credential settings.
list_callscalls:readCall records on the enabled numbers, newest first, with filters and paging. No transcripts.
get_callcalls:readOne call record by callId (from list_calls or place_call), including how it ended. For calls placed through MCP: the summary, outcome and transcript.
place_callcalls:placePlace an outbound call from an enabled number; the number's voice webhook (or a webhook_url you pass) runs the conversation, or pass instructions and the CallNode voice agent runs it for you. Call a Phone Book entry by name with contact instead of to. Real on live connections (per-minute charges), simulated on test connections. Off by default.
list_messagesmessages:readSMS/MMS history on the enabled numbers (both directions on live connections; simulated sends on test connections).
get_messagemessages:readOne message by id with its delivery status and media links.
send_messagemessages:sendSend a text or a picture message (media_urls) from an enabled number, to a number or to a Phone Book entry by name (contact). Real on live connections, simulated on test connections.
list_phone_bookphonebook:readYour Phone Book: the numbers you certified as your own lines, with their labels, so an assistant can call “my office” by name. Calls and texts to these may go outside 8am–9pm.
add_phone_book_contactphonebook:managePrepares a Phone Book entry and returns a link that opens the Add form already filled in; you tick the certification and save. It never adds a number itself.
remove_phone_book_contactphonebook:manageRemoves a Phone Book entry by id or number; calls and texts to it go back to the 8am–9pm window.
get_balanceaccount:readYour prepaid balance and auto-recharge settings.
get_updatesmessages:readNew inbound texts (and calls, when the connection can read calls) since a cursor, with an optional wait of up to 20 seconds, so an assistant can follow a conversation as it happens.

The number argument accepts the E.164 number, bare digits, or the id fromlist_numbers. A number that is not enabled is refused withnumber_not_enabled and the list of numbers that are.

What to ask

Talk to the assistant in plain language; it picks the tools. A few requests and what happens:

You askWhat happens
“Call Josh with the CallNode voice agent and ask if he has a minute for a quick test.”place_call with contact: "Josh" and instructions: CallNode looks Josh up in your Phone Book at that moment and its voice agent runs the call. get_call then has the summary and the transcript.
“Text my office: running ten minutes late.”send_message with contact set to the name as it appears in your Phone Book. A name that does not match comes back with the names that do, so the assistant can pick the right one.
“Which of my numbers can make calls, and which need instructions?”list_numbers: the voice capability of each number, and ownVoiceAgent for which have an agent of their own.
“Add +44 20 7946 0958 to my Phone Book as Mom.”add_phone_book_contact returns a link to the filled-in form; you tick the certification and save.
“Did anyone text me in the last hour?”get_updates or list_messages on your enabled numbers.
“What’s my balance?”get_balance.

Sending texts

send_message goes through exactly the rules the messaging APIapplies: the recipient must not have opted out, the send must fall inside 8am–9pm in the recipient's local time, the sending number must be registered for messaging, and your balance must cover it. On top of that:

  • Up to 1,600 characters of text, plus up to three attachments from an MMS-ready number. No override of the time window: only numbers in your Phone Book are outside it, and you certify each one yourself.
  • Someone in your Phone Book can be texted by name: contact instead of to, looked up when the text is sent.
  • A per-connection cap on sends per hour (30 by default, settable per connection up to 200).
  • The identical text to the same recipient within 60 seconds returns the first result instead of sending again, so a retried tool call never double-texts someone. Pass allow_duplicate: true to send anyway.
  • An optional idempotency_key works like the API's header: the same key on the same connection never sends twice.

Each send is billed like any other message. The tool result carries the message id, status and cost.

Placing calls

With the calls:place permission, place_call dials a number from one of your enabled numbers. Who speaks on the call is up to you. Give the assistant instructions(“call Sam and ask whether Tuesday at ten works for the estimate; if voicemail, leave our number”) and theCallNode voice agent runs the conversation: it introduces itself as an AI assistant calling on behalf of your business, follows the instructions, never claims to be human, and cannot transfer the call or take card details. Afterwards get_callreturns a short summary, an outcome and the transcript. The agent's name, your business name, the voice and standing notes for every call live under Dashboard → MCP Server → Outbound voice agent; it works with sensible defaults before you touch anything. Without instructions, the conversation goes to the number's own voice webhook (your n8n or Flowise agent) or to a webhook_url you pass; a number with neither is refused before anything dials. list_numbers shows which numbers have a voice agent of their own (ownVoiceAgent), so an assistant passes instructions for the others from the first call. To call someone in your Phone Book, the assistant can pass their name as contactinstead of a number. The call goes through the same outbound calling APIas your own integrations, so business verification, do-not-call lists, the 8am–9pm called-party window (numbers in your Phone Book excepted), destination restrictions and your concurrent-call limit all apply, and the call shows in your call records like any other.

The first call creates an API key named MCP outbound (system) under Dashboard → API Keys; that is the credential CallNode dials with on your behalf. Revoke it to switch calling through MCP off. Test connections dial with a test key, so nothing is placed and nothing is charged.

Phone Book

Your Phone Bookholds up to ten of your own lines (office, home, family) that you have certified you may call at any hour. Calls and texts to those numbers skip the 8am–9pm window at the number's local time, whether you place them or an assistant does; do-not-call lists, STOP replies and every other rule still apply.

  • Read Phone Book (phonebook:read): list_phone_book shows the numbers and their labels, so “call my office” finds the right number and the assistant knows which numbers it can reach late.
  • Manage Phone Book (phonebook:manage): remove_phone_book_contact takes a number off, and add_phone_book_contact prepares a new one.
  • Calling and texting by name (needs Read Phone Book): place_call and send_message accept contact, the entry's name, instead of to. CallNode looks the name up at the moment of the call, so “call Josh” works even if Josh was added a minute ago. Names match exactly, apart from case and extra spaces (“Josh” never reaches “Josh Smith”); an unknown name returns the names that exist, and two entries with the same name ask for the number.

Adding a number is a certification only you can make, so the assistant never adds one.add_phone_book_contact checks the number and answers with a link that opens Dashboard → Phone Book with the Add form already filled in; you check it, tick the certification and save. No token, and no instruction hidden in a text message, can create an after-hours exemption. A placed call that reached a Phone Book number outside the window shows phoneBookExempt: true inget_call.

Already connected?
A connection keeps the permissions it was created with, and most clients keep the tool list they loaded until you start a new chat or reconnect. To give an existing sign-in the Phone Book permissions, disconnect and reconnect CallNode in your client and approve them on the consent page; for a token connection, create a new one.

Test connections

A test connection behaves like a test-mode key: every rule still runs, then the send or the call is simulated — nothing leaves the platform and nothing is charged. list_messages on a test connection lists those simulated sends. Reads of numbers, call records and balance are the same on both kinds.

Limits

LimitValueScope
Tool calls per minute120Per connection. Refused calls count too.
Sends per hour30 (1–200)Per connection, set when you create it.
Duplicate-send guard60 secondsSame text to the same recipient from the same number.
Rows per page100 (default 25)Lists page with before = the previous page's nextBefore.
Message body1,600 characterssend_message.
Attachments3 per message, 5 MB each, public https URLssend_message with media_urls; the number must be MMS-ready.
Calls placed10 per hour per connectionplace_call; the same from/to within 60 seconds is not dialled twice.

What the assistant cannot do

  • See, read from or send from a number you did not tick. The list lives in the dashboard only; no token can change it.
  • Read the transcripts of calls it did not place, routing settings, webhook URLs or credentials.
  • Buy or release numbers, change routing or settings, or place calls unless the connection carries the Place calls permission, which is off by default.
  • Add a number to your Phone Book. With Manage Phone Book it can remove a number or prepare one, but only you can certify a new number, on the dashboard.
  • Spend without limit: the hourly cap and the duplicate guard apply even when the assistant retries.
  • Keep access after you revoke it: a token or a sign-in connection revoked in the dashboard is refused on the very next request.

Message bodies and caller-supplied text are handed to the assistant marked as untrusted content, so a text that tries to give the assistant instructions reads as data. Every tool call, allowed or refused, appears underRecent activity on the dashboard; message contents are never stored there.

Errors

Refusals come back as tool results with isError and a code the assistant can act on.

CodeMeaning
number_not_enabledThe number is not on the enabled list (or not yours). The message names the enabled numbers.
not_foundNo such call or message on the enabled numbers.
validation_errorAn argument is missing or out of range: a date that is not ISO 8601, for example, or both or neither of to and contact on place_call and send_message.
send_cap_exceededThis connection reached its hourly send cap.
no_voice_webhookplace_call from a number with no voice agent of its own (ownVoiceAgent false) and no instructions. Nothing was dialled; the assistant retries with instructions and the CallNode voice agent runs the call.
rate_limitedMore than 120 tool calls in a minute on this connection.
recipient_opted_out, tcpa_window_violation, campaign_not_registered, tollfree_not_verified, insufficient_balanceThe messaging rules, exactly as the messaging API reports them.
phone_book_full, account_not_verified, invalid_phone_number, invalid_labelPhone Book: it already holds ten numbers, the account has not finished business verification, or the number (international format, e.g. +442071234567) or label is not valid.
contact_not_found, contact_ambiguous, phonebook_permission_requiredCalling or texting by Phone Book name: no entry has that exact name (the message lists the names that exist), two entries share it (pass to with the number you mean), or the connection lacks Read Phone Book. Nothing was dialled or sent.
internal_errorSomething failed on our side; the message carries a reference for support.

At the HTTP level the endpoint answers 401 for a missing, unknown, expired or revoked token and for an account whose MCP access is off (a signed-in client renews an expired token on its own), and503 while the server is paused for maintenance.