Integrations
Provides Windsurf (by Codeium) with access to MiniMax's Text to Speech, voice cloning, and video/image generation APIs
Provides integration with GitHub for accessing the MiniMax MCP server's codebase and repositories
Connects to MiniMax's Hugging Face organization to access related models and resources
Documentation
- 中文文档
- MiniMax-MCP-JS - Official JavaScript implementation of MiniMax MCP
Quickstart with MCP Client
- Get your API key from MiniMax.
- Install
uv
(Python package manager), install withcurl -LsSf https://astral.sh/uv/install.sh | sh
or see theuv
repo for additional install methods. - Important: The API host and key vary by region and must match; otherwise, you'll encounter an
Invalid API key
error.
Region | Global | Mainland |
---|---|---|
MINIMAX_API_KEY | go get from MiniMax Global | go get from MiniMax |
MINIMAX_API_HOST | https://api.minimaxi.chat (note the extra "i") | https://api.minimax.chat |
Claude Desktop
Go to Claude > Settings > Developer > Edit Config > claude_desktop_config.json
to include the following:
⚠️ 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:
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 |
query_video_generation | Query the result of video generation task |
FAQ
1. invalid api key
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.minimaxi.chat (note the extra "i") | https://api.minimax.chat |
2. spawn uvx ENOENT
Please confirm its absolute path by running this command in your terminal:
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").
3. How to use generate_video
in async-mode
Define completion rules before starting: Alternatively, these rules can be configured in your IDE settings (e.g., Cursor):
Example usage
⚠️ Warning: Using these tools may incur costs.
1. broadcast a segment of the evening news
2. clone a voice
3. generate a video
4. generate images
You must be authenticated.
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Enables MCP clients like Claude Desktop and Cursor to interact with MiniMax APIs for generating speech, cloning voices, creating videos, and generating images.
Related MCP Servers
- -securityAlicense-qualityAn MCP server that generates 2D and 3D game assets from text prompts using AI models from Hugging Face Spaces, allowing developers to easily create game art through Claude Desktop or other MCP clients.Last updated -34JavaScriptMIT License
- AsecurityAlicenseAqualityAn MCP server integration that enables Cursor AI to communicate with Figma, allowing users to read designs and modify them programmatically through natural language commands.Last updated -195,1853,528JavaScriptMIT License
- AsecurityAlicenseAqualityAn MCP server implementation that integrates with Minimax API to provide AI-powered image generation and text-to-speech functionality in editors like Windsurf and Cursor.Last updated -21921JavaScriptMIT License
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 License