The ElevenLabs MCP server is the official Model Context Protocol (MCP) server from ElevenLabs, supporting interaction with powerful text-to-speech and audio processing APIs. This server allows MCP clients such as Claude Desktop, Cursor, Windsurf, and OpenAI Agents to generate speech, clone voices, transcribe audio, and more.
uv
(Python package manager):curl -LsSf https://astral.sh/uv/install.sh | sh
In Claude > Settings > Developer > Edit Config > claude_desktop_config.json, add the following configuration:
{
"mcpServers": {
"ElevenLabs": {
"command": "uvx",
"args": ["elevenlabs-mcp"],
"env": {
"ELEVENLABS_API_KEY": "<insert-your-api-key-here>"
}
}
}
}
Windows Users Note: You need to enable "Developer Mode" in Claude Desktop. Click "Help" in the top-left hamburger menu and select "Enable Developer Mode".
For clients like Cursor and Windsurf:
pip install elevenlabs-mcp
python -m elevenlabs_mcp --api-key={{PUT_YOUR_API_KEY_HERE}} --print
Then paste the output configuration into the corresponding MCP client's configuration directory.
After installation, you can try the following:
Clone the repository:
git clone https://github.com/elevenlabs/elevenlabs-mcp
cd elevenlabs-mcp
Create a virtual environment and install dependencies:
uv venv
source .venv/bin/activate
uv pip install -e ".[dev]"
Configure environment variables:
cp .env.example .env
# Edit the .env file and add your API key
Run tests:
./scripts/test.sh
# Or run with options
./scripts/test.sh --verbose --fail-fast
Install the server in Claude Desktop:
mcp install elevenlabs_mcp/server.py
Use MCP Inspector for local debugging:
mcp dev elevenlabs_mcp/server.py
Log file location for Claude Desktop runtime:
%APPDATA%\Claude\logs\mcp-server-elevenlabs.log
~/Library/Logs/Claude/mcp-server-elevenlabs.log
The ElevenLabs MCP server is an abstraction layer for the ElevenLabs API, providing large language models with contextual access to the full ElevenLabs AI audio platform. It acts as a developer-friendly local interface, forwarding requests to ElevenLabs' cloud API.
Timeout Handling: Some ElevenLabs API operations (such as voice design and audio isolation) may take a long time to complete. Timeout errors may occur in MCP inspector development mode, but the task will still complete. This issue does not occur when using clients like Claude.
Path Configuration: You can specify the base path for the MCP server to find and output relative path files by adding the ELEVENLABS_MCP_BASE_PATH
environment variable.
Error Troubleshooting: If you encounter an "MCP ElevenLabs: spawn uvx ENOENT" error, use the which uvx
command to confirm the absolute path, and then use the full path in the configuration (e.g., "command": "/usr/local/bin/uvx"
).
This project provides AI application developers with:
Through the MCP protocol, developers can easily integrate ElevenLabs' high-quality audio processing capabilities into various AI applications, greatly simplifying the development process for audio-related functions.