A public remote MCP server: connect it to any AI agent and the agent can place a real phone call to you โ to ask a question, flag a decision, or just check in โ and drive the conversation live, word by word. Remix of dcm31/vapi-remote-mcp, de-personalized into proper BYOK: no env vars, no server-side keys, no signup โ your Vapi credentials ride in your own connection URL.
This is the puppet version โ you drive every word, so each exchange carries a round-trip of latency. For a lower-latency agent that runs the whole call itself and hands back a structured report (you don't drive every word), use the sibling dcm31/call-my-human.
your agent (any MCP client)
โ /mcp tools: start_call ยท say ยท listen ยท get_status ยท end_call
โผ
this val โโโโ POST api.vapi.ai/call (your key) โโโโโถ Vapi โโโโโถ ๐ฑ you
โฒ โ โ
โ โโโ say โโโถ controlUrl (inject TTS) โโโโโโโโโโโโโค
โโโ /webhook/<tenant> โโโ live transcripts โโโโโโโโโ
(the "brain" at /llm/<tenant> always returns "" โ the voice never freelances)
The voice is a puppet: a silent custom-LLM endpoint means it only ever says what the agent injects via say. Your replies stream back over Vapi's webhook into a per-tenant SQLite feed that listen long-polls (25s per call โ chained listens โ holding the line). The agent can interleave other tool work between listens; you just hear a beat of thinking.
You need two values from dashboard.vapi.ai: your private key and a phone number ID (free Vapi numbers work, US-only).
claude mcp add --transport http call-my-human-no-middle-agent \ "https://dcm31--019ebcae817a74c1af5cf023fe8d1ecb.web.val.run/mcp?vapi_key=YOUR_KEY&phone_number_id=YOUR_PHONE_ID&human_number=%2B15551234567"
human_number= your cell, the default callee. The+must be URL-encoded as%2B.- Any MCP client that takes a URL works (claude.ai custom connectors included).
Authorization: Bearer <vapi_key>is also accepted in place of thevapi_keyparam. - Then tell your agent: "call me if you have questions while you work" โ or just "call me".
- Your Vapi key is read per-request and never stored. It travels TLS-encrypted to this val and on to Vapi, exactly like any BYOK MCP server.
- Call state and transcripts are stored in this val's SQLite, scoped by a
tenant= first 12 hex chars of SHA-256(your key) โ unguessable without the key, and it's how Vapi's webhooks find their way back to your feed (/webhook/<tenant>, verified viax-vapi-secret). - Want full custody of transcripts? Remix this val โ it needs zero configuration.
start_call and get_status return a watch_url (/?t=<tenant>) โ a self-refreshing feed of statuses, transcripts (both sides), injected say lines, and "your-turn" markers.
Same tools as REST, same query params:
BASE="https://dcm31--019ebcae817a74c1af5cf023fe8d1ecb.web.val.run" Q="vapi_key=YOUR_KEY&phone_number_id=YOUR_PHONE_ID&human_number=%2B15551234567" curl -X POST "$BASE/api/call/start?$Q" -d '{"first_message":"Hey, it is your agent."}' curl -X POST "$BASE/api/call/listen?$Q" -d '{"wait_seconds":25}' --max-time 35 curl -X POST "$BASE/api/call/say?$Q" -d '{"text":"Quick question for you..."}' curl -X POST "$BASE/api/call/end?$Q"
main.tsโ routes, per-tenant Vapi webhook, the silent/llm/<tenant>/chat/completionsbrain, landing + live feedtools.tsโ the five tools, shared by MCP and REST; BYOK ctxmcp.tsโ minimal stateless streamable-HTTP MCP plumbing (no SDK)vapi.tsโ Vapi REST + live-call control client (key passed per call)db.tsโ SQLite: tenant-scopedcalls+ append-onlyevents, with a per-call read cursor forlisten
- Calls cap at 10 minutes; 90s of mutual silence ends the call (generous, because agents think between turns).
- Expect a few seconds of lag per exchange โ the agent's reasoning loop, not the phone stack, is the bottleneck.
- The
saycontrol message is sent as{type:"say", content}with a{type:"say", message}fallback (docs and SDK disagree). custom-llmassistants get no default transcriber โ this val sets Deepgram nova-2 explicitly (omitting it = silent call that diessilence-timed-out).- Only call numbers you have consent to call โ automated calls without consent violate TCPA/FCC rules.