Skip to main content

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.

💡 Recommended: MiniMax CLI (mmx-cli) — our official command-line tool with the latest models and additional features including text, vision, and search. Works as an AI agent skill for Claude Code, Cursor, OpenClaw, etc.

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.minimax.io https://api.minimaxi.com

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

⚠️ 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.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".

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 an image from a prompt. Defaults to MiniMax-H3-Image (supports area 1K/2K/4K and size); image-01 is still available via model
image_edit Edit an image with MiniMax-H3-Image using a prompt and 1-16 reference images
query_video_generation Query the result of video generation task
voice_design Generate a voice from a prompt using preview text

Release Notes

November 10, 2026

🆕 What's New

  • Image Edit: New image_edit tool — edit images with MiniMax-H3-Image using a prompt and 1-16 reference images (URL, data URI, mm_file://, or local path)
  • H3 Image Generation: text_to_image now defaults to MiniMax-H3-Image and supports area (1K/2K/4K) and size; image-01 remains available via the model parameter

📈 Enhanced Tools

  • text_to_image - Defaults to MiniMax-H3-Image (/v1/images/generations); pass model="image-01" for the previous model

July 2, 2025

🆕 What's New

  • Voice Design: New voice_design tool - create custom voices from descriptive prompts with preview audio
  • Video Enhancement: Added MiniMax-Hailuo-02 model with ultra-clear quality and duration/resolution controls

📈 Enhanced Tools

  • voice_design - Generate personalized voices from text descriptions
  • generate_video - Now supports MiniMax-Hailuo-02 with 6s/10s duration and 768P/1080P resolution options

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.minimax.io https://api.minimaxi.com

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

Metadata

Release files for minimax-mcp 0.0.20

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for minimax-mcp 0.0.20
File Size Uploaded Provenance Actions
minimax_mcp-0.0.20.tar.gz 25.2 kB Without provenance Details for minimax_mcp-0.0.20.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for minimax-mcp 0.0.20
File Interpreter ABI Platform Actions
minimax_mcp-0.0.20-py3-none-any.whl Python 3 none any Details for minimax_mcp-0.0.20-py3-none-any.whl

Total release size: 45.0 kB

Release files / minimax_mcp-0.0.20.tar.gz

Download URL minimax_mcp-0.0.20.tar.gz
Size 25.2 kB
Tags Source
SHA-256 checksum
How to use checksums
cf42a257071b4c77beadba4c2e3b96cc722edc98ae3c8ea53da3544da25e644c
BLAKE2b-256 checksum
How to use checksums
90cb68b54dc0e5c40c92702ceafbe3f7c24200beb77f64490ce90804b297b6e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Release files / minimax_mcp-0.0.20-py3-none-any.whl

Download URL minimax_mcp-0.0.20-py3-none-any.whl
Size 19.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
637a39be924877ad5d51f1da025cce875c3cb35a3853cad1c65a4a6de88f935f
BLAKE2b-256 checksum
How to use checksums
9e08696855910dfbc203571a9d1c51b62862896c4f97f2c9d5ce927451b40715
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14

Security for minimax-mcp 0.0.20

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page