About Minimax MCP Tools
Minimax MCP Tools is an MCP server that provides image generation and text-to-speech through the Minimax API. It uses an async submit-and-barrier pattern, aimed at batch content production.
Key features
- 01Async image generation task submission
- 02Async speech generation task submission
- 03task_barrier waits for all submitted tasks
- 04Built-in rate limiting for images and speech
Use cases
- 01Producing narrated slideshows with generated images
- 02Creating audiobook chapters with multiple voices
- 03Generating visual and audio assets for web projects
MCP support
This project is an MCP server that exposes submit_image_generation, submit_speech_generation and task_barrier tools to MCP clients.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
Tools
3Saved tool list · updated 3w ago
| Parameter | Type | Required | Description |
|---|---|---|---|
| seed | integer | No | Random seed for reproducible results |
| style | object | No | Art style control settings. Uses image-01-live model which does not support customSize or subjectReference parameters. Cannot be combined with customSize or subjectReference |
| style.style_type | enum | Yes | Art style type. Options: 漫画, 元气, 中世纪, 水彩漫画 | 元气 | 中世纪 | 水彩 |
| style.style_weight | number | No | Style control weight (0-1]. Higher values apply stronger style effects. Default: 0.8 |
| prompt | string | Yes | |
| customSize | object | No | Custom image dimensions (width x height in pixels). Range: 512-2048, must be multiples of 8. Total resolution should stay under 2M pixels. Only supported with image-01 model (cannot be used with style parameter). When both customSize and aspectRatio are set, aspectRatio takes precedence |
| customSize.width | number | Yes | |
| customSize.height | number | Yes | |
| outputFile | string | Yes | Absolute path for generated image |
| aspectRatio | enum | No | Aspect ratio for the image. Options: 1:1, 16:9, 4:3, 3:2, 2:3, 3:4, 9:16, 21:91:1 | 16:9 | 4:3 | 3:2 | 2:3 | 3:4 | 9:16 | 21:9 |
| subjectReference | string | No | File path to a portrait image for maintaining facial characteristics in generated images. Only supported with image-01 model (cannot be used with style parameter). Provide a clear frontal face photo for best results. Supports local file paths and URLs. Max 10MB, formats: jpg, jpeg, png |
Details
From the project READMEMinimax MCP Tools

A Model Context Protocol (MCP) server for Minimax AI integration, providing async image generation and text-to-speech with advanced rate limiting and error handling.
English | 简体中文
MCP Configuration
Add to your MCP settings:
{
"mcpServers": {
"minimax-mcp-tools": {
"command": "npx",
"args": ["minimax-mcp-tools"],
"env": {
"MINIMAX_API_KEY": "your_api_key_here"
}
}
}
}
Async Design - Perfect for Content Production at Scale
This MCP server uses an asynchronous submit-and-barrier pattern designed for batch content creation:
🎬 Narrated Slideshow Production - Generate dozens of slide images and corresponding narration in parallel
📚 AI-Driven Audiobook Creation - Produce chapters with multiple voice characters simultaneously
🖼️ Website Asset Generation - Create consistent visual content and audio elements for web projects
🎯 Multimedia Content Pipelines - Perfect for LLM-driven content workflows requiring both visuals and audio
Architecture Benefits:
- Submit Phase: Tools return immediately with task IDs, tasks execute in background
- Smart Rate Limiting: Adaptive rate limiting (10 RPM images, 20 RPM speech) with burst capacity
- Barrier Synchronization:
task_barrierwaits for all tasks and returns comprehensive results - Batch Optimization: Submit multiple tasks to saturate rate limits, then barrier once for maximum throughput
Tools
submit_image_generation
Submit Image Generation Task - Generate images asynchronously.
Required: prompt, outputFile
Optional: aspectRatio, customSize, seed, subjectReference, style
submit_speech_generation
Submit Speech Generation Task - Convert text to speech asynchronously.
Required: text, outputFile
Optional: highQuality, voiceId, speed, volume, pitch, emotion, format, sampleRate, bitrate, languageBoost, intensity, timbre, sound_effects
task_barrier
Wait for Task Completion - Wait for ALL submitted tasks to complete and retrieve results. Essential for batch processing.
Architecture
sequenceDiagram
participant User
participant MCP as MCP Server
participant TM as Task Manager
participant API as Minimax API
Note over User, API: Async Submit-and-Barrier Pattern
User->>MCP: submit_image_generation(prompt1)
MCP->>TM: submitImageTask()
TM-->>MCP: taskId: img-001
MCP-->>User: "Task img-001 submitted"
par Background Execution (Rate Limited)
TM->>API: POST /image/generate
API-->>TM: image data + save file
end
User->>MCP: submit_speech_generation(text1)
MCP->>TM: submitTTSTask()
TM-->>MCP: taskId: tts-002
MCP-->>User: "Task tts-002 submitted"
par Background Execution (Rate Limited)
TM->>API: POST /speech/generate
API-->>TM: audio data + save file
end
User->>MCP: submit_image_generation(prompt2)
MCP->>TM: submitImageTask()
TM-->>MCP: taskId: img-003
MCP-->>User: "Task img-003 submitted"
par Background Execution (Rate Limited)
TM->>API: POST /image/generate (queued)
API-->>TM: image data + save file
end
User->>MCP: task_barrier()
MCP->>TM: barrier()
TM->>TM: wait for all tasks
TM-->>MCP: results summary
MCP-->>User: ✅ All tasks completed<br/>Files available at specified paths
Note over User, API: Immediate Task Submission + Background Rate-Limited Execution
License
MIT
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.