MiniMax-MCP

MCP.Pizza Chef: MiniMax-AI

MiniMax-MCP is an official Model Context Protocol server that integrates powerful Text-to-Speech, image generation, and video generation APIs. It enables real-time interaction with multimedia generation services, allowing LLMs to produce rich audio-visual content dynamically. This server supports developers building AI workflows that require seamless multimedia content creation and manipulation within the MCP ecosystem.

Use This MCP server To

Generate speech audio from text inputs in real time Create images from textual descriptions for creative projects Produce videos based on AI-generated content Integrate multimedia generation into chatbots or virtual assistants Automate content creation workflows with TTS and media APIs Enhance digital marketing with AI-generated audio and visuals Build interactive educational tools with dynamic media output

README

export

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.

Documentation

Quickstart with MCP Client

  1. Get your API key from MiniMax.
  2. Install uv (Python package manager), install with curl -LsSf https://astral.sh/uv/install.sh | sh or see the uv repo for additional install methods.
  3. 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:

{
  "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.minimaxi.chat|https://api.minimax.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:

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:

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").

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

MiniMax-MCP FAQ

How do I connect MiniMax-MCP to my existing MCP client?
You configure your MCP client to connect to the MiniMax-MCP server endpoint using standard MCP protocols, enabling multimedia API access.
What multimedia capabilities does MiniMax-MCP support?
It supports Text-to-Speech, image generation, and video generation APIs for rich content creation.
Can MiniMax-MCP handle real-time requests?
Yes, it is designed to process real-time multimedia generation requests efficiently.
Is MiniMax-MCP compatible with multiple LLM providers?
Yes, it works with OpenAI, Anthropic Claude, and Google Gemini models through MCP.
How secure is the MiniMax-MCP server?
It follows MCP’s built-in principles for secure, scoped, and observable model interactions to ensure safe usage.
Can I extend MiniMax-MCP with additional media APIs?
Yes, the server architecture allows adding new API integrations to expand multimedia capabilities.
What programming languages are supported for integration?
MiniMax-MCP can be integrated with any language that supports MCP client protocols, typically via HTTP or WebSocket.
Where can I find documentation and support?
Documentation and support are available on the official MiniMax GitHub repository and website at minimax.io.