Skip to main content

The official Cartesia MCP server

Project description

Cartesia MCP Server

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, clone voices, infill audio, and more—without one-off scripts.

Documentation: Cartesia docs — MCP (overview and links back to this README).

Requirements

Installation

pip

pip install cartesia-mcp
which cartesia-mcp   # copy absolute path for MCP config below

uv (recommended for ephemeral runs)

If you use uv, you can run the published package without a global install:

uvx cartesia-mcp

Use which uvx or command -v uvx if your MCP client needs an absolute path to uvx. Some clients invoke MCP via command + args (see Cursor).

Environment

Variable Required Description
CARTESIA_API_KEY Yes Your Cartesia API key
OUTPUT_DIRECTORY No Directory for generated audio files (defaults to .)

Claude Desktop integration

Edit Settings → Developer → Edit Config (claude_desktop_config.json).

Use either the installed executable (from pip install) or uvx:

Installed cartesia-mcp

{
  "mcpServers": {
    "cartesia-mcp": {
      "command": "/absolute/path/to/cartesia-mcp",
      "env": {
        "CARTESIA_API_KEY": "<your-api-key>",
        "OUTPUT_DIRECTORY": "/absolute/path/to/output"
      }
    }
  }
}

Omit OUTPUT_DIRECTORY to write files to the process working directory.

uvx

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

Try asking Claude to…

  • List all available Cartesia voices
  • Convert text to audio with a chosen voice
  • Localize an existing voice into another language
  • Infill audio between two segments (provide absolute paths to audio files)
  • Change an audio file to use a different voice

Cursor integration

Create .cursor/mcp.json in your project or ~/.cursor/mcp.json globally. You can use the same shapes as Claude Desktop (command pointing at the installed binary, or uvx + args).

Tools

The server registers MCP tools for TTS (text_to_speech), voice listing and management (list_voices, get_voice, clone_voice, etc.), infill, voice change, and localize voice. See cartesia_mcp/server.py for the authoritative list and parameters.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cartesia_mcp-0.1.7.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cartesia_mcp-0.1.7-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file cartesia_mcp-0.1.7.tar.gz.

File metadata

  • Download URL: cartesia_mcp-0.1.7.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for cartesia_mcp-0.1.7.tar.gz
Algorithm Hash digest
SHA256 e7388d1e49016e83c8ebd7c30a5edef3b75c5621dfc798d8679e489d42d87b96
MD5 4af5f3bc9dcdeb54257e37b585a379fd
BLAKE2b-256 8e4011f24c9fc40a59f5c1471cae32fe36ac9f812ad35441b9698ee3068db063

See more details on using hashes here.

File details

Details for the file cartesia_mcp-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: cartesia_mcp-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for cartesia_mcp-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 00c26870e7eb1de92b96ce4255d724b9e8dcedc78e318adf0881e610c799f964
MD5 490a6bd17ccf9f5f7c4a42de58dbd050
BLAKE2b-256 0fa16e02e76815e74c2b3f33d6a40a33d28f82945aff69b298bfc0bbad733034

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page