Skip to content
PyAI logo

PyAI MCP server

Runs speech-to-text, text-to-speech and phone voice agents through an OpenAI-compatible API.

read 2026-11-28

← Back to PyAI

How to connect

Add the server to your MCP client config. Claude Desktop, Cursor and most other clients read this shape:

{
  "mcpServers": {
    "pyai": {
      "type": "http",
      "url": "https://api.pyai.com/mcp"
    }
  }
}

Add it

Claude Code, in a terminal

claude mcp add --transport http pyai https://api.pyai.com/mcp

Add to CursorAdd to VS Code

claude.ai, ChatGPT and other clients: add https://api.pyai.com/mcp as a custom connector in the settings.

Tools it offers59 tools · read 2026-11-29
  • openapi_getdescribed by the server

    Fetch live API operation discovery with a SHA-256 digest. Supply path and method for one operation and its referenced schemas, or include_document=true for the entire contract. Pin sha256 to detect contract drift. No API key required.

  • get_starteddescribed by the server

    Return a concise, correct quickstart for building with PyAI (auth, SDK install, TTS/STT/realtime snippets, error handling). No key or network needed, read this before writing PyAI code so you use the right endpoints and the official SDK.

  • whoamidescribed by the server

    Introspect the active key (GET /v1/me): org, environment (test/live), granted scopes, and rate-limit/credit posture. Organization and project names and IDs, billing guidance, and any managed payer/budget appear in text and…

  • list_modelsseen, not called yet

    List the available PyAI models (catalog). No arguments.

  • list_voicesseen, not called yet

    Browse stock and saved designed voices. Filter stock voices by spoken language, accent/locale, gender or product. Prefer a locale for a regional accent. If no matching voice is listed, explain the gap before offering alternatives.

  • synthesize_speechchanges datadescribed by the server

    Generate speech from input. Consumes usage in the connected project; live usage can be billed. Before generation, use whoami to verify project, environment, scopes, credit and limits. Returns inline MCP audio or an expiring resource_link…

  • create_transcription_jobchanges datadescribed by the server

    Submit an async speech-to-text job for an audio URL (https). Returns a job_id; poll with get_transcription_job. Supports diarization.

  • get_transcription_jobdescribed by the server

    Get the status + result of a transcription job by id.

  • configure_amdchanges datadescribed by the server

    Set the PyAI AMD (answering-machine detection) operating point + webhook (POST /v1/amd/config). `aggressiveness` is one dial 0-1: near 0 is human-safe (never hang up on a person), near 1 fires 'machine' fast. The realtime detection itself…

  • list_amd_callsseen, not called yet

    List recent PyAI AMD decisions (GET /v1/amd/calls). Each carries answered_by (human/voicemail/ivr/screening/sit_invalid/…), answered_by_twilio (Twilio's enum, for routing parity), confidence, decision_ms, and the word-level reason.

  • get_amd_calldescribed by the server

    Get one PyAI AMD decision by call id (GET /v1/amd/calls/{id}): who/what answered, with the reason.

  • enable_recapchanges datadescribed by the server

    Enable Recap for the key's org (PUT /v1/recap/config). Sandbox keys already mint with Recap on; call this to set a webhook or pack, or to enable Recap on a signup/live key. Requires recap:configure.

  • create_recapchanges datadescribed by the server

    Submit speaker-labelled utterances and get a recap.call (POST /v1/recap/calls/{call_id}). Requires recap:create and Recap enabled. To poll with get_recap, also request recap:lookup.

  • get_recapdescribed by the server

    Read one Recap by call id (GET /v1/recap/calls/{call_id}). When complete, `record` is recap.record.v1 (tldr, summary, action_items, disposition, next_steps, talk_ratio, signals, fields). Requires recap:lookup and Recap enabled.

  • list_recap_callsseen, not called yet

    List existing Recap records for the organization (GET /v1/recap/calls). Requires recap:lookup and Recap enabled.

  • omni_list_callsdescribed by the server

    List Omni sessions, including inbound calls. Filter by session_label and preserve each returned call_id.

  • omni_get_calldescribed by the server

    Read an Omni session's transcript, recording availability and summary. For outbound calls use artifacts.omni_call_id from calls_get.

  • omni_get_summarydescribed by the server

    Read the structured summary for an Omni call when generated; a missing summary is not an empty result.

  • omni_get_transcriptdescribed by the server

    Read the complete Omni call transcript through the authenticated API.

  • omni_get_recordingdescribed by the server

    Get the canonical authenticated recording resource URL. Requires response=url. This URL is not public playable audio; recording must have been enabled.

  • telephony_search_numbersdescribed by the server

    Search available managed numbers and inspect provisioning requirements before purchase.

  • telephony_list_numbersdescribed by the server

    List owned numbers and current Agent bindings before changing inbound routing.

  • telephony_bind_numberchanges datadescribed by the server

    Bind an owned number to an Agent using body.agent_id; null unassigns. Read existing bindings first. Changes inbound routing.

  • telephony_create_callchanges datadescribed by the server

    Place a real outbound call only to a user-authorized destination. Requires confirm=true and a stable idempotency_key. This is not a sandbox simulation. Preserve the returned ID; never redial after an uncertain timeout.

  • calls_listdescribed by the server

    List outbound calls and normalized network outcomes before retrying a dispatch.

  • calls_getdescribed by the server

    Read the current state of an outbound call by returned ID. dispatch_unknown needs inspection, not another call. Recap and Omni recordings are separate resources.

  • list_agentsseen, not called yet

    List saved voice Agent profiles before creating or changing one.

  • create_agentchanges datadescribed by the server

    Create a reusable voice Agent profile: persona, greeting, voice, language, tools and knowledge. Does not place a call. Use saved tool IDs; configure connection settings privately in the PyAI console. Never supply credentials.

  • get_agentdescribed by the server

    Read a saved voice Agent profile and its current configuration.

  • update_agentchanges datadescribed by the server

    Update a voice Agent profile. Read it first and change only user-requested fields. Use saved tool IDs; configure connection settings privately in the PyAI console. Never supply credentials.

  • set_agent_toolschanges datadescribed by the server

    Replace the tools bound to an Agent. Read the current Agent first; this replaces its bindings. Use saved tool IDs; configure connection settings privately in the PyAI console. Never supply credentials.

  • set_agent_knowledgechanges datadescribed by the server

    Replace the knowledge bases bound to an Agent. Read its existing bindings first.

  • list_published_website_widgetsseen, not called yet

    Look up published managed website voice widgets in the connected project without an agent ID. Read their public embed snippets, exact origins and effective daily session limits. Follow next_cursor while has_more before concluding no…

  • draft_website_widgetchanges datadescribed by the server

    Save an unpublished website voice widget for a saved agent in the connected project. Specify the exact HTTPS origin and both daily session limits. The hosted widget sends visitor microphone audio to PyAI. Its session quotas cannot enforce…

  • preview_website_widgetdescribed by the server

    Read the saved managed website voice widget for this agent. Show its project, exact origins, session limits, status, embed snippet, readiness and revision before asking to publish. Does not publish or start a session.

  • publish_website_widgetchanges datadescribed by the server

    Publish the managed website voice widget only after the user explicitly approves the displayed project, origins, limits and embed for that exact preview revision. Set body.approved=true and pass body.revision. Return the snippet verbatim…

  • get_trace_configdescribed by the server

    Inspect Trace call-compliance configuration.

  • configure_tracechanges datadescribed by the server

    Configure Trace compliance monitoring for the selected workspace.

  • list_trace_rule_packsseen, not called yet

    Discover available Trace compliance rule packs before enabling monitoring.

  • create_trace_rule_packchanges datadescribed by the server

    Create a workspace Trace compliance rule pack. This creates persistent configuration.

  • list_trace_interactionsseen, not called yet

    Find monitored calls and interactions for compliance review.

  • get_trace_interactiondescribed by the server

    Read one monitored interaction and its compliance evidence.

  • list_trace_findingsseen, not called yet

    Find compliance findings with source evidence. Findings are signals for review, not legal conclusions.

  • list_trace_violationsseen, not called yet

    List Trace rule violations for compliance review.

  • get_trace_exposuredescribed by the server

    Read aggregate compliance exposure for the workspace.

  • get_recap_configdescribed by the server

    Read Recap summarization configuration before changing it.

  • get_cast_capabilitiesdescribed by the server

    Discover Cast voices, emotions, formats and supported rendering capabilities.

  • direct_cast_scriptchanges datadescribed by the server

    Turn a narration script into directed Cast lines before rendering. Consumes usage.

  • render_castchanges datadescribed by the server

    Submit script text or directed lines using one top-level voice from get_cast_capabilities for the entire render. Per-line voices and a console project are not required or supported inputs. Returns a job; preserve its ID, poll…

  • list_transcription_jobsseen, not called yet

    Find existing audio processing and transcription jobs before submitting duplicates.

  • discover_toolsdescribed by the server

    Find the right PyAI tools and a short recipe for speech, STT, LiveKit or Pipecat integration, voice agents, compliance, summaries, dubbing or narration. No credentials or usage.

  • get_dub_capabilitiesdescribed by the server

    Read currently supported Dub input and output languages before submitting a translation.

  • create_dubchanges datadescribed by the server

    Fetch audio from the user-authorized HTTPS source URL and start a translation and dubbing job. Accesses an external source and consumes usage. Keep job_id and poll get_dub_job; do not submit again after a timeout.

  • get_dub_jobdescribed by the server

    Retrieve the status and available results of an existing dubbing job by job_id. This read does not start or repeat a job. Poll pending/processing states without resubmitting.

  • get_dub_audiodescribed by the server

    Retrieve completed dubbed audio as a playable result or download. Call only when get_dub_job reports done.

  • get_cast_renderdescribed by the server

    Check a durable Cast render job. Preserve the original job ID.

  • get_cast_audiodescribed by the server

    Retrieve completed Cast narration as playable audio or a download.

  • preview_cast_linechanges datadescribed by the server

    Generate one directed Cast line. Consumes usage. Check get_cast_capabilities for supported voice, emotion and intensity.

  • transcribe_audiochanges datadescribed by the server

    Transcribe a small audio attachment supplied as base64 (up to 8 MiB decoded). Returns the synchronous transcript without diarization controls. For word timestamps and speaker labels, use create_transcription_job with diarize=true for mono…

How we checked it

Should an agent connect it

Not proven either way yet
  • Whether its tools do the product's job has not been judged yet.
  • Checked on 2 of the 7 days it takes to judge reliability.

Once connected

  • create_transcription_job, create_recap, create_agent, update_agent, set_agent_tools change data without a sign-in: anyone with the address can call them.
  • Parameters are untyped or undescribed in 24 of 59 tools: check arguments before calling.

Said by rules from the measurements above. The likely first call is a model's pick from the tool list; read its description before relying on it.

Measured daily

daily checks: 2, the first on 2026-11-28
  • INITE MCP scoreafter a weeka score needs 7 daily checks: 2 so far
  • Answeredmeasuring2 of the 7 daily checks it takes to print a share
  • Median first answer127 ms
  • Space in an agent's context≈ 12,940 tokensthe definitions of all its tools (59), which an agent carries on every turn
  • Tool definitionsA · 93 of 100
  • Typed results1 of 59 toolsdeclared outputSchema: results come typed, read once
  • Parameters without a description: in 24 of 59

Worth a look

  • Tools that change data, on a server that answers without a sign-in: create_transcription_job, create_recap, create_agent, update_agent, set_agent_tools

A program checks the server once a day: initialize and tools/list, no model. Tokens are the definitions' length at about four characters a token. The grade averages six checks of every tool's name, description, schema and annotations; it says how well the tools are described, not whether they work. The score weighs what was measured and nothing else: answering (25%), doing the product's job (25%), definitions (20%), context (10%), use (10%) and how readily a client connects (10%). A part that was not measured is left out, and a hidden instruction caps the score at 40. The state of vendors' MCP servers: method and numbers →

Security2026-11-29

Grade A, 100 of 100, checked 2026-11-29 · 19 of 19 checks judged

Full report →

When we asked itchecked 2026-11-28
  • Stateanswerschecked 2026-11-28
  • Tools59
  • Server calls itselfpyai
  • Server version0.5.30
  • Protocol version2025-06-18

On 2026-11-28 the server answered initialize and tools/list without a sign-in. First answer in 109 ms.

Whose server it is
  • Registry namecom.pyai/mcpverified in the MCP registry

The registry name sits under pyai.com. The registry only lets a publisher use that namespace after proving control of the domain through DNS or HTTP.

OpenAPI spec

182 paths, read 2026-11-28. Open the spec ↗

Each line is something a program found when it went looking: the registry entry, the server's own answer, a spec that parses. A missing line means we did not find it, not that it does not exist.