Skip to main content

Minimax MCP Server

Project description

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"
      ],
      "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": "<host url, Global Host https://api.minimaxi.chat, Mainland Host ​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

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

minimax_mcp-0.0.11.tar.gz (19.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

minimax_mcp-0.0.11-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

File details

Details for the file minimax_mcp-0.0.11.tar.gz.

File metadata

  • Download URL: minimax_mcp-0.0.11.tar.gz
  • Upload date:
  • Size: 19.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for minimax_mcp-0.0.11.tar.gz
Algorithm Hash digest
SHA256 110c00db32a92f0e910a2fa8902e099d68459e925e9f53873007578223b41ac1
MD5 e33d3c8c32e5d296c2752993c6506d9a
BLAKE2b-256 df76165b6fbdd9a1d2ef021c3e9053152eec6c4b1cfb5c1ee335c36a65de53a8

See more details on using hashes here.

File details

Details for the file minimax_mcp-0.0.11-py3-none-any.whl.

File metadata

  • Download URL: minimax_mcp-0.0.11-py3-none-any.whl
  • Upload date:
  • Size: 17.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for minimax_mcp-0.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 7b76a3e1c16545119f7090dcbd55fab7362f75e27de5465e022e6b6359a93ebc
MD5 06f21edbb8eb4c4440f6b9e7cbd51409
BLAKE2b-256 af57da42a414a1c1397175709d985d0fc490329ecf91e7d44cd239e1827f9b7c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page