Skip to main content
Glama

MiniMax MCP Server

Official
by MiniMax-AI

export

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.
RegionGlobalMainland
MINIMAX_API_KEYgo get from MiniMax Globalgo get from MiniMax
MINIMAX_API_HOSThttps://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.

stdioSSE
Run locallyCan be deployed locally or in the cloud
Communication through stdoutCommunication through network
Input: Supports processing local files or valid URL resourcesInput: When deployed in the cloud, it is recommended to use URL for input

Available Tools

tooldescription
text_to_audioConvert text to audio with a given voice
list_voicesList all voices available
voice_cloneClone a voice using provided audio files
generate_videoGenerate a video from a prompt
text_to_imageGenerate a image from a prompt
query_video_generationQuery the result of video generation task

FAQ

1. invalid api key

Please ensure your API key and API host are regionally aligned

RegionGlobalMainland
MINIMAX_API_KEYgo get from MiniMax Globalgo get from MiniMax
MINIMAX_API_HOSThttps://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

Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

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.

  1. Quickstart with MCP Client
    1. Claude Desktop
    2. Cursor
  2. Transport
    1. Available Tools
      1. FAQ
        1. invalid api key
        2. spawn uvx ENOENT
        3. How to use generate_video in async-mode
      2. Example usage
        1. broadcast a segment of the evening news
        2. clone a voice
        3. generate a video
        4. generate images

      Related MCP Servers

      • -
        security
        A
        license
        -
        quality
        This tool creates a Model Context Protocol (MCP) server that acts as a proxy for any API that has an OpenAPI v3.1 specification. This allows you to use Claude Desktop to easily interact with both local and remote server APIs.
        Last updated -
        195
        641
        JavaScript
        MIT License
        • Apple
        • Linux
      • A
        security
        A
        license
        A
        quality
        An 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 -
        2
        192
        1
        JavaScript
        MIT License
        • Apple
      • -
        security
        A
        license
        -
        quality
        An MCP server that enables dynamic tool registration and execution based on API definitions, providing seamless integration with services like Claude.ai and Cursor.ai.
        Last updated -
        7
        Python
        MIT License
        • Apple
      • A
        security
        A
        license
        A
        quality
        JavaScript implementation of MiniMax MCP that enables interaction with MiniMax AI services for image generation, video generation, text-to-speech, and voice cloning through MCP-compatible clients.
        Last updated -
        6
        621
        40
        TypeScript
        MIT License

      View all related MCP servers

      MCP directory API

      We provide all the information about MCP servers via our MCP API.

      curl -X GET 'https://glama.ai/api/mcp/v1/servers/MiniMax-AI/MiniMax-MCP'

      If you have feedback or need assistance with the MCP directory API, please join our Discord server