Skip to main content
Glama
MiniMax MCP Server

MiniMax MCP Server

Official
by MiniMax-AI

export

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

Documentation

Related MCP server: MiniMax MCP JS

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 a image from a prompt

query_video_generation

Query the result of video generation task

music_generation

Generate a music track from a prompt and lyrics

voice_design

Generate a voice from a prompt using preview text

Release Notes

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

  • Music Generation: Enhanced music_generation tool powered by music-1.5 model

📈 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

  • music_generation - High-quality music creation with music-1.5 model

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

Available Tools

6 tools
generate_videoA

Generate a video from a prompt.

COST WARNING: This tool makes an API call to Minimax which may incur costs. Only use when explicitly requested by the user.

 Args:
    model (str, optional): The model to use. Values range ["T2V-01", "T2V-01-Director", "I2V-01", "I2V-01-Director", "I2V-01-live"]. "Director" supports inserting instructions for camera movement control. "I2V" for image to video. "T2V" for text to video.
    prompt (str): The prompt to generate the video from. When use Director model, the prompt supports 15 Camera Movement Instructions (Enumerated Values)
        -Truck: [Truck left], [Truck right]
        -Pan: [Pan left], [Pan right]
        -Push: [Push in], [Pull out]
        -Pedestal: [Pedestal up], [Pedestal down]
        -Tilt: [Tilt up], [Tilt down]
        -Zoom: [Zoom in], [Zoom out]
        -Shake: [Shake]
        -Follow: [Tracking shot]
        -Static: [Static shot]
    first_frame_image (str): The first frame image. The model must be "I2V" Series.
    output_directory (str, optional): The directory to save the video to.
Returns:
    Text content with the path to the output video file.

Inputs: model, prompt, output_directory, first_frame_image.

list_voicesA

List all voices available. Only supports when api_host is https://api.minimax.chat

Args:
    voice_type (str, optional): The type of voices to list. Values range ["all", "system", "voice_cloning"], with "all" being the default.
Returns:
    Text content with the list of voices.

Inputs: voice_type.

play_audioB

Play an audio file. Supports WAV and MP3 formats. Not supports video.

 Args:
    input_file_path (str): The path to the audio file to play.
    is_url (bool, optional): Whether the audio file is a URL.
Returns:
    Text content with the path to the audio file.

Inputs: input_file_path (required), is_url.

text_to_audioA

Convert text to audio with a given voice and save the output audio file to a given directory. Directory is optional, if not provided, the output file will be saved to $HOME/Desktop. Voice id is optional, if not provided, the default voice will be used.

COST WARNING: This tool makes an API call to Minimax which may incur costs. Only use when explicitly requested by the user.

Args:
    text (str): The text to convert to speech.
    voice_id (str, optional): The id of the voice to use. For example, "male-qn-qingse"/"audiobook_female_1"/"cute_boy"/"Charming_Lady"...
    model (string, optional): The model to use.
    speed (float, optional): Speed of the generated audio. Controls the speed of the generated speech. Values range from 0.5 to 2.0, with 1.0 being the default speed. 
    vol (float, optional): Volume of the generated audio. Controls the volume of the generated speech. Values range from 0 to 10, with 1 being the default volume.
    pitch (int, optional): Pitch of the generated audio. Controls the speed of the generated speech. Values range from -12 to 12, with 0 being the default speed.
    emotion (str, optional): Emotion of the generated audio. Controls the emotion of the generated speech. Values range ["happy", "sad", "angry", "fearful", "disgusted", "surprised", "neutral"], with "happy" being the default emotion.
    sample_rate (int, optional): Sample rate of the generated audio. Controls the sample rate of the generated speech. Values range [8000,16000,22050,24000,32000,44100] with 32000 being the default sample rate.
    bitrate (int, optional): Bitrate of the generated audio. Controls the bitrate of the generated speech. Values range [32000,64000,128000,256000] with 128000 being the default bitrate.
    channel (int, optional): Channel of the generated audio. Controls the channel of the generated speech. Values range [1, 2] with 1 being the default channel.
    format (str, optional): Format of the generated audio. Controls the format of the generated speech. Values range ["pcm", "mp3","flac"] with "mp3" being the default format.
    language_boost (str, optional): Language boost of the generated audio. Controls the language boost of the generated speech. Values range ['Chinese', 'Chinese,Yue', 'English', 'Arabic', 'Russian', 'Spanish', 'French', 'Portuguese', 'German', 'Turkish', 'Dutch', 'Ukrainian', 'Vietnamese', 'Indonesian', 'Japanese', 'Italian', 'Korean', 'Thai', 'Polish', 'Romanian', 'Greek', 'Czech', 'Finnish', 'Hindi', 'auto'] with "auto" being the default language boost.
Returns:
    Text content with the path to the output file and name of the voice used.

Inputs: text (required), vol, model, pitch, +9 more.

text_to_imageA

Generate a image from a prompt.

COST WARNING: This tool makes an API call to Minimax which may incur costs. Only use when explicitly requested by the user.

 Args:
    model (str, optional): The model to use. Values range ["image-01"], with "image-01" being the default.
    prompt (str): The prompt to generate the image from.
    aspect_ratio (str, optional): The aspect ratio of the image. Values range ["1:1", "16:9","4:3", "3:2", "2:3", "3:4", "9:16", "21:9"], with "1:1" being the default.
    n (int, optional): The number of images to generate. Values range [1, 9], with 1 being the default.
    prompt_optimizer (bool, optional): Whether to optimize the prompt. Values range [True, False], with True being the default.
    output_directory (str, optional): The directory to save the image to.
Returns:
    Text content with the path to the output image file.

Inputs: n, model, prompt, aspect_ratio, +2 more.

voice_cloneB

Clone a voice using provided audio files. The new voice will be charged upon first use.

COST WARNING: This tool makes an API call to Minimax which may incur costs. Only use when explicitly requested by the user.

 Args:
    voice_id (str): The id of the voice to use.
    file (str): The path to the audio file to clone or a URL to the audio file.
    text (str, optional): The text to use for the demo audio.
    is_url (bool, optional): Whether the file is a URL. Defaults to False.
Returns:
    Text content with the voice id of the cloned voice.

Inputs: file (required), text (required), voice_id (required), is_url, +1 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 6 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: video generation, voice listing, audio playback, text-to-audio, text-to-image, and voice cloning. No overlapping functionality.

    Naming Consistency4/5

    Most tools follow verb_noun pattern (generate_video, list_voices, play_audio, voice_clone). Two tools use a conversion-style naming (text_to_audio, text_to_image) which is consistent with each other but slightly deviates from the main pattern.

    Tool Count5/5

    6 tools is well-scoped for a multimedia generation server, covering video, audio, image, and voice features without being overwhelming or too sparse.

    Completeness3/5

    The tool set covers core creation operations (video, audio, image generation, voice cloning) but lacks management tools like listing, updating, or deleting generated content, which are notable gaps.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers