ElevenLabs MCP is the official Model Context Protocol (MCP) server from ElevenLabs, with the goal of letting MCP-capable clients directly call ElevenLabs' text-to-speech and audio processing APIs.
Purpose and current status: The local MCP server in this repository has been replaced by the ElevenLabs hosted MCP server, and the repository is no longer actively maintained. The hosted server is located at https://api.elevenlabs.io/v1/mcp,无需安装或本地运行,使用 OAuth authentication, so there is no need to copy an API Key into the client; you can connect from Claude, Cursor, or other MCP clients. For details, see the hosted MCP server documentation.
Main capabilities: Through MCP clients, you can generate speech, clone voices, transcribe audio, and more. Examples in the materials include: creating an AI agent that can talk like a film noir detective and answer classic movie questions; generating three voice variants for an ancient dragon character; converting a recording into the voice of a medieval knight; generating ambient sound of a jungle thunderstorm and animal reactions; converting speech to text, identifying different speakers, and then converting it back with different voices. Using these tools consumes ElevenLabs credits.
Usage (local version): Get an API Key from ElevenLabs; the free tier provides 10k credits per month. Install uv (Python package manager) with the command curl -LsSf https://astral.sh/uv/install.sh | sh. Claude Desktop users need to add configuration in Claude > Settings > Developer > Edit Config > claude_desktop_config.json; on Windows, Developer Mode must be enabled in Claude Desktop. Other MCP clients (such as Cursor and Windsurf) can run pip install elevenlabs-mcp, then run python -m elevenlabs_mcp --api-key={{PUT_YOUR_API_KEY_HERE}} --print to get the configuration and paste it into the client's specified configuration directory.
Optional configuration: ELEVENLABS_MCP_BASE_PATH specifies the base path for file operations (default ~/Desktop) and is also the security boundary for tools that read local files; passed-in paths must resolve within this directory, and paths outside the directory will be rejected. ELEVENLABS_MCP_OUTPUT_MODE controls how generated files are returned, supporting files (default, save to disk and return the path), resources (return as MCP resources, with binary encoded in base64 and text returned in UTF-8), and both (save and return resources at the same time); resources mode is suitable for containers or clients without file system access, and both mode allows later retrieval of resources using elevenlabs://filename URIs. ELEVENLABS_API_RESIDENCY can specify the data residency region, defaulting to us; this feature is limited to the Enterprise edition.
Running from source: Clone the repository, use uv to create a virtual environment and install dependencies, copy .env.example to .env and fill in the API Key, run the tests, install to Claude Desktop using mcp install elevenlabs_mcp/server.py, or debug with MCP Inspector using mcp dev elevenlabs_mcp/server.py.
Limitations and troubleshooting: Operations such as voice design and audio isolation may take a long time and may time out in development mode, but this usually does not occur when using clients such as Claude. ClaudThe Desktop logs are located at %APPDATA%\Claude\logs\mcp-server-elevenlabs.log on Windows or ~/Library/Logs/Claude/mcp-server-elevenlabs.log on macOS. If "MCP ElevenLabs: spawn uvx ENOENT" occurs, confirm the absolute path of uvx in the terminal and update the command in the configuration.