by MiniMax-AI
Official MiniMax Model Context Protocol (MCP) JavaScript implementation that provides seamless integration with MiniMax's powerful AI capabilities including image generation, video generation, text-to-speech, and voice cloning APIs.
# Add to your Claude Code skills
git clone https://github.com/MiniMax-AI/MiniMax-MCP-JS
JavaScript/TypeScript implementation of MiniMax MCP, providing image generation, video generation, text-to-speech, and more.
languageBoost and subtitleEnable in the text_to_audio toolvoice_design tool - create custom voices from descriptive prompts with preview audioMiniMax-Hailuo-02 model with ultra-clear quality and duration/resolution controlsmusic_generation tool powered by music-1.5 modelvoice_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 modelNo comments yet. Be the first to share your thoughts!
To install MiniMax MCP JS for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @MiniMax-AI/MiniMax-MCP-JS --client claude
# Install with pnpm (recommended)
pnpm add minimax-mcp-js
MiniMax MCP JS implements the Model Context Protocol (MCP) specification and can be used as a server to interact with MCP-compatible clients (such as Claude AI).
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 |
Configure your MCP client:
Go to Claude > Settings > Developer > Edit Config > claude_desktop_config.json to include:
{
"mcpServers": {
"minimax-mcp-js": {
"command": "npx",
"args": [
"-y",
"minimax-mcp-js"
],
"env": {
"MINIMAX_API_HOST": "<https://api.minimaxi.chat|https://api.minimax.chat>",
"MINIMAX_API_KEY": "<your-api-key-here>",
"MINIMAX_MCP_BASE_PATH": "<local-output-dir-path, such as /User/xxx/Desktop>",
"MINIMAX_RESOURCE_MODE": "<optional, [url|local], url is default, audio/image/video are downloaded locally or provided in URL format>"
}
}
}
}
Go to Cursor → Preferences → Cursor Settings → MCP → Add new global MCP Server to add the above config.
⚠️ Note: If you encounter a "No tools found" error when using MiniMax MCP JS with Cursor, please update your Cursor to the latest version. For more information, see this discussion thread.
That's it. Your MCP client can now interact with MiniMax through these tools.
For local development:
When developing locally, you can use npm link to test your changes:
# In your project directory
npm link
Then configure Claude Desktop or Cursor to use npx as shown above. This will automatically use your linked version.
⚠️ Note: The API key needs to match the host address. Different hosts are used for global and mainland China versions:
https://api.minimaxi.chat (note the extra "i")https://api.minimaxi.chatMiniMax MCP JS supports three transport modes:
| Feature | stdio (default) | REST | SSE |
|:-----|:-----|:-----|:-----|
| Environment | Local only | Local or cloud deployment | Local or cloud deployment |
| Communication | Via standard I/O | Via HTTP requests | Via server-sent events |
| Use Cases | L