Integrations
Prerequisite
- python 3.10+;
- Get your APP_KEY and APP_SECRET from Mobvoi Sequence Monkey open platform. New users can claim a free quota.
- Install
uv
(Python package manager), install withpip install uv
or see theuv
repo for additional install methods.
What can Mobvoi TTS MCP do?
Mobvoi TTS MCP currently supports the following functions:
- Voice Clone: Clone the voice according to the URL audio file link or the local audio file provided by you, and return the speaker ID. You can use this speaker ID to generate speech.
- Speech Synthesis: You can specify the speaker ID to generate speech from the specified text content. In addition, you can also adjust speech attributes such as speech speed and volume. For detailed information, please refer to the documentation of our Mobvoi Sequence Monkey open platform TTS part.
- Voice broadcasting: Play the specified audio file.
Quickstart with Cursor
Go to Cursor -> Cursor Settings -> MCP, click Add new global MCP server
, and mcp.json will open, paste the following config content:
Quickstart with Claude Desktop
Go to Claude Desktop -> Settings -> Developer, click Edit Config
and open claude_desktop_config.json
, paste the following config content:
Quickstart with Cline
Install Cline extension on VSCode EXTENSIONS, and go to Cline -> MCP Servers -> Installed, click Config MCP Servers
and cline_mcp_settings.json
will be opened, paste the following config content:
For MacOS and Linux systems, you can refer to the above for configuration. We haven't tested the Windows system yet.
Source Code Test
If you want to conduct tests based on the source code or perform secondary development based on this repository, you can configure it in the following way:
Take Cline as an example, and the configuration of other clients is similar.
Example usage
- Try cloning a voice from your audio file(local or remote), enter the following content in the Cursor agent mode: "https://tc-nj-backend-pub-cdn.mobvoi.com/subtitles/wav/9e5d439e0e9142966037fb80fe9e0d8e.wav, clone this voice"
- Specify the speaker, synthesize speech from the text and play it aloud. Prompt the model like the following: "Use the sound cloned just now to broadcast: 'Welcome to experience Mobvoi TTS MCP."
- A demonstration video:
Troubleshooting
spawn uvx ENOENT
If you encounter the error "MCP Mobvoi TTS: 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.
MCP error -32001: Request timed out
If you encounter this error, this indicates that there is a problem with your network. If you are in mainland China, we strongly recommend that you configure extra pypi sources in the following way:
Note that the extra pypi source needs to be configured at the very front of the args.
Unable to synchronize the latest PyPI package
If you encounter this situation, it may be caused by the following reasons: 1) Network problems; 2) Cache problems; 3) The specified mirror source has not synchronized the mobvoi-tts-mcp package.
If you are using a mirror source, you should first check whether the mobvoi-tts-mcp package is synchronized on the mirror source you are using, in the following way:
pip index versions --index-url https://pypi.tuna.tsinghua.edu.cn/simple mobvoi-tts-mcp
If you can see that the LATEST version number is consistent with that on PyPI, you can use the mirror source to update the latest mobvoi-tts-mcp package. Otherwise, you can only use https://pypi.org/simple for the update. Usually, after a new package is released on PyPI, there will be a delay of dozens of minutes for the mirror source to synchronize.
At the same time, you can refer to the following configuration to update and clear the cache.
You must be authenticated.
Model Context Protocol server that enables interaction with Mobvoi's Text to Speech and Voice Clone APIs, allowing MCP clients like Cursor, Claude Desktop, and Cline to generate speech and clone voices.
- What can Mobvoi TTS MCP do?
- Quickstart with Cursor
- Quickstart with Claude Desktop
- Quickstart with Cline
- Source Code Test
- Example usage
- Troubleshooting
Related Resources
Related MCP Servers
- -securityAlicense-qualityA Model Context Protocol server that integrates high-quality text-to-speech capabilities with Claude Desktop and other MCP-compatible clients, supporting multiple voice options and audio formats.Last updated -TypeScriptMIT License
- AsecurityAlicenseAqualityA Model Context Protocol server that enables AI models to generate and play high-quality text-to-speech audio through your device's native audio system using Rime's voice synthesis API.Last updated -11764JavaScriptThe Unlicense
ElevenLabs MCP Serverofficial
AsecurityAlicenseAqualityAn official Model Context Protocol (MCP) server that enables AI clients to interact with ElevenLabs' Text to Speech and audio processing APIs, allowing for speech generation, voice cloning, audio transcription, and other audio-related tasks.Last updated -19633PythonMIT LicenseGladia MCPofficial
-security-license-qualityOfficial Model Context Protocol server that enables interaction with powerful Speech-to-Text and Audio Intelligence APIs, allowing clients like Claude Desktop to transcribe audio, analyze speech, translate content, and more.Last updated -PythonMIT License