
Store and retrieve entities, relations and observations in a persistent local knowledge graph.

An MCP server that exposes Cartesia speech APIs, including text-to-speech, speech-to-text, voice management, and pronunciation dictionaries.
Cartesia MCP Server is cataloged as an MCP server attributed to cartesia-ai. An MCP server that exposes Cartesia speech APIs, including text-to-speech, speech-to-text, voice management, and pronunciation dictionaries. It is categorized under ai agents-models. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Cartesia MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
Yes, a hosted option is recommended: clients connect to the hosted endpoint and sign in, and an API key is created if none exists.
The credit usage tool requires an admin API key, which is separate from the standard key used for generation and voice tools.
README.md · d74c4a429080 · Fetched 2026-11-13 13:08:14 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
The Cartesia MCP server exposes Cartesia APIs over the Model Context Protocol (MCP) so clients such as Cursor, Claude Desktop, and OpenAI Agents can list voices, run TTS and STT, manage pronunciation dictionaries, clone voices, and more—without one-off scripts.
Documentation: Cartesia docs — MCP
Hosted (recommended) — connect to https://mcp.cartesia.ai/mcp and sign in when prompted. A Cartesia MCP API key is created for your organization if one does not exist yet. You can also connect from API Keys in the Playground.
Cursor — Install Cartesia MCP, then sign in to the Playground when your browser opens.
Claude Code:
claude mcp add --transport http --scope user cartesia-mcp https://mcp.cartesia.ai/mcp
Run /mcp, select cartesia-mcp, and sign in when prompted.
Or add to .cursor/mcp.json / your client’s MCP config:
{
"mcpServers": {
"cartesia-mcp": {
"url": "https://mcp.cartesia.ai/mcp"
}
}
}
uvx)Run the published package on your machine with an API key. Requires uv (Python 3.13+ is installed by uvx) and a Cartesia API key. Optionally set an admin API key (Keys → Admin) for get_credit_usage. Admin keys and standard keys are separate credentials; each only works on its own route class.
CLI — npx add-mcp "uvx cartesia-mcp" --name cartesia --env 'CARTESIA_API_KEY=${CARTESIA_API_KEY}'
Cursor — Install local Cartesia MCP, then set CARTESIA_API_KEY in Settings → MCP.
Claude Code — claude mcp add -e CARTESIA_API_KEY=<your-api-key> cartesia -- uvx cartesia-mcp
{
"mcpServers": {
"cartesia": {
"command": "uvx",
"args": ["cartesia-mcp"],
"env": {
"CARTESIA_API_KEY": "<your-api-key>"
}
}
}
}
Ask your agent things like:
Keep this table in sync with @mcp.tool registrations in cartesia_mcp/server.py (tests/test_readme_tools.py enforces that). Mirror the same tool names on Cartesia docs — MCP when you ship a change.
| Tool | Description |
|---|---|
text_to_speech | Convert text to audio; optional output_path (local server), speed, volume, emotion, and pronunciation dict. Default save=true returns file_id and a 24h download_url. |
speech_to_text | Transcribe audio from file_id or a server file_path (mode=batch default, or mode=stream) |
list_voices | List available voices (filter by language, search, gender, etc.) |
get_voice | Fetch metadata for a voice by ID |
clone_voice | Clone a voice from file_id or a server file_path |
update_voice | Update a cloned voice's name or description |
delete_voice | Delete a cloned voice |
localize_voice | Adapt a voice to another language or dialect |
list_accents | List catalog accent IDs and metadata (british, standard-japanese, …) |
list_models | List callable Sonic (TTS) and Ink (STT) model ids (`capability=tts |
list_agent_models | List Managed Agents LLM ids from GET /v1/agents/models (full catalog) |
add_voice_accents | Add catalog accents to an instant voice clone (british, parisian, …) |
delete_voice_accent | Remove a catalog accent from an instant voice clone |
list_pronunciation_dicts | List pronunciation dictionaries |
create_pronunciation_dict | Create a pronunciation dictionary |
get_pronunciation_dict | Get a pronunciation dictionary by ID |
update_pronunciation_dict | Update a pronunciation dictionary |
delete_pronunciation_dict | Delete a pronunciation dictionary |
download_file | Fetch a cloud file by ID (download_url + local copy) |
get_credit_usage | Credit usage over time (CARTESIA_ADMIN_API_KEY) |
See cartesia_mcp/server.py for parameters and return types.
Versions and PyPI publishes are driven by Conventional Commits on main via release-please. Use PR titles like feat: … or fix: … (especially when squash merging). See CONTRIBUTING.md.
Run your checkout in an MCP client instead of the published uvx cartesia-mcp package:
git clone https://github.com/cartesia-ai/cartesia-mcp.git
cd cartesia-mcp
uv sync --dev
Set CARTESIA_API_KEY (and optionally CARTESIA_ADMIN_API_KEY). Replace /path/to/cartesia-mcp below with your checkout path.
Cursor — add to .cursor/mcp.json:
{
"mcpServers": {
"cartesia": {
"command": "uv",
"args": ["--directory", "/path/to/cartesia-mcp", "run", "cartesia-mcp"],
"env": {
"CARTESIA_API_KEY": "<your-api-key>"
}
}
}
}
Restart Cursor or reload MCP servers, then confirm cartesia appears under Settings → MCP.
Claude Code:
claude mcp add -e CARTESIA_API_KEY=<your-api-key> cartesia -- uv --directory /path/to/cartesia-mcp run cartesia-mcp
In a Claude Code session, run /mcp, select cartesia, and verify tools load.
Unit tests (no API keys):
uv sync --dev
uv run pytest
Smoke-test all tools (requires CARTESIA_API_KEY):
uv run python scripts/test_all_tools.py
The script creates temporary cloned/localized voices and pronunciation dictionaries, then deletes only those. It does not delete catalog or other existing resources.
On the local server, generated audio is written to the working directory by default. To choose a fixed folder, add OUTPUT_DIRECTORY to env:
"env": {
"CARTESIA_API_KEY": "<your-api-key>",
"OUTPUT_DIRECTORY": "~/cartesia-output"
}
With the local server (uvx / stdio), text_to_speech also accepts output_path to write a specific file (for example an absolute path under your project). Relative paths resolve against the MCP process working directory (often not your project root), so prefer absolute paths. Hosted MCP (mcp.cartesia.ai) rejects output_path — use file_id / download_url there. Hosted text_to_speech with save=true (the default) does not keep a local file_path; temporary copies used for download_file / same-session inputs live under the system temp directory and are deleted after about an hour (OUTPUT_FILE_TTL_SECONDS). Hosted cleanup emits JSON logs (mcp_output_cleanup / mcp_output_disk_warn) and DogStatsD gauges (mcp.output.bytes, mcp.output.files); warn when the dir exceeds OUTPUT_DIRECTORY_WARN_BYTES (default 2GiB).
file_id or file_path)speech_to_text and clone_voice take one of:
file_id — a Cartesia cloud file from text_to_speech (save=true) or download_file. Use this on hosted MCP (mcp.cartesia.ai). The server downloads the bytes. A path on the agent machine will not be found.file_path — an absolute path on the machine running MCP that must exist. Use this with local uvx, or pass a file_path from download_file / save=false TTS in the same hosted session. On hosted MCP, a missing or client-local path returns a clear validation error (prefer file_id instead of /Users/... or similar).download_url is a 24-hour browser link. It is not an input to those tools.
For speech_to_text, use the default batch mode for common containers (mp3, flac, wav, etc.). Use mode="stream" for mono PCM WAV or raw PCM with encoding and sample_rate.
Some tools call management endpoints that accept admin API keys only (sk_car_admin_...). Set CARTESIA_ADMIN_API_KEY in env alongside CARTESIA_API_KEY:
CARTESIA_API_KEY — TTS, STT, voices, pronunciation dictionaries, etc.CARTESIA_ADMIN_API_KEY — optional; required for get_credit_usage today. Admin keys do not work on generation routes, and standard keys do not work on admin routes.Mint admin keys in the Playground under Keys → Admin (org admins only).
Hosted MCP keeps one live session per client on handshake-era protocol versions. After initialize, reuse the mcp-session-id response header on later requests. A POST /mcp without that header starts a new session and replaces the previous one for that client.
Requests with MCP-Protocol-Version: 2026-07-28 do not open a session. They are not counted against the new-session limit below.
A session with no requests for 30 minutes is closed. Call initialize again to open a new one.
New sessions are limited to 5 per minute per access token and 15 per minute per client IP. Over the limit, the server returns HTTP 429:
{
"error": "too_many_requests",
"error_description": "MCP session creation rate limit exceeded"
}
Retry-After is the window in seconds (60 for session creation). Wait and retry with the same session id when you still have one. A 429 is not an expired login — do not mark the connector failed or start a new OAuth flow.
Hosted MCP (mcp.cartesia.ai) accepts Dynamic Client Registration with a restricted redirect-URI policy:
cursor://…, vscode://…http://localhost|127.0.0.1|::1 (any port/path)To temporarily allow another exact HTTPS callback without a code change, set:
MCP_OAUTH_EXTRA_HTTPS_REDIRECTS=partner.example|/mcp/oauth/callback
(comma-separated host|/path pairs). Prefer adding durable hosts in code for known products.
All tools send Cartesia-Version (default 2026-08-14, the latest in Cartesia docs). Override with CARTESIA_VERSION in env if you pin an older integration date.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Cartesia MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/cartesia-mcp)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

Store and retrieve entities, relations and observations in a persistent local knowledge graph.

Organize problem solving into revisable, branching thought steps through an MCP tool.

Query-aware context compression with an MCP plugin for coding agents, plus Python and HTTP interfaces for reducing the context sent to a language model.