MCP

The Cartesia MCP server provides a way for clients such as Cursor and Claude Desktop to interact with Cartesia’s voice platform. This guide will walk you through how to install and use the server.

  1. Ensure you have a Cartesia API key.
  2. Install the mcp python package
1pip install cartesia-mcp
2which cartesia-mcp # absolute path to executable

Client Integration

Add the following to your claude config file which can be found by visiting Claude Settings > Developer > Edit Config. Make sure to restart Claude Desktop.

1{
2 "mcpServers": {
3 "cartesia-mcp": {
4 "command": "<absolute-path-to-executable>",
5 "env": {
6 "CARTESIA_API_KEY": "<insert-your-api-key-here>",
7 "OUTPUT_DIRECTORY": // directory to store generated files (optional)
8 }
9 }
10 }
11}