Skip to main content
We recommend using MiniMax CLI instead of MCP for simpler setup and better experience.
The Model Context Protocol (MCP) is an open protocol that standardizes how applications provide context to large language models (LLMs). It is similar to a USB‑C port for AI applications, offering a stable and standardized entry point so models can access databases, APIs, plugins, or other tools. With MCP tools, developers can let LLMs access various tools hosted on remote MCP servers. MiniMax provides official Python and JavaScript implementations of the MCP server, supporting multimodal capabilities such as text-to-speech (TTS), voice cloning, image generation, and video generation. Developers can self-host MCP services and access them from MCP clients (e.g., Claude Desktop, Cursor, Windsurf, OpenAI Agents) to quickly integrate voice, image, and video features. For transport, the Python version supports stdio and SSE, while the JavaScript version supports stdio, REST, and SSE.

MiniMax MCP Tools and Parameters

1. text_to_audio

This tool converts the text to natural and fluent speech.

2. list_voices

This tool lists all available voices.

3. voice_clone

This tool clones a voice from a specified audio file.

4. voice_design

This tool generates a voice and preview audio from a prompt.

5. play_audio

This tool plays an audio file.

6. music_generation

This tool generates music from a prompt and lyrics.

7. generate_video

Generates a video based on a prompt. At least one of prompt or first_frame_image in the parameters is required.

8. image_to_video

Generates a video from a first-frame image. At least one of prompt or first_frame_image in the parameters is required. Only available in the JavaScript/TypeScript MCP version.

9. query_video_generation

Queries the status of an asynchronous video generation task.

10. text_to_image

Generates images from a text prompt.

Use the MiniMax MCP Server in Clients

Get an API Key

  1. Visit the MiniMax Developer Platform.
  2. Click the “Create new secret key” button and enter a project name to create a new API Key.
  3. After creation, the system will display the API Key. Be sure to copy and save it securely. The key is shown only once and cannot be viewed again.
图片描述

UVX Installation and Configuration

MiniMax‑MCP is a Python-implemented MCP service. To allow MCP clients to call it, the service must be started and executed via uvx. uvx is a command-line tool provided by uv, similar to npm exec. It is used to run executables defined within a package, ensuring environment isolation and dependency control.
  1. Install uv (to get uvx)
  • macOS / Linux users:
  • Windows users:
Other installation methods can be found in the uv repository. After installation, uv and uvx executables will be created under the Python environment’s Scripts or bin directory.
  1. Verify uvx is available Run the following command:
  • macOS / Linux users:
  • Windows users:
  • If installed correctly, a path will be shown (e.g., /usr/local/bin/uvx).
  • If you encounter the error spawn uvx ENOENT, it means that uvx is either not installed or not in your system PATH. You need to provide its absolute path.

Transport Modes

MiniMax-MCP provides two transport modes: stdio and SSE. Choose as needed.

Use in Claude Desktop

  1. Download Claude Desktop.
  2. Go to Claude > Settings > Developer > Edit Config > claude_desktop_config.json, add the following configuration.
  3. Restart Claude Desktop when finished. Note: If you’re on Windows, enable “Developer mode” in Claude Desktop to use MCP servers. If you see the error spawn uvx ENOENT, set the absolute path to uvx in "command".

Use in Cursor

  1. Download and install Cursor.
  2. Go to Cursor -> Preferences -> Cursor Settings -> Tools & Inrgrations -> MCP -> Add Custom MCP to open the MCP tool config file.
图片描述
  1. Add MiniMax account configuration in mcp.json file.
  1. After configuration, you can view the MCP tools currently supported by MiniMax.
图片描述

Use in Cherry Studio

  1. Download the Cherry Studio client.
  2. Go to Settings -> MCP Settings -> Add Server -> Import from JSON, paste the following and confirm.
  1. In the chat panel, click MCP Settings and select the configured “MiniMax MCP” to use it.
图片描述

Use the MiniMax MCP JS Server in Clients

Get an API Key

  1. Visit the MiniMax Developer Platform.
  2. Click the “Create new secret key” button and enter a project name to create a new API Key.
  3. After creation, the system will display the API Key. Be sure to copy and save it securely. The key is shown only once and cannot be viewed again.
图片描述

Node.js and npm Installation

Node.js is an open-source JavaScript runtime that can run JavaScript outside the browser. It is based on Google’s V8 engine, with high performance, event-driven, and non-blocking I/O characteristics, making it suitable for high-concurrency network services, real-time apps, and microservices. npm is the default package manager installed with Node.js and the world’s largest software registry. Developers can use npm to search, install, update, and manage dependencies (both frontend and backend), greatly simplifying development.
  1. Install Node.js and npm
  2. Verify installation
Run the following commands; if installed correctly, it will display the versions of Node.js and npm

Transport Modes

MiniMax-MCP-JS supports stdio, REST, and SSE; choose as needed

Use in Claude Desktop

  1. Download Claude Desktop.
  2. Go to Claude > Settings > Developer > Edit Config > claude_desktop_config.json, add the following configuration.
  3. Restart Claude Desktop when finished. Note: If you’re on Windows, enable “Developer mode” in Claude Desktop to use MCP servers. If you see the error spawn uvx ENOENT, set the absolute path to uvx in "command".

Use in Cursor

  1. Download and install Cursor.
  2. Go to Cursor -> Preferences -> Cursor Settings -> Tools & Inrgrations -> MCP -> Add Custom MCP to open the MCP tool config file.
图片描述
  1. Add MiniMax account configuration in mcp.json file.
  1. After configuration, you can view the MCP tools currently supported by MiniMax.
图片描述

Use in Cherry Studio

  1. Download the Cherry Studio client.
  2. Go to Settings -> MCP Settings -> Add Server -> Import from JSON, paste the following and confirm.
  1. In the chat panel, click MCP Settings and select the configured “MiniMax-MCP-JS” to use it.
图片描述

Usage Examples

Audio tools

  1. Choose suitable voice information and broadcast an evening news segment.
Reference prompt:
Generated content: Thinking process: 图片描述
  1. Clone a voice from a specified audio and specify the cloned voice ID. Reference prompt:
Source audio: Result audio: Thinking process: 图片描述
  1. Design a voice as required and generate audio using the sample text.
Reference prompt:
Generated content: Thinking process: 图片描述

Music generation tool

Reference prompt:
Generated content: Thinking process 图片描述

Image generation tool

Reference prompt:
Generated content: 图片描述 Thinking process: 图片描述

Video generation tool

Reference prompt and image:
图片描述 Generated content: Thinking process: 图片描述

How to contribute

If you would like to contribute to the MiniMax MCP project—whether by adding improvements or fixing bugs—you can do so in the following ways:
  1. Open a new Issue on the GitHub repository (Python version or JS version) and briefly describe the change you propose or the problem you encountered.
  2. Create a Pull Request (PR) after receiving feedback, following the project’s contribution guidelines. Include a clear description of your changes and any relevant context.
  3. PR Review: Project maintainers will review your submission and provide suggestions for merging or request further revisions if necessary.