Data as of

MiniMax MCP for Claude Code: Setup & Config

Claude Code: MiniMax MCP exposes MiniMax media APIs to compatible AI clients for speech, voice work, images, video, and music.

What you can do with MiniMax in Claude Code

Access MiniMax speech, voice, image, video, and music workflows from one MCP-enabled assistant.

  • Create images or videos from descriptive prompts.
  • Check video-generation progress from an assistant.
  • Generate music from a prompt and lyrics.

Before you start: MiniMax in Claude Code

  • uv with uvx available
  • A MiniMax API key matching the selected regional host
  • An MCP-compatible client

The command follows the README's Claude Desktop configuration. Windows Claude Desktop may require Developer Mode. SSE is supported, but a ready-to-use SSE endpoint is not stated in the README.

MiniMax Claude Code configuration

  1. Choose Claude Code configuration scope

    For MiniMax MCP, open Project scope: .mcp.json at the repository root. Project JSON: merge into mcpServers; user scope: use the CLI.

  2. Add MiniMax MCP to Claude Code

    Use the MiniMax-MCP entry below in mcpServers. Keep MiniMax MCP's documented stdio connection fields and your other Claude Code entries.

  3. Check MiniMax MCP in Claude Code

    MiniMax MCP: Inspect claude mcp list and /mcp status.

Config file · Project scope: .mcp.json at the repository root

JSON
{
  "mcpServers": {
    "MiniMax-MCP": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "minimax-mcp",
        "-y"
      ],
      "env": {
        "MINIMAX_API_KEY": "<your region-specific MiniMax API key>",
        "MINIMAX_MCP_BASE_PATH": "<local directory for generated output>",
        "MINIMAX_API_HOST": "<matching regional host: https://api.minimax.io or https://api.minimaxi.com>",
        "MINIMAX_API_RESOURCE_MODE": "<url or local; url is the default>"
      }
    }
  }
}

CLI (POSIX shell)
claude mcp add-json --scope project 'MiniMax-MCP' '{"type":"stdio","command":"uvx","args":["minimax-mcp","-y"],"env":{"MINIMAX_API_KEY":"<your region-specific MiniMax API key>","MINIMAX_MCP_BASE_PATH":"<local directory for generated output>","MINIMAX_API_HOST":"<matching regional host: https://api.minimax.io or https://api.minimaxi.com>","MINIMAX_API_RESOURCE_MODE":"<url or local; url is the default>"}}'

MiniMax tools available to Claude Code

MiniMax's stored tool list documents 10 tools; compare it with Claude Code's connected tool list, because the stored list is not a live check.

text_to_audio

For MiniMax's text_to_audio, review the permission request and arguments in Claude Code before approval.

Synthesize speech with a selected voice and save audio output; API charges may apply.

list_voices

For MiniMax's list_voices, review the permission request and arguments in Claude Code before approval.

List available voices; the supplied tool data restricts support to https://api.minimax.chat.

play_audio

For MiniMax's play_audio, review the permission request and arguments in Claude Code before approval.

Play a WAV or MP3 audio file, excluding video playback.

voice_clone

For MiniMax's voice_clone, review the permission request and arguments in Claude Code before approval.

text_to_image

For MiniMax's text_to_image, review the permission request and arguments in Claude Code before approval.

generate_video

For MiniMax's generate_video, review the permission request and arguments in Claude Code before approval.

image_to_video

For MiniMax's image_to_video, review the permission request and arguments in Claude Code before approval.

query_video_generation

For MiniMax's query_video_generation, review the permission request and arguments in Claude Code before approval.

Check the state of a video-generation task.

music_generation

For MiniMax's music_generation, review the permission request and arguments in Claude Code before approval.

Create music using descriptive instructions and supplied lyrics.

voice_design

For MiniMax's voice_design, review the permission request and arguments in Claude Code before approval.

MiniMax: full stored tool descriptions

Troubleshooting MiniMax in Claude Code

  • If MiniMax MCP fails to start, check uvx minimax-mcp (from uv, for Python tools), the working directory, and Claude Code's selected scope; inspect claude mcp list and /mcp.
  • MiniMax MCP: check MINIMAX_API_HOST, MINIMAX_API_KEY, MINIMAX_API_RESOURCE_MODE, MINIMAX_MCP_BASE_PATH; keep credentials out of shared .mcp.json.
  • MiniMax MCP uses stdio here: Claude Code must keep the configured process running; protocol output belongs on stdout and diagnostics on stderr.
  • Known limitation: API calls may incur costs.
  • Known limitation: API keys and hosts must match the account region.
  • Known limitation: The structured list_voices tool description limits that tool to a specific API host.
  • General Claude Code troubleshooting lives in the /clients/claude-code guide.

MiniMax MCP — details. Claude Code guide

Frequently asked questions

Register MiniMax MCP with the displayed claude mcp add-json --scope project command, or merge the JSON into .mcp.json at the repository root.

Claude Code's MiniMax-MCP example uses stdio.

MiniMax MCP's Claude Code configuration invokes uvx minimax-mcp (from uv, for Python tools).

Claude Code's MiniMax MCP example references MINIMAX_API_HOST, MINIMAX_API_KEY, MINIMAX_API_RESOURCE_MODE, MINIMAX_MCP_BASE_PATH. Check these names if startup or authentication fails; the example alone does not distinguish required from optional values.

MiniMax MCP's stored list contains 10 tools, including text_to_audio, list_voices, play_audio. Compare those names with Claude Code's connected tool list; the stored list is not a live check.

The README highlights regional mismatches: global keys use https://api.minimax.io and mainland keys use https://api.minimaxi.com.

The README warns that using the generation tools may incur costs; exact prices are not stated.