Official MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech and video/image generation APIs. This server allows MCP clients like Claude Desktop, Cursor, Windsurf, OpenAI Agents and others to generate speech, clone voices, generate video, generate image and more.
- 中文文档
- MiniMax-MCP-JS - Official JavaScript implementation of MiniMax MCP
- Get your API key from MiniMax.
- Install
uv(Python package manager), install withcurl -LsSf https://astral.sh/uv/install.sh | shor see theuvrepo for additional install methods. - Important: The API host and key vary by region and must match; otherwise, you'll encounter an
Invalid API keyerror.
| Region | Global | Mainland |
|---|---|---|
| MINIMAX_API_KEY | go get from MiniMax Global | go get from MiniMax |
| MINIMAX_API_HOST | https://api.minimax.io | https://api.minimaxi.com |
Go to Claude > Settings > Developer > Edit Config > claude_desktop_config.json to include the following:
{
"mcpServers": {
"MiniMax": {
"command": "uvx",
"args": [
"minimax-mcp",
"-y"
],
"env": {
"MINIMAX_API_KEY": "insert-your-api-key-here",
"MINIMAX_MCP_BASE_PATH": "local-output-dir-path, such as /User/xxx/Desktop",
"MINIMAX_API_HOST": "api host, https://api.minimax.io | https://api.minimaxi.com",
"MINIMAX_API_RESOURCE_MODE": "optional, [url|local], url is default, audio/image/video are downloaded locally or provided in URL format"
}
}
}
}
- Global Host:
https://api.minimax.io - Mainland Host:
https://api.minimaxi.com
If you're using Windows, you will have to enable "Developer Mode" in Claude Desktop to use the MCP server. Click "Help" in the hamburger menu in the top left and select "Enable Developer Mode".
Go to Cursor -> Preferences -> Cursor Settings -> MCP -> Add new global MCP Server to add above config.
That's it. Your MCP client can now interact with MiniMax through these tools:
We support two transport types: stdio and sse.
| stdio | SSE |
|---|---|
| Run locally | Can be deployed locally or in the cloud |
Communication through stdout |
Communication through network |
Input: Supports processing local files or valid URL resources |
Input: When deployed in the cloud, it is recommended to use URL for input |
| tool | description |
|---|---|
text_to_audio |
Convert text to audio with a given voice |
list_voices |
List all voices available |
voice_clone |
Clone a voice using provided audio files |
generate_video |
Generate a video from a prompt |
text_to_image |
Generate a image from a prompt |
query_video_generation |
Query the result of video generation task |
music_generation |
Generate a music track from a prompt and lyrics |
voice_design |
Generate a voice from a prompt using preview text |
- Voice Design: New
voice_designtool - create custom voices from descriptive prompts with preview audio - Video Enhancement: Added
MiniMax-Hailuo-02model with ultra-clear quality and duration/resolution controls - Music Generation: Enhanced
music_generationtool powered bymusic-1.5model
voice_design- Generate personalized voices from text descriptionsgenerate_video- Now supports MiniMax-Hailuo-02 with 6s/10s duration and 768P/1080P resolution optionsmusic_generation- High-quality music creation with music-1.5 model
Please ensure your API key and API host are regionally aligned
| Region | Global | Mainland |
|---|---|---|
| MINIMAX_API_KEY | go get from MiniMax Global | go get from MiniMax |
| MINIMAX_API_HOST | https://api.minimax.io | https://api.minimaxi.com |
Please confirm its absolute path by running this command in your terminal:
which uvxOnce 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").
Define completion rules before starting:








