MiniMax MCP
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MiniMax MCP generate an image of a futuristic city at sunset"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.

Documentation
MiniMax-MCP-JS - Official JavaScript implementation of MiniMax MCP
Quickstart with MCP Client
Get your API key from MiniMax.
Install
uv(Python package manager), install withcurl -LsSf https://astral.sh/uv/install.sh | shor see theuvrepo for additional install methods.Important: The API host and key vary by region and must match; otherwise, you'll encounter an
Invalid API keyerror.
Region | Global | Mainland |
MINIMAX_API_KEY | go get from MiniMax Global | go get from MiniMax |
MINIMAX_API_HOST |
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.ioMainland 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 | Communication through |
Input: Supports processing | Input: When deployed in the cloud, it is recommended to use |
Available Tools
tool | description |
| Convert text to audio with a given voice |
| List all voices available |
| Clone a voice using provided audio files |
| Generate a video from a prompt |
| Generate a image from a prompt |
| Query the result of video generation task |
| Generate a music track from a prompt and lyrics |
| Generate a voice from a prompt using preview text |
Release Notes
July 2, 2025
🆕 What's New
Voice Design: New
voice_designtool - create custom voices from descriptive prompts with preview audioVideo Enhancement: Added
MiniMax-Hailuo-02model with ultra-clear quality and duration/resolution controlsMusic Generation: Enhanced
music_generationtool powered bymusic-1.5model
📈 Enhanced Tools
voice_design- Generate personalized voices from text descriptionsgenerate_video- Now supports MiniMax-Hailuo-02 with 6s/10s duration and 768P/1080P resolution optionsmusic_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 |
2. spawn uvx ENOENT
Please confirm its absolute path by running this command in your terminal:
which uvxOnce 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
9 toolsgenerate_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", "MiniMax-Hailuo-02"]. "Director" supports inserting instructions for camera movement control. "I2V" for image to video. "T2V" for text to video. "MiniMax-Hailuo-02" is the latest model with best effect, ultra-clear quality and precise response.
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.
duration (int, optional): The duration of the video. The model must be "MiniMax-Hailuo-02". Values can be 6 and 10.
resolution (str, optional): The resolution of the video. The model must be "MiniMax-Hailuo-02". Values range ["768P", "1080P"]
output_directory (str): The directory to save the video to.
async_mode (bool, optional): Whether to use async mode. Defaults to False. If True, the video generation task will be submitted asynchronously and the response will return a task_id. Should use `query_video_generation` tool to check the status of the task and get the result.
Returns:
Text content with the path to the output video file.
Inputs: model, prompt, first_frame_image, duration, +3 more.
list_voicesB
List all voices available.
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.
music_generationA
Create a music generation task using AI models. Generate music from prompt and lyrics.
COST WARNING: This tool makes an API call to Minimax which may incur costs. Only use when explicitly requested by the user.
Args:
prompt (str): Music creation inspiration describing style, mood, scene, etc.
Example: "Pop music, sad, suitable for rainy nights". Character range: [10, 300]
lyrics (str): Song lyrics for music generation.
Use newline (\n) to separate each line of lyrics. Supports lyric structure tags [Intro][Verse][Chorus][Bridge][Outro]
to enhance musicality. Character range: [10, 600] (each Chinese character, punctuation, and letter counts as 1 character)
stream (bool, optional): Whether to enable streaming mode. Defaults to False
sample_rate (int, optional): Sample rate of generated music. Values: [16000, 24000, 32000, 44100]
bitrate (int, optional): Bitrate of generated music. Values: [32000, 64000, 128000, 256000]
format (str, optional): Format of generated music. Values: ["mp3", "wav", "pcm"]. Defaults to "mp3"
output_directory (str, optional): Directory to save the generated music file
Note: Currently supports generating music up to 1 minute in length.
Returns:
Text content with the path to the generated music file or generation status.
Inputs: prompt (required), lyrics (required), sample_rate, bitrate, +2 more.
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.
query_video_generationB
Query the status of a video generation task.
Args:
task_id (str): The task ID to query. Should be the task_id returned by `generate_video` tool if `async_mode` is True.
output_directory (str): The directory to save the video to.
Returns:
Text content with the status of the task.
Inputs: task_id (required), output_directory.
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.
output_directory (str): The directory to save the audio to.
Returns:
Text content with the path to the output file and name of the voice used.
Inputs: text (required), output_directory, voice_id, model, +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): The directory to save the image to.
Returns:
Text content with the path to the output image file.
Inputs: model, prompt, aspect_ratio, n, +2 more.
voice_cloneA
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.
output_directory (str): The directory to save the demo audio to.
Returns:
Text content with the voice id of the cloned voice.
Inputs: voice_id (required), file (required), text (required), output_directory, +1 more.
voice_designA
Generate a voice based on description prompts.
COST WARNING: This tool makes an API call to Minimax which may incur costs. Only use when explicitly requested by the user.
Args:
prompt (str): The prompt to generate the voice from.
preview_text (str): The text to preview the voice.
voice_id (str, optional): The id of the voice to use. For example, "male-qn-qingse"/"audiobook_female_1"/"cute_boy"/"Charming_Lady"...
output_directory (str, optional): The directory to save the voice to.
Returns:
Text content with the path to the output voice file.
Inputs: prompt (required), preview_text (required), voice_id, output_directory.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Most tools have distinct purposes (video generation, music generation, text-to-audio, text-to-image, voice cloning/design), but there is some overlap between list_voices and voice_clone/voice_design regarding voice management, and play_audio is a generic utility that could be confused with audio output from other tools. The descriptions help clarify, but the boundaries are not perfectly sharp.
All tool names follow a consistent snake_case verb_noun pattern (e.g., generate_video, list_voices, music_generation, query_video_generation). The naming is predictable and readable throughout, with no deviations in style or convention.
With 9 tools, the count is well-scoped for a multimedia generation server covering video, audio, image, and voice functionalities. Each tool serves a clear purpose, and there are no extraneous or missing tools that would make the set feel too heavy or thin for the domain.
The tool set covers core multimedia generation tasks (text-to-video, text-to-audio, text-to-image, music generation, voice cloning/design) with good lifecycle support (e.g., async video generation with query_video_generation). Minor gaps include no direct tools for editing or manipulating generated media, and play_audio is a utility that doesn't fully integrate with the generation workflow, but agents can work around these limitations.
Related MCP Connectors
Use AI models for chat, image, and video generation from Claude Code and other MCP hosts.
AI video, image and audio generation with 140+ AI models from any MCP agent
Generate AI music via the Lacuna Music API from MCP clients like Claude Desktop & Code.
Generate images, video, audio and short films with 140+ AI models from any MCP client.