Skip to main content
PyAI ships a Model Context Protocol server, @pyai/mcp, that gives AI coding agents first-class PyAI tools: they can mint a free sandbox key and call Speak (TTS), Hear (STT), and the voice catalog directly instead of guessing endpoints.

Add to Cursor, one click

Add to Cursor Click the button, Cursor decodes the install config and prompts you to confirm. That’s the whole setup: no clone, no build, no key required to start (the agent can call create_sandbox_key for a free pyai_test_ key on demand). Prefer to do it by hand? Add this to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global):
To pin a key instead of minting a sandbox one, add "env": { "PYAI_API_KEY": "pyai_live_..." }.

Other agents

What the agent gets

The contract behind these tools is always https://api.pyai.com/openapi.json, the agent never invents endpoints.