

Documentation
- δΈζζζ‘£
- MiniMax-MCP-JS - Official JavaScript implementation of MiniMax MCP
Transport
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 |
Available Tools
| 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 |
Quickstart with MCP Client
- 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.
Claude Desktop
Go to Claude > Settings > Developer > Edit Config > claude_desktop_config.json to include the following:
{
"mcpServers": {
"MiniMax": {
"command": "uvx",
"args": [
"minimax-mcp"
],
"env": {
"MINIMAX_API_KEY": "<insert-your-api-key-here>",
"MINIMAX_MCP_BASE_PATH": "<local-output-dir-path>",
"MINIMAX_API_HOST": "https://api.minimaxi.chat",
"MINIMAX_API_RESOURCE_MODE": "<optional, [url|local], url is default, audio/image/video are downloaded locally or provided in URL format>"
}
}
}
}
β οΈ Warning: The API key needs to match the host. If an error "API Error: invalid api key" occurs, please check your api host:
- Global HostοΌ
βhttps://api.minimaxi.chat(note the extra "i") - Mainland HostοΌβ
https://api.minimax.chat
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".
Cursor
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:
Example usage
β οΈ Warning: Using these tools may incur costs.
1. broadcast a segment of the evening news
<img src="https://public-cdn-video-data-algeng.oss-cn-wulanchabu.aliyuncs.com/Snipaste_2025-04-09_20-07-53.png?x-oss-process=image/resize,p_50/format,webp" style="display: inline-block; vertical-align: middle;"/>2. clone a voice
<img src="https://public-cdn-video-data-algeng.oss-cn-wulanchabu.aliyuncs.com/Snipaste_2025-04-09_19-45-13.png?x-oss-process=image/resize,p_50/format,webp" style="display: inline-block; vertical-align: middle;"/>3. generate a video
<img src="https://public-cdn-video-data-algeng.oss-cn-wulanchabu.aliyuncs.com/Snipaste_2025-04-09_19-58-52.png?x-oss-process=image/resize,p_50/format,webp" style="display: inline-block; vertical-align: middle;"/> <img src="https://public-cdn-video-data-algeng.oss-cn-wulanchabu.aliyuncs.com/Snipaste_2025-04-09_19-59-43.png?x-oss-process=image/resize,p_50/format,webp" style="display: inline-block; vertical-align: middle; "/>4. generate images
<img src="https://public-cdn-video-data-algeng.oss-cn-wulanchabu.aliyuncs.com/gen_image.png?x-oss-process=image/resize,p_50/format,webp" style="display: inline-block; vertical-align: middle;"/> <img src="https://public-cdn-video-data-algeng.oss-cn-wulanchabu.aliyuncs.com/gen_image1.png?x-oss-process=image/resize,p_50/format,webp" style="display: inline-block; vertical-align: middle; "/>No common issues documented yet. If you hit a problem, the repository's GitHub Issues page is the best place to look.