Listed from the MCP registry; nobody on Odel publishes it.

Is this yours? Claim it
MCP server: One MCP server.

Cartesia

@cartesia-aiMCP server · External

Cartesia voice AI: text-to-speech, speech-to-text, voice cloning, and voice management.

Freeno charge per call

One address for any MCP client. You sign in at mcp.cartesia.ai once, after adding it.

What it does

  1. Reads
  2. Writes
  3. High impact

At most: moves money, runs code or commands, deletes data, or sends messages for you.

What it costs

Free

Odel charges nothing per call. The publisher may charge for its own service.

What it asks for at sign-in

Access toReadChange
McpNot stated: mcp

From the sign-in at mcp.cartesia.ai, as the endpoint publishes it. You approve it there.

Tools

None listed · checked 15 Nov 2026

Odel could not list its tools without signing in.

Try it in the Inspector
README13 min read

Cartesia MCP Server

PyPI version

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

Setup

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:

bash
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:

json
{
  "mcpServers": {
    "cartesia-mcp": {
      "url": "https://mcp.cartesia.ai/mcp"
    }
  }
}

Local (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 and get_agent_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

json
{
  "mcpServers": {
    "cartesia": {
      "command": "uvx",
      "args": ["cartesia-mcp"],
      "env": {
        "CARTESIA_API_KEY": "<your-api-key>"
      }
    }
  }
}

Try it

Ask your agent things like:

  • List all available Cartesia voices
  • Convert text to audio with a chosen voice (speed, volume, emotion)
  • Transcribe an audio file to text
  • Create a pronunciation dictionary and use it in TTS
  • Check credit usage for your account
  • Localize an existing voice into another language
  • List catalog accent IDs, then add British English to a cloned voice
  • Create a voice agent that takes pizza orders, then give me a link to try it
  • Why did my agent's last call end early?
  • Add our returns policy to my support agent's knowledge base
  • Score my agent's calls on whether it confirmed the appointment, then show last week's results
  • Show Managed Agents usage by day for the last month

Tools

Keep this table in sync with @mcp.tool registrations in cartesia_mcp/server.py and cartesia_mcp/agents.py (tests/test_readme_tools.py enforces that). Mirror the same tool names on Cartesia docs — MCP when you ship a change.

ToolDescription
text_to_speechConvert 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_textTranscribe audio from file_id or a server file_path (mode=batch default, or mode=stream)
list_voicesList available voices (filter by language, search, gender, etc.)
get_voiceFetch metadata for a voice by ID
clone_voiceClone a voice from file_id or a server file_path
update_voiceUpdate a cloned voice's name or description
delete_voiceDelete a cloned voice
localize_voiceAdapt a voice to another language or dialect
list_accentsList catalog accent IDs and metadata (british, standard-japanese, …)
list_modelsList Sonic and Ink ids for TTS and STT. Not a Managed Agent model.id
list_agentsList Managed Agents (search by name)
get_agentGet an agent's current config and a Playground link to try it
create_agentCreate a Managed Agent from instructions, model, voice, and system tools; returns a Playground link
update_agentChange an agent's name, description, or config (config changes publish a new version)
delete_agentPermanently delete a Managed Agent
list_agent_toolsList webhook and client tools an agent can call
get_agent_toolGet a tool's request schema (credentials are never returned)
create_agent_toolCreate a webhook or client tool, then attach_agent_tool
attach_agent_toolAdd one tool to an agent and keep the tools already attached
detach_agent_toolRemove one tool from an agent and keep the others
update_agent_toolChange a tool. Schema fields replace the stored value
delete_agent_toolDelete a tool that no agent uses
list_agent_modelsList Managed Agents LLM ids. Not Sonic or Ink ids from list_models
list_agent_callsList a Managed Agent's calls with status, end reason, error, and config version
get_agent_callDebug one call: outcome, variables, and turns with timing and tool calls (detail=full for raw JSON)
get_agent_call_logsRuntime log lines for one call (read only; check first when a call fails)
list_agent_versionsList a Managed Agent's config versions
get_agent_versionGet the config a version (or a call's agent_version_id) ran with
list_phone_numbersList phone numbers and the agent each routes inbound calls to (read only)
get_phone_numberGet one phone number, its assigned agent, and provider (read only)
create_agent_callsPlace real outbound calls with an agent (asks the user to confirm numbers first)
cancel_agent_callCancel an outbound call that has not connected
delete_agent_callPermanently delete a call record
list_call_batchesList outbound call batches
get_call_batchGet a batch's status, progress, and per-recipient results
create_call_batchStart a batch that dials many recipients, now or scheduled (confirm first)
cancel_call_batchStop dialing a batch
retry_call_batchDial a batch's failed recipients again (confirm first)
get_phone_provisioning_usageThis month's phone number provisioning usage and remaining quota (read only)
provision_phone_numberBuy a Cartesia-managed phone number, unassigned until the user confirms it
import_phone_numberLink a number you own through a provider linked in the Playground
update_phone_numberChange a number's label, inbound agent, or provider
delete_phone_numberRemove a phone number
list_phone_providersList linked Twilio and SIP trunk providers (secrets never returned)
get_phone_providerGet one provider
update_phone_providerChange a SIP trunk provider's label or routing (credentials are changed in the Playground)
delete_phone_providerUnlink a provider
list_knowledge_foldersList knowledge base folders, their documents, and the agents that can search them
get_knowledge_folderGet one folder
create_knowledge_folderCreate a folder
update_knowledge_folderRename or move a folder
delete_knowledge_folderDelete a folder (force also deletes its contents)
list_knowledge_documentsList documents with status and size, without their text
get_knowledge_documentGet one document's text and processing status
create_knowledge_documentsUpload up to 100 documents from text, a file_id, or a local file_path
attach_knowledge_folderLet an agent search one more folder and keep the folders already attached
detach_knowledge_folderStop an agent searching one folder, without deleting it
attach_knowledge_documentLet an agent search one more document and keep the documents already attached
detach_knowledge_documentStop an agent searching one document, without deleting it
update_knowledge_documentChange a document's text, name, metadata, or folder
delete_knowledge_documentDelete a document
retry_knowledge_documentReprocess a failed document
list_event_webhooksList call event webhooks
get_event_webhookGet one event webhook (secret never returned)
create_event_webhookCreate an event webhook, then set config.event_webhook_id
update_event_webhookChange a webhook's URL, name, or secret
delete_event_webhookDelete an event webhook
list_agent_metricsList evaluation metrics
get_agent_metricGet one metric and its scoring prompt
create_agent_metricCreate a metric that scores finished calls
delete_agent_metricDelete a metric
attach_agent_metricScore an agent's calls with a metric
detach_agent_metricStop scoring an agent's calls with a metric
list_agent_metric_resultsList evaluation scores, filtered by agent, call, metric, or date
export_agent_metric_resultsExport evaluation scores as CSV text
add_voice_accentsAdd catalog accents to an instant voice clone (british, parisian, …)
delete_voice_accentRemove a catalog accent from an instant voice clone
list_pronunciation_dictsList pronunciation dictionaries
create_pronunciation_dictCreate a pronunciation dictionary
get_pronunciation_dictGet a pronunciation dictionary by ID
update_pronunciation_dictUpdate a pronunciation dictionary
delete_pronunciation_dictDelete a pronunciation dictionary
download_fileFetch a cloud file by ID (download_url + local copy)
get_credit_usageCredit usage over time (CARTESIA_ADMIN_API_KEY)
get_agent_usageManaged Agents cents, minutes, and calls over time (CARTESIA_ADMIN_API_KEY)

See cartesia_mcp/server.py for parameters and return types.

Prompts

PromptDescription
generate_and_transcribeSynthesize text with a voice, then transcribe it back to verify
clone_and_localizeClone a voice from a file_id, then localize it to another language

Releases

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.

Local development

Run your checkout in an MCP client instead of the published uvx cartesia-mcp package:

sh
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:

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:

bash
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.

Testing

Unit tests (no API keys):

sh
uv sync --dev
uv run pytest

Smoke-test all tools (requires CARTESIA_API_KEY):

sh
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.

Advanced

Output directory

On the local server, generated audio is written to the working directory by default. To choose a fixed folder, add OUTPUT_DIRECTORY to env:

json
"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).

Audio inputs (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, only files the server wrote for the same API key are accepted; any other path (missing, client-local like /Users/..., written for another account, or elsewhere on the server) returns a validation error telling you to use file_id.

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.

Admin API key

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 and get_agent_usage. 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 sessions and rate limits

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:

json
{
  "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 OAuth redirect URIs

Hosted MCP (mcp.cartesia.ai) accepts Dynamic Client Registration with a restricted redirect-URI policy (open DCR; the redirect URI is the security boundary). Authorization uses PKCE (S256).

Allowed redirects:

  • Custom schemes for desktop apps (e.g. cursor://…) — dangerous browser schemes such as javascript: / data: are rejected
  • Loopback HTTP — http://localhost|127.0.0.1|::1 (any port/path; not *.localhost)
  • Allowlisted HTTPS — first-party callbacks for known MCP hosts (exact host + path, or a documented path prefix). The living list is in code (_HTTPS_REDIRECT_EXACT / _HTTPS_REDIRECT_PREFIXES in cartesia_mcp/oauth_provider.py).

Rejected redirect_uri values return an actionable OAuth error. Self-hosted operators can add exact HTTPS callbacks without a code change:

text
MCP_OAUTH_EXTRA_HTTPS_REDIRECTS=partner.example|/mcp/oauth/callback

(comma-separated host|/path pairs). Prefer adding durable hosts in code for known products.

Unlisted / custom clients: use a Cartesia API key with Authorization: Bearer <CARTESIA_API_KEY> (local uvx / stdio or HTTP clients that support bearer auth). To request an official HTTPS callback allowlist entry, open a GitHub issue.

API version

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.

Similar modules

Browse Text to speech & voice