OpenPhn docs

MCP overview

Native Model Context Protocol server for OpenPhn.

OpenPhn ships a first-party MCP server so any MCP-aware client (Claude Desktop, Cursor, Warp, Zed, your own agent) can place real phone calls as a tool.

Transport

  • Hosted SSEhttps://mcp.openphn.com. Multi-tenant; each connection must send Authorization: Bearer sk_live_*. This is what you want.
  • Local stdio — run mcp/server.py from the repo with OPENPHN_API_KEY in env. Single-tenant; useful for local development or air-gapped agents.

Tools exposed

ToolPurpose
make_callCreate an outbound call (same shape as POST /v1/calls). Returns {call_id, status}.
get_callFetch a call by ID — status, outcome, transcript, cost.
list_callsPaginated recent calls, optionally filtered by status.
list_numbersYour inbound numbers, respecting any number_ids scoping on the API key.

Managing flows and webhooks via MCP is not in today's tool set — use the REST API for those.

Auth model

The MCP server proxies to the same REST API you'd hit directly. Your sk_live_* key's scopes and number_ids restriction apply verbatim. If your key can't create calls via REST, it can't via MCP either.

Get started

On this page