# MiniMax MCP

> Official MCP server that gives AI assistants MiniMax speech, voice cloning, image and video generation

- Category: Multimodal Generation / Media Model APIs
- Language: Python
- Licence: MIT
- Repository: https://github.com/MiniMax-AI/MiniMax-MCP
- Website: https://www.minimax.io/platform
- Canonical page: https://ai-tldr.dev/tools/minimax-mcp/

## In short

MiniMax MCP is MiniMax's official Model Context Protocol server. It sits in the Media Model APIs category of the Multimodal Generation tools and is open-source, written in Python and licensed MIT. To get started: get an API key.

## Overview

MiniMax MCP is MiniMax's official Model Context Protocol server. It wraps the MiniMax platform's media-generation APIs as MCP tools, so an MCP client such as Claude Desktop, Cursor, Windsurf or the OpenAI Agents SDK can turn a plain chat request into speech, a cloned or designed voice, an image or a video, and save the result locally or return it as a URL.

The server exposes a small, fixed toolset: `text_to_audio` and `list_voices` for speech, `voice_clone` and `voice_design` for custom voices, `text_to_image`, `generate_video` with `query_video_generation` for asynchronous video jobs, and `play_audio` to play back what was generated. Video generation covers MiniMax's T2V and I2V model families, the Director variants that accept camera-movement instructions, and MiniMax-Hailuo-02 with 6s/10s duration and 768P/1080P resolution options.

It is a Python package (`minimax-mcp`, MIT-licensed) launched with `uvx`, configured entirely through environment variables: the API key, the API host, an output directory and whether media comes back as local files or URLs. The key and host must come from the same region — the global platform at `api.minimax.io` or the mainland platform at `api.minimaxi.com` — or requests fail with an invalid-key error. It supports stdio for local use and SSE for local or cloud deployment. MiniMax also publishes a JavaScript implementation (MiniMax-MCP-JS), and its README points to the separate MiniMax CLI (mmx-cli) as the recommended route for newer models. Every generation call is billed to the MiniMax account.

## What it does

- Text-to-speech with a selectable voice, plus a tool that lists every available voice
- Voice cloning from audio files and voice design from a descriptive prompt with preview text
- Text-to-image generation from a prompt, with aspect ratio and image count parameters
- Text-to-video and image-to-video, including Director models with camera-movement instructions and MiniMax-Hailuo-02 duration and resolution controls
- Asynchronous video mode that returns a task id to poll with `query_video_generation`
- stdio and SSE transports, with output returned as URLs or downloaded to a local directory

## Getting started

You need a MiniMax API key and the `uv` Python package manager. The key and API host must belong to the same region: `https://api.minimax.io` for the global platform, `https://api.minimaxi.com` for mainland China.

1. Get an API key

   Create a key in the MiniMax platform's user center (global or mainland, matching the host you will configure).

2. Install uv

   The server is launched with `uvx`, which ships with uv.

```bash
curl -LsSf https://astral.sh/uv/install.sh | sh
```

3. Add the server to your MCP client

   In Claude Desktop open Settings > Developer > Edit Config and add the block below to `claude_desktop_config.json`. In Cursor, add the same config under Cursor Settings > MCP > Add new global MCP Server. `MINIMAX_API_RESOURCE_MODE` is optional: `url` (default) returns links, `local` downloads files to the base path.

```json
{
  "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"
      }
    }
  }
}
```

4. Fix a spawn uvx ENOENT error

   If the client cannot find `uvx`, look up its absolute path and use that as the `command` value (for example `/usr/local/bin/uvx`). On Windows, Claude Desktop also needs Developer Mode enabled from the Help menu.

```bash
which uvx
```

5. Ask for media in chat

   Prompt the assistant in natural language — "broadcast a segment of the evening news", "clone a voice", "generate a surfing video". For long video jobs, tell the assistant up front to use async mode and keep polling until the task succeeds or fails; the rule can also live in your IDE settings.

## When to use it

- Let Claude or Cursor narrate a script, pick a voice and play the result back without leaving the chat
- Clone a voice from a sample recording, or design a new one from a description, for podcasts or product demos
- Generate illustrations and short video clips from inside an agent workflow, saved straight to a project folder
- Host the server over SSE so a team's agents share one MiniMax media backend
