MiniMax-MCP

MiniMax-AIMIT活跃维护

把 MiniMax 的语音合成、文生图、文生视频等生成能力封装成 MCP 服务,让 Claude 等支持 MCP 的客户端直接调用。

Official MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.

暂无版本1,596star286fork同步于 2026-11-07 07:30 UTC

怎么上手

由 README 提炼,执行前请确认
curl -LsSf https://astral.sh/uv/install.sh | sh
uvx minimax-mcp -y
硬件要求按 README 说明

README 未说明,工具调用的是云端 API,本地只需能运行 uv/uvx 的 Python 环境

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

官方 MiniMax MCP 服务器,让 Claude、Cursor 等客户端直接调用语音、图像和视频生成 API

把 MiniMax 的语音合成、文生图、文生视频等生成能力封装成 MCP 服务,让 Claude 等支持 MCP 的客户端直接调用。

核心能力

  • 提供 text_to_audio 与 voice_clone 语音合成和克隆工具
  • 用 generate_video 生成视频并支持查询任务结果
  • 用 text_to_image 从提示词生成图片
  • 用 voice_design 按描述提示词定制音色
  • 支持 stdio 与 SSE 两种传输方式

容易踩的坑

API key 必须与 MINIMAX_API_HOST 区域匹配,否则报 invalid api key;Windows 上使用 Claude Desktop 需先开启 Developer Mode;若报 spawn uvx ENOENT,需用 which uvx 查到绝对路径填入配置;调用生成类工具会产生费用

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

0 个版本

暂无 release 数据(可能没有发版,或尚未同步)。

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    export

    💡 Recommended: MiniMax CLI (mmx-cli) — our official command-line tool with the latest models and additional features including text, vision, and search. Works as an AI agent skill for Claude Code, Cursor, OpenClaw, etc.

    Documentation

    Quickstart with MCP Client

    1. Get your API key from MiniMax.
    2. Install uv (Python package manager), install with curl -LsSf https://astral.sh/uv/install.sh | sh or see the uv repo for additional install methods.
    3. Important: The API host and key vary by region and must match; otherwise, you'll encounter an Invalid API key error.
    RegionGlobalMainland
    MINIMAX_API_KEYgo get from MiniMax Globalgo get from MiniMax
    MINIMAX_API_HOSThttps://api.minimax.iohttps://api.minimaxi.com

    Claude Desktop

    Go to Claude > Settings > Developer > Edit Config > claude_desktop_config.json to include the following:

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

    ⚠️ Warning: The API key needs to match the host. If an error "API Error: invalid api key" occurs, please check your api host:

    • Global Host:https://api.minimax.io
    • Mainland Host:https://api.minimaxi.com

    If you're using Windows, you will have to enable "Developer Mode" in Claude Desktop to use the MCP server. Click "Help" in the hamburger menu in the top left and select "Enable Developer Mode".

    Cursor

    Go to Cursor -> Preferences -> Cursor Settings -> MCP -> Add new global MCP Server to add above config.

    That's it. Your MCP client can now interact with MiniMax through these tools:

    Transport

    We support two transport types: stdio and sse.

    stdioSSE
    Run locallyCan be deployed locally or in the cloud
    Communication through stdoutCommunication through network
    Input: Supports processing local files or valid URL resourcesInput: When deployed in the cloud, it is recommended to use URL for input

    Available Tools

    tooldescription
    text_to_audioConvert text to audio with a given voice
    list_voicesList all voices available
    voice_cloneClone a voice using provided audio files
    generate_videoGenerate a video from a prompt
    text_to_imageGenerate a image from a prompt
    query_video_generationQuery the result of video generation task
    voice_designGenerate a voice from a prompt using preview text

    Release Notes

    July 2, 2025

    🆕 What's New
    • Voice Design: New voice_design tool - create custom voices from descriptive prompts with preview audio
    • Video Enhancement: Added MiniMax-Hailuo-02 model with ultra-clear quality and duration/resolution controls
    📈 Enhanced Tools
    • voice_design - Generate personalized voices from text descriptions
    • generate_video - Now supports MiniMax-Hailuo-02 with 6s/10s duration and 768P/1080P resolution options

    FAQ

    1. invalid api key

    Please ensure your API key and API host are regionally aligned

    RegionGlobalMainland
    MINIMAX_API_KEYgo get from MiniMax Globalgo get from MiniMax
    MINIMAX_API_HOSThttps://api.minimax.iohttps://api.minimaxi.com

    2. spawn uvx ENOENT

    Please confirm its absolute path by running this command in your terminal:

    which uvx
    

    Once you obtain the absolute path (e.g., /usr/local/bin/uvx), update your configuration to use that path (e.g., "command": "/usr/local/bin/uvx").

    3. How to use generate_video in async-mode

    Define completion rules before starting: Alternatively, these rules can be configured in your IDE settings (e.g., Cursor):

    Example usage

    ⚠️ Warning: Using these tools may incur costs.

    1. broadcast a segment of the evening news

    2. clone a voice

    3. generate a video

    4. generate images