MCP server
MCP server
Connect Claude, ChatGPT or another MCP client. It reads on its own and asks before it books.
prepaid.ai speaks the Model Context Protocol, so an AI assistant that supports it can read your workspace and answer questions about it directly.
MCP is included with the Standard and Pro plans. On Lite every tool call is refused with JSON-RPC error
-32003, which names the plan that includes it.POST/api/mcpStreamable HTTP transport, protocol revision 2025-06-18.
Server URL
https://app.prepaid.ai/api/mcpConnecting with OAuth
Use this in clients with a browser, such as Claude and ChatGPT. Add the server URL as a custom connector; the client registers itself, sends you to your console to approve it, and keeps a token of its own. You never paste a credential.
- PKCE with
S256is required.plainis refused. - The access token lasts an hour. The refresh token rotates every time it is used.
- The only scope is
workspace:read.
Connecting with an API key
A client configured from a file sends an API key as a bearer token instead.
Client configuration
{ "mcpServers": { "prepaid-ai": { "url": "https://app.prepaid.ai/api/mcp", "headers": { "Authorization": "Bearer pk_live_your_key_here" } } }}Tools
- get_planno argumentsoptional
- The plan, its status and expiry, and plan minutes left. Same shape as Retrieve plan.
- get_balanceno argumentsoptional
- Spendable credits, in credit-hundredths.
- list_agentsno argumentsoptional
- Every agent, with id, name and status.
- list_numbersno argumentsoptional
- Every number, with its status and the agent answering it.
- list_callslimit: integeroptional
- Recent calls, newest first.
limit1 to 200, default 50. - get_callcall_id: stringrequired
- One call in full, with its transcript and any message taken.
- list_messageslimit: integer, urgent_only: booleanoptional
- Messages your AI took and calls it flagged urgent.
- list_bookingsdays_ahead: integeroptional
- Appointments from now until
days_aheaddays ahead: 1 to 90, default 14. - list_unanswered_questionsinclude_answered: booleanoptional
- Questions your AI could not answer, most-asked first.
- list_contactssearch: string, limit: integeroptional
- Saved contacts, optionally filtered.
- check_availabilityservice: string, limit: integeroptional
- Free appointment times over the next three weeks, from the engine the phone agent books from.
- search_brainquery: stringrequired
- What your Brain says about a question, with where it says it. Source text, never a composed answer.
- book_appointmentstart, customer_name: stringrequired
- Asks to book. Returns an
approval_id; it books only after a person approves it in the console. - get_approvalapproval_id: stringrequired
- Whether a request was approved, denied or expired, and what happened once it ran.
Calling a tool
{ "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "list_calls", "arguments": { "limit": 10 } }}What it cannot do
Every tool reads, except
book_appointment, which never runs on its own. Nothing reachable from an AI session can spend credits, take an agent live or delete anything. You can switch tools off, or set them to ask first, in the console.JSON-RPC batching is not supported. It was removed in the 2025-06-18 revision. Send one request per
POST.