Track MCP LogoTrack MCP
Track MCP LogoTrack MCP

The world's largest repository of Model Context Protocol servers. Discover, explore, and submit MCP tools.

Product

  • Categories
  • Top MCP
  • New & Updated
  • Submit MCP

Company

  • About

Legal

  • Privacy Policy
  • Terms of Service
  • Cookie Policy

© 2026 TrackMCP. All rights reserved.

Built with ❤️ by Krishna Goyal

    Cartesia Mcp

    The official Cartesia MCP Server

    8 stars
    Python
    Updated Sep 1, 2025

    Table of Contents

    • Requirements
    • Setup
    • Manual setup
    • Try it
    • Tools
    • Releases
    • Local development
    • Testing
    • Advanced
    • Output directory
    • Local audio files
    • Admin API key
    • Hosted OAuth redirect URIs
    • API version

    Table of Contents

    • Requirements
    • Setup
    • Manual setup
    • Try it
    • Tools
    • Releases
    • Local development
    • Testing
    • Advanced
    • Output directory
    • Local audio files
    • Admin API key
    • Hosted OAuth redirect URIs
    • API version

    Documentation

    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

    Requirements

    • **uv** — runs the server via uvx with no global install
    • Python 3.13+ (installed automatically by uvx)
    • A **Cartesia API key** for TTS, STT, voices, and related APIs
    • Optionally, an **admin API key** (Keys → Admin) for management tools such as get_credit_usage. Admin keys and standard keys are separate credentials; each only works on its own route class.

    Setup

    Get an API key. Full instructions: Cartesia docs — MCP.

    CLI (recommended) — npx add-mcp "uvx cartesia-mcp" --name cartesia-mcp --env 'CARTESIA_API_KEY=${CARTESIA_API_KEY}'

    Cursor — Install Cartesia MCP, then set CARTESIA_API_KEY in Settings → MCP.

    Claude Code — claude mcp add -e CARTESIA_API_KEY= cartesia-mcp -- uvx cartesia-mcp

    Manual setup

    Add to .cursor/mcp.json, .mcp.json (Claude Code), or your client’s MCP config:

    json
    {
      "mcpServers": {
        "cartesia-mcp": {
          "command": "uvx",
          "args": ["cartesia-mcp"],
          "env": {
            "CARTESIA_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
    • Change an audio file to use a different voice

    Tools

    ToolDescription
    text_to_speechConvert text to audio; optional speed, volume, emotion, and pronunciation dict. Default save=true returns file_id and a 24h download_url.
    speech_to_textTranscribe an audio file (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 an audio sample
    update_voiceUpdate a cloned voice's name or description
    delete_voiceDelete a cloned voice
    voice_changeRe-render audio with a different voice
    localize_voiceAdapt a voice to another language or dialect
    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)

    See [cartesia_mcp/server.py](./cartesia_mcp/server.py) for parameters and return types.

    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-mcp": {
          "command": "uv",
          "args": ["--directory", "/path/to/cartesia-mcp", "run", "cartesia-mcp"],
          "env": {
            "CARTESIA_API_KEY": ""
          }
        }
      }
    }

    Restart Cursor or reload MCP servers, then confirm cartesia-mcp appears under Settings → MCP.

    Claude Code:

    bash
    claude mcp add -e CARTESIA_API_KEY= cartesia-mcp -- uv --directory /path/to/cartesia-mcp run cartesia-mcp

    In a Claude Code session, run /mcp, select cartesia-mcp, 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

    By default, generated audio is written to the server's working directory. To choose a fixed folder, add OUTPUT_DIRECTORY to env:

    json
    "env": {
      "CARTESIA_API_KEY": "",
      "OUTPUT_DIRECTORY": "~/cartesia-output"
    }

    Local audio files

    Tools like speech_to_text and voice_change need paths to existing audio files on disk. Pass the full path to each file when prompting your agent. 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, voice changer, 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 OAuth redirect URIs

    Hosted MCP (mcp.cartesia.ai) accepts Dynamic Client Registration with a restricted redirect-URI policy:

    • Custom schemes (desktop apps) — e.g. cursor://…, vscode://…
    • Loopback HTTP — http://localhost|127.0.0.1|::1 (any port/path)
    • Allowlisted HTTPS — first-party callbacks for Claude, ChatGPT, Cursor web/Agents, and VS Code Web

    To temporarily allow another exact HTTPS callback without a code change, set:

    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.

    API version

    All tools send Cartesia-Version (default 2026-03-01, the latest in Cartesia docs). Override with CARTESIA_VERSION in env if you pin an older integration date.

    Similar MCP

    Based on tags & features

    • ES

      Esp Rainmaker Mcp

      Python·
      9
    • PE

      Personalizationmcp

      Python·
      12
    • FA

      Fal Mcp Server

      Python·
      8
    • OP

      Opengenes Mcp

      Python·
      12

    Trending MCP

    Most active this week

    • PL

      Playwright Mcp

      TypeScript·
      22.1k
    • SE

      Serena

      Python·
      14.5k
    • MC

      Mcp Playwright

      TypeScript·
      4.9k
    • MC

      Mcp Server Cloudflare

      TypeScript·
      3.0k
    View All MCP Servers

    Similar MCP

    Based on tags & features

    • ES

      Esp Rainmaker Mcp

      Python·
      9
    • PE

      Personalizationmcp

      Python·
      12
    • FA

      Fal Mcp Server

      Python·
      8
    • OP

      Opengenes Mcp

      Python·
      12

    Trending MCP

    Most active this week

    • PL

      Playwright Mcp

      TypeScript·
      22.1k
    • SE

      Serena

      Python·
      14.5k
    • MC

      Mcp Playwright

      TypeScript·
      4.9k
    • MC

      Mcp Server Cloudflare

      TypeScript·
      3.0k