ElevenLabs
STDIOOfficial ElevenLabs MCP server for text-to-speech, voice cloning, transcription, and AI agent creation.
Official ElevenLabs MCP server for text-to-speech, voice cloning, transcription, and AI agent creation.
Official ElevenLabs Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech and audio processing APIs. This server allows MCP clients like Claude Desktop, Cursor, Windsurf, OpenAI Agents and others to generate speech, clone voices, transcribe audio, and more.
uv (Python package manager), install with curl -LsSf https://astral.sh/uv/install.sh | sh or see the uv repo for additional install methods.{
  "mcpServers": {
    "ElevenLabs": {
      "command": "uvx",
      "args": ["elevenlabs-mcp"],
      "env": {
        "ELEVENLABS_API_KEY": "<insert-your-api-key-here>"
      }
    }
  }
}
If you're using Windows, you will have to enable "Developer Mode" in Claude Desktop to use the MCP server. Click "Help" in the hamburger menu at the top left and select "Enable Developer Mode".
For other clients like Cursor and Windsurf, run:
pip install elevenlabs-mcppython -m elevenlabs_mcp --api-key={{PUT_YOUR_API_KEY_HERE}} --print to get the configuration. Paste it into appropriate configuration directory specified by your MCP client.That's it. Your MCP client can now interact with ElevenLabs through these tools:
⚠️ Warning: ElevenLabs credits are needed to use these tools.
Try asking Claude:
You can configure how the MCP server handles file outputs using these environment variables in your claude_desktop_config.json:
ELEVENLABS_MCP_BASE_PATH: Specify the base path for file operations with relative paths (default: ~/Desktop)ELEVENLABS_MCP_OUTPUT_MODE: Control how generated files are returned (default: files)The ELEVENLABS_MCP_OUTPUT_MODE environment variable supports three modes:
files (default): Save files to disk and return file paths
"env": { "ELEVENLABS_API_KEY": "your-api-key", "ELEVENLABS_MCP_OUTPUT_MODE": "files" }
resources: Return files as MCP resources; binary data is base64-encoded, text is returned as UTF-8 text
"env": { "ELEVENLABS_API_KEY": "your-api-key", "ELEVENLABS_MCP_OUTPUT_MODE": "resources" }
both: Save files to disk AND return as MCP resources
"env": { "ELEVENLABS_API_KEY": "your-api-key", "ELEVENLABS_MCP_OUTPUT_MODE": "both" }
Resource Mode Benefits:
both mode, resources can be fetched later using the elevenlabs://filename URI patternUse Cases:
files: Traditional file-based workflows, local developmentresources: Cloud environments, MCP clients without file system accessboth: Maximum flexibility, caching, and resource sharing scenariosYou can specify the data residency region with the ELEVENLABS_API_RESIDENCY environment variable. Defaults to "us".
Note: Data residency is an enterprise only feature. See the docs for more details.
If you want to contribute or run from source:
git clone https://github.com/elevenlabs/elevenlabs-mcp cd elevenlabs-mcp
uv venv source .venv/bin/activate uv pip install -e ".[dev]"
.env.example to .env and add your ElevenLabs API key:cp .env.example .env # Edit .env and add your API key
./scripts/test.sh # Or with options ./scripts/test.sh --verbose --fail-fast
Install the server in Claude Desktop: mcp install elevenlabs_mcp/server.py
Debug and test locally with MCP Inspector: mcp dev elevenlabs_mcp/server.py
Logs when running with Claude Desktop can be found at:
%APPDATA%\Claude\logs\mcp-server-elevenlabs.log~/Library/Logs/Claude/mcp-server-elevenlabs.logCertain ElevenLabs API operations, like voice design and audio isolation, can take a long time to resolve. When using the MCP inspector in dev mode, you might get timeout errors despite the tool completing its intended task.
This shouldn't occur when using a client like Claude.
If you encounter the error "MCP ElevenLabs: spawn uvx ENOENT", confirm its absolute path by running this command in your terminal:
which uvx
Once you obtain the absolute path (e.g., /usr/local/bin/uvx), update your configuration to use that path (e.g., "command": "/usr/local/bin/uvx"). This ensures that the correct executable is referenced.