mcpField
M
Minimax MCP Tools

Minimax MCP Tools

Local
github.com/PsychArchMedia & Design50Updated 39w ago

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

  1. 01Async image generation task submission
  2. 02Async speech generation task submission
  3. 03task_barrier waits for all submitted tasks
  4. 04Built-in rate limiting for images and speech

Use cases

  1. 01Producing narrated slideshows with generated images
  2. 02Creating audiobook chapters with multiple voices
  3. 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.

mcp.json · Universal config
{
"mcpServers": {
"minimax-mcp-tools": {
"command": "npx",
"args": [
"-y",
"minimax-mcp-tools"
],
"env": {
"MINIMAX_API_KEY": "<MINIMAX_API_KEY>"
}
}
}
}
Run commandnpx -y minimax-mcp-tools
Environment variables to set
MINIMAX_API_KEYSecret

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmminimax-mcp-tools

Tools

3

Saved tool list · updated 3w ago

ParameterTypeRequiredDescription
seedintegerNoRandom seed for reproducible results
styleobjectNoArt 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_typeenumYesArt style type. Options: 漫画, 元气, 中世纪, 水彩漫画 | 元气 | 中世纪 | 水彩
style.style_weightnumberNoStyle control weight (0-1]. Higher values apply stronger style effects. Default: 0.8
promptstringYes
customSizeobjectNoCustom 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.widthnumberYes
customSize.heightnumberYes
outputFilestringYesAbsolute path for generated image
aspectRatioenumNoAspect 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
subjectReferencestringNoFile 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 README

Minimax MCP Tools

Banner

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:
  1. Submit Phase: Tools return immediately with task IDs, tasks execute in background
  2. Smart Rate Limiting: Adaptive rate limiting (10 RPM images, 20 RPM speech) with burst capacity
  3. Barrier Synchronization: task_barrier waits for all tasks and returns comprehensive results
  4. 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

Markdown supported

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.