ElevenLabsMcp-Windows
Provides tools for text-to-speech, voice cloning, audio transcription, and sound generation using the ElevenLabs API.
Allows playing generated audio files using VLC media player in the background on Windows.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ElevenLabsMcp-WindowsSay 'Hello from ElevenLabs!'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MAKE YOUR IDE SPEAK
MAKE CURSOR SPEAK
🪟 Windows Fork - Enhanced for Cursor IDE
This is a Windows-optimized fork of the official ElevenLabs MCP server, specifically designed to work seamlessly on Windows and provide an enhanced experience with Cursor IDE.
🎤 What Makes This Fork Special?
🔧 Windows File Path Fixes: The primary difference between this fork and any other fork is that this fork fixes critical file and directory path issues on Windows. The original MCP server simply did not work on Windows when dealing with files - this fork resolves those issues completely:
✅ Proper Windows path handling for file operations
✅ Correct file saving and loading on Windows systems
✅ Reliable directory management for ElevenLabs audio files
✅ Future-proof file organization for documentation and archiving
✨ Cursor Rules Integration: This fork includes a .cursorrules file that enables Cursor AI to automatically:
Generate speech using ElevenLabs MCP when you ask it to speak
Play audio files using VLC in the background (no visible windows)
Handle all audio operations seamlessly through natural language commands
Properly manage and save all generated files on Windows
Just ask Cursor to "speak" or "say something" and it will automatically:
Generate audio using ElevenLabs text-to-speech
Save the file correctly on Windows (unlike the original MCP)
Play it using VLC in the background
Handle all the technical details for you
Related MCP server: ElevenLabs MCP Server
🚀 Quickstart with Cursor (Windows)
Step 1: Clone and Setup
Clone this repository and set up a virtual environment:
git clone <your-repo-url>
cd ElevenLabsMcp
python -m venv venv
.\venv\Scripts\activate
pip install -e ".[dev]"Step 2: Get Your API Key
Get your API key from ElevenLabs. There is a free tier with 10k credits per month.
Step 3: Configure Cursor MCP
Open Cursor Settings (or edit
%USERPROFILE%\.cursor\mcp.jsondirectly)Add the ElevenLabs MCP server configuration pointing to your local server:
{
"mcpServers": {
"elevenlabs": {
"command": "C:\\path\\to\\ElevenLabsMcp\\venv\\Scripts\\python.exe",
"args": [
"C:\\path\\to\\ElevenLabsMcp\\elevenlabs_mcp\\server.py"
],
"env": {
"ELEVENLABS_API_KEY": "<your-api-key-here>",
"ELEVENLABS_VOICE_ID": "<optional-voice-id>",
"ELEVENLABS_MODEL_ID": "eleven_flash_v2",
"ELEVENLABS_STABILITY": "0.5",
"ELEVENLABS_SIMILARITY_BOOST": "0.75",
"ELEVENLABS_STYLE": "0.1",
"ELEVENLABS_API_RESIDENCY": "global",
"ELEVENLABS_MCP_OUTPUT_MODE": "files",
"ELEVENLABS_MCP_BASE_PATH": "C:\\path\\to\\ElevenLabsMcp\\audio"
}
}
}
}Important:
Replace
C:\\path\\to\\ElevenLabsMcpwith the actual path to your cloned repositoryThe
ELEVENLABS_VOICE_IDis optional - if not provided, the default voice will be usedAdjust
ELEVENLABS_MCP_BASE_PATHto where you want audio files saved (defaults toaudiofolder in the project)All environment variables are optional except
ELEVENLABS_API_KEY
Step 4: Copy the Cursor Rules
The .cursorrules file in this repository contains pre-configured rules that make Cursor automatically use ElevenLabs MCP for speech generation and VLC for playback. Simply copy the .cursorrules file to your project root, or ensure it's in your workspace.
Step 5: Restart Cursor
After configuring the MCP server, restart Cursor to load the new MCP configuration.
That's it! Now you can simply ask Cursor:
"Speak this: Hello, world!"
"Say something about artificial intelligence"
"Read this text aloud: [your text]"
"Say hi to me"
Cursor will automatically generate the audio using ElevenLabs MCP and play it using VLC in the background.
🎯 Quickstart with Claude Desktop (Windows)
Get your API key from ElevenLabs.
Install
uv(Python package manager). For Windows, see theuvrepo for installation methods.Enable Developer Mode in Claude Desktop: Click "Help" in the hamburger menu at the top left and select "Enable Developer Mode".
Go to Claude > Settings > Developer > Edit Config >
claude_desktop_config.jsonto include the following:
{
"mcpServers": {
"ElevenLabs": {
"command": "uvx",
"args": ["elevenlabs-mcp"],
"env": {
"ELEVENLABS_API_KEY": "<insert-your-api-key-here>"
}
}
}
}📋 Alternative: Using Published Package (Other MCP Clients)
If you prefer to use the published package instead of running from source (for other clients like Windsurf):
Install the package:
pip install elevenlabs-mcpRun:
python -m elevenlabs_mcp --api-key={{PUT_YOUR_API_KEY_HERE}} --printto get the configurationPaste it into the appropriate configuration directory specified by your MCP client
Note: For Cursor on Windows, we recommend using the local server setup (see Quickstart above) for better control and customization.
💬 Example Usage
⚠️ Warning: ElevenLabs credits are needed to use these tools.
Try asking your AI assistant:
"Create an AI agent that speaks like a film noir detective and can answer questions about classic movies"
"Generate three voice variations for a wise, ancient dragon character, then I will choose my favorite voice to add to my voice library"
"Convert this recording of my voice to sound like a medieval knight"
"Create a soundscape of a thunderstorm in a dense jungle with animals reacting to the weather"
"Turn this speech into text, identify different speakers, then convert it back using unique voices for each person"
"Speak this text: [your text here]" (Cursor will automatically use ElevenLabs + VLC)
🔧 Optional Features
File Output Configuration
✅ Windows-Compatible File Handling: Unlike the original MCP, this fork properly handles all file operations on Windows. All file paths, directory creation, and file saving work correctly on Windows systems.
You can configure how the MCP server handles file outputs using these environment variables in your configuration:
ELEVENLABS_MCP_BASE_PATH: Specify the base path for file operations with relative paths (default:~/Desktop). Works correctly on Windows with proper path handling.ELEVENLABS_MCP_OUTPUT_MODE: Control how generated files are returned (default:files). All modes work reliably on Windows.
Output Modes
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:
Files are returned directly in the MCP response as base64-encoded data
No disk I/O required - useful for containerized or serverless environments
MCP clients can access file content immediately without file system access
In
bothmode, resources can be fetched later using theelevenlabs://filenameURI pattern
Use Cases:
files: Traditional file-based workflows, local developmentresources: Cloud environments, MCP clients without file system accessboth: Maximum flexibility, caching, and resource sharing scenarios
Data residency keys
You 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.
🛠️ Contributing
If you want to contribute or run from source:
Clone the repository:
git clone https://github.com/elevenlabs/elevenlabs-mcp
cd elevenlabs-mcpCreate a virtual environment and install dependencies:
python -m venv venv
.\venv\Scripts\activate
pip install -e ".[dev]"Copy
.env.exampleto.envand add your ElevenLabs API key:
copy .env.example .env
# Edit .env and add your API keyRun the tests to make sure everything is working:
pytest tests/Install the server in Claude Desktop:
mcp install elevenlabs_mcp/server.pyDebug and test locally with MCP Inspector:
mcp dev elevenlabs_mcp/server.py
🎧 VLC Setup (For Audio Playback)
The .cursorrules file automatically uses VLC for background audio playback. To ensure it works:
Install VLC Media Player from videolan.org
The rules will automatically detect VLC in these locations:
C:\Program Files\VideoLAN\VLC\vlc.exeC:\Program Files (x86)\VideoLAN\VLC\vlc.exeOr if VLC is in your system PATH
If VLC is installed in a different location, the AI will ask you for the path when needed.
🔍 Why This Fork Exists
Windows File Path Issues - SOLVED
The original ElevenLabs MCP server had critical file path handling issues on Windows that made it unusable:
❌ Original MCP: File paths using Unix-style separators (
/) that failed on Windows❌ Original MCP: Directory creation and file saving errors on Windows
❌ Original MCP: Inability to properly manage audio files for documentation
❌ Original MCP: Path resolution issues causing file operations to fail silently
✅ This Fork Fixes All Of That:
✅ Proper Windows path handling with correct separators (
\)✅ Reliable file saving and directory management
✅ Correct path resolution for all Windows file operations
✅ Proper handling of audio files for future documentation and archiving
✅ Full compatibility with Windows file system operations
This is why this fork is essential for Windows users - the original simply doesn't work correctly with files on Windows systems.
🐛 Troubleshooting
Windows-Specific Issues
Logs when running with Claude Desktop:
Windows:
%APPDATA%\Claude\logs\mcp-server-elevenlabs.log
Timeouts when using certain tools
Certain 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 or Cursor.
MCP ElevenLabs: spawn uvx ENOENT
If you encounter the error "MCP ElevenLabs: spawn uvx ENOENT", confirm its absolute path by running this command in PowerShell:
Get-Command uvxOnce you obtain the absolute path (e.g., C:\Users\YourName\AppData\Local\Programs\uv\uvx.exe), update your configuration to use that path (e.g., "command": "C:\\Users\\YourName\\AppData\\Local\\Programs\\uv\\uvx.exe"). This ensures that the correct executable is referenced.
VLC Not Found
If the AI cannot find VLC:
Make sure VLC is installed
If installed in a custom location, provide the path to
vlc.exewhen promptedAlternatively, add VLC to your system PATH for automatic detection
📄 License
See LICENSE file for details.
🙏 Acknowledgments
This is a Windows-optimized fork of the official ElevenLabs MCP Server. Special thanks to the ElevenLabs team for creating this amazing MCP server.
Make your IDE speak. Make Cursor speak. Experience the future of AI-powered development.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/vakandi/ElevenLabsMcp-Windows'
If you have feedback or need assistance with the MCP directory API, please join our Discord server