Skip to content

Blog

A phone call MCP server, explained

What the Model Context Protocol is, how an assistant uses it to have a call placed or a text sent, and what each of the eight Sempera phone tools does.


MCP stands for Model Context Protocol, and it is a big part of why an assistant like Claude or Codex can do more than talk. This post explains what an MCP server is, what a phone call MCP server adds, and exactly what the Sempera phone tools do.

MCP in one paragraph

An MCP server offers an assistant a list of tools. Each tool has a name, a description and a set of inputs. The assistant reads the list, decides when a tool would help, and calls it with the right inputs. The server does the work and sends back a result.

The protocol is open, so one server can serve many assistants. That matters for phone calls: instead of a separate integration for each assistant, there is one endpoint, and each assistant connects to it in its own way.

The Sempera endpoint

Sempera hosts its MCP endpoint at https://api.sempera.org/v1/mcp, so there is nothing for you to run. It speaks the plain JSON form of the streamable HTTP transport: one request in, one answer out, no session to keep alive.

Assistants such as ChatGPT and Claude sign in with OAuth 2.1. The assistant registers itself, sends you to Sempera's consent page, and gets a grant once you approve. Codex and Claude Code can use the same browser sign-in, or send a credential in a header. That credential has to be one you created under Connected clients in the Sempera App; an ordinary workspace API key is refused for phone tools.

Every assistant gets its own grant. Revoking one under Connected clients ends that assistant's access and leaves the others working.

The three phone permissions

You choose them on the consent page:

ScopeWhat it allows
phone:readSee the number, the plan state, what is left of the limits, and call results
phone:callPreview, start and cancel calls you approved
phone:textPreview and send texts you approved, and read text threads

No scope can buy a number, start a plan or approve anything. A request for any other scope is refused, and a client that asks for nothing gets read access only.

The eight tools

phone_get_profile. Reads the line: the number, whether the plan is active and what is left of the fair-use limits. It is factual and never suggests an upgrade.

phone_preview_call. Checks a call before anything happens. The assistant passes the number, the task in plain words, the allowed actions and an optional maximum length. It places and reserves nothing. The answer includes the task id, the worst-case spend and either an approval link for you or a note that a standing approval covers it.

phone_start_call. Starts the exact call you approved. Any change from the preview is refused. It answers at once with the task in the reserved state, meaning queued, not yet dialling. If another call is already live, the start is refused and the assistant can try again when the line is free.

phone_get_task. Reads a call's state and, once it ends, the outcome. Polling this is how an assistant follows a call. The outcome is marked untrusted, because it repeats what someone else said.

phone_cancel_task. Stops a task, safely repeatable. Before the dial nothing is charged; during a call it hangs up.

phone_preview_text. Checks a text: the number and the words. It sends nothing, and answers with the segment count, the spend bound and the approval link or standing approval.

phone_send_text. Sends the exact text you approved, once. A retry sends nothing new.

phone_get_thread. Reads one text thread, with numbers masked and every line from someone else labelled untrusted. It needs the text permission.

What is deliberately missing

No tool buys a plan, adds credit, reaches a checkout or approves a call. An assistant can use a phone plan; it can never buy one or sign off on its own actions. Approvals come only from you, signed in, through the link a preview returns, or from a standing approval you set for one number.

A related point that confuses people: Sempera's plugin for Claude Code and Codex is a kit for building business voice agents and has no phone tools. Neither do the Sempera CLI or the local stdio MCP package. Phone access is through the hosted endpoint above, or the REST routes on the phone number API page.

A call, start to finish

  • The assistant reads the profile to confirm the line is active.
  • It previews the call and shows you the approval link.
  • You approve, and the call has to start within five minutes.
  • It starts the call, then polls the task until it completes.
  • It tells you what happened, treating the result as a report, not as instructions.

Calling hours (noon to 9 p.m. Eastern, which is 9 a.m. to 6 p.m. Pacific), the one-call-at-a-time rule and the fair-use caps are enforced on the server, whatever the assistant asks.

Which assistants can connect

Sempera publishes setup guides for the four supported assistants: Claude, Codex (and ChatGPT), Muse and Grok Bot. The server side is tested against the published protocol, but none of those connections has yet been completed from a live account, and each guide says so. Start with the MCP server page, the Codex setup or the Claude setup; the full reference is in the MCP documentation.

Sempera Phone is coming soon, planned for calls and texts in Canada and the US, with its price published when it opens. It cannot be bought yet.