Mobvoi TTS MCP server enables interaction with Mobvoi's Text to Speech and Voice Clone APIs. It allows MCP clients like Cursor, Claude Desktop, Cline, and Windsurf to generate speech, clone voices, and more. The server is built on Python and published as a PyPI package.
pip install uv
or see the UV repository for additional install methodsThe Mobvoi TTS MCP server supports:
"MobvoiTTS": {
"command": "uvx",
"args": [
"mobvoi-tts-mcp"
],
"env": {
"APP_KEY": "<insert-your-APP_KEY-here>",
"APP_SECRET": "<insert-your-APP_SECRET-here>"
},
},
"MobvoiTTS": {
"command": "uvx",
"args": [
"mobvoi-tts-mcp"
],
"env": {
"APP_KEY": "<insert-your-APP_KEY-here>",
"APP_SECRET": "<insert-your-APP_SECRET-here>"
},
},
"MobvoiTTS": {
"command": "uvx",
"args": [
"mobvoi-tts-mcp"
],
"env": {
"APP_KEY": "<insert-your-APP_KEY-here>",
"APP_SECRET": "<insert-your-APP_SECRET-here>"
},
"transportType": "stdio"
},
To test using source code or perform secondary development:
"MobvoiTTSLocal": {
"disabled": false,
"timeout": 60,
"command": "uv",
"args": [
"--directory",
"<path-to-mobvoi_tts-mcp>/mobvoi_tts_mcp",
"run",
"server.py"
],
"env": {
"APP_KEY": "<insert-your-APP_KEY-here>",
"APP_SECRET": "<insert-your-APP_SECRET-here>"
},
"transportType": "stdio"
},
Clone a voice: In Cursor agent mode, enter:
https://tc-nj-backend-pub-cdn.mobvoi.com/subtitles/wav/9e5d439e0e9142966037fb80fe9e0d8e.wav, clone this voice
Synthesize and play speech: After cloning a voice, prompt:
Use the sound cloned just now to broadcast: 'Welcome to experience Mobvoi TTS MCP.'
If you see "MCP Mobvoi TTS: spawn uvx ENOENT":
which uvx
"command": "/usr/local/bin/uvx"
For network issues, especially in mainland China, configure an alternative PyPI source:
"MobvoiTTS": {
...
"args": [
"--index",
"https://pypi.tuna.tsinghua.edu.cn/simple",
"mobvoi-tts-mcp"
],
...
},
Check if your mirror has synchronized the package:
pip index versions --index-url https://pypi.tuna.tsinghua.edu.cn/simple mobvoi-tts-mcp
Update with no cache:
"MobvoiTTS": {
...
"args": [
"--upgrade",
"--no-cache-dir",
"--index",
"https://pypi.tuna.tsinghua.edu.cn/simple",
"mobvoi-tts-mcp"
],
...
},
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "MobvoiTTS" '{"command":"uvx","args":["mobvoi-tts-mcp"],"env":{"APP_KEY":"<insert-your-APP_KEY-here>","APP_SECRET":"<insert-your-APP_SECRET-here>"}}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"MobvoiTTS": {
"command": "uvx",
"args": [
"mobvoi-tts-mcp"
],
"env": {
"APP_KEY": "<insert-your-APP_KEY-here>",
"APP_SECRET": "<insert-your-APP_SECRET-here>"
}
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"MobvoiTTS": {
"command": "uvx",
"args": [
"mobvoi-tts-mcp"
],
"env": {
"APP_KEY": "<insert-your-APP_KEY-here>",
"APP_SECRET": "<insert-your-APP_SECRET-here>"
}
}
}
}
3. Restart Claude Desktop for the changes to take effect