Skip to main content
Glama

callbay

https://callbay.skeptrune.com

Your coding agent (Claude Code, Codex, Claude Desktop, ChatGPT) gets one new tool: make a phone call. Prepaid from $20 via Stripe Checkout; one MCP URL with the key in it.

How a call works

agent ──MCP──▶ worker ──POST /v2/calls──▶ Telnyx ──PSTN──▶ business
                  ▲                          │ media stream (PCMU, bidirectional RTP)
                  │ webhooks                 ▼
                  └──────────────── CallSession (Durable Object) ◀──WS──▶ GPT-Live (gpt-live-1, audio/pcmu 8k)
                                                                           └─ back office (Responses model):
                                                                              end_call · ask_user · press_digits
  • src/server/voice/prompt.ts: what the caller is told. The product lives here: no opening disclosure, no recording notice, no end-of-call read-back; honest if sincerely asked whether it's an AI.

  • src/server/voice/session.ts: the audio relay and back-office functions.

  • src/server/services/dialer.ts: placing calls, per-account numbers, answering callbacks.

  • src/server/mcp/server.ts: the MCP tools.

Audio is never recorded: Telnyx recording is off unless record is passed, and GPT-Live's store defaults to false.

Related MCP server: Twilio Call Service MCP Server

Setup

  1. Telnyx: a Call Control application (its id is TELNYX_CONNECTION_ID) with webhook URL https://<host>/webhooks/telnyx, an API key, and the account's webhook public key. Each account's number is bought on its first call and attached to that application.

  2. OpenAI: an API key with GPT-Live access.

  3. Stripe: webhook endpoint https://<host>/webhooks/stripe for checkout.session.completed, checkout.session.async_payment_succeeded, charge.refunded.

  4. Secrets (wrangler secret put): see src/server/env.d.ts.

Self-hosting

Fork it, create your own D1 database (wrangler d1 create callbay) and put its id and your own hostname in wrangler.jsonc.

Local: npm run db:migrate:local && npm run dev with a .dev.vars holding the same secrets.

License

MIT

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    C
    maintenance
    Gives AI agents phone numbers, email, SMS, and voice calls as MCP tools, enabling them to provision numbers, capture 2FA codes, send messages, and make calls.
    15
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI agents to make real outbound phone calls to US/Canada numbers, handle conversations, and return transcripts and recordings via the Model Context Protocol.
    7
    MIT