MiniMax MCP Server

Official

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Integrations

  • Provides Windsurf (by Codeium) with access to MiniMax's Text to Speech, voice cloning, and video/image generation APIs

  • Provides integration with GitHub for accessing the MiniMax MCP server's codebase and repositories

  • Connects to MiniMax's Hugging Face organization to access related models and resources

文档

MCP 客户端快速入门

  1. MiniMax获取您的 API 密钥。
  2. 安装uv (Python 包管理器),使用curl -LsSf https://astral.sh/uv/install.sh | sh安装,或查看uvrepo以了解其他安装方法。
  3. 重要提示:API 主机和密钥因地区而异,必须匹配;否则,您将遇到Invalid API key错误。
地区全球的大陆
MINIMAX_API_密钥MiniMax Global获取MiniMax获取
MINIMAX_API_主机https://api.minimaxi.chat (注意多余的**“i”**https://api.minimax.chat

克劳德桌面

转到Claude > Settings > Developer > Edit Config > claude_desktop_config.json以包含以下内容:

{ "mcpServers": { "MiniMax": { "command": "uvx", "args": [ "minimax-mcp" ], "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": "https://api.minimaxi.chat", "MINIMAX_API_RESOURCE_MODE": "<optional, [url|local], url is default, audio/image/video are downloaded locally or provided in URL format>" } } } }

⚠️ 警告:API 密钥需要与主机匹配。如果出现“API 错误:无效的 API 密钥”错误,请检查您的 API 主机:

  • 全球主机: ​https://api.minimaxi.chat (注意多出来的“i”)
  • 大陆主机: https://api.minimax.chat

如果您使用的是 Windows,则必须在 Claude Desktop 中启用“开发者模式”才能使用 MCP 服务器。点击左上角汉堡菜单中的“帮助”,然后选择“启用开发者模式”。

光标

转到Cursor -> Preferences -> Cursor Settings -> MCP -> Add new global MCP Server以添加上述配置。

就这样。您的 MCP 客户端现在可以通过以下工具与 MiniMax 进行交互:

运输

我们支持两种传输类型:stdio 和 sse。

标准输入输出上交所
本地运行可以部署在本地或云端
通过stdout进行通信通过network进行通信
输入:支持处理local files或有效的URL资源输入:云端部署时,建议使用URL进行输入

可用工具

工具描述
text_to_audio将文本转换为具有给定声音的音频
list_voices列出所有可用的声音
voice_clone使用提供的音频文件克隆声音
generate_video根据提示生成视频
text_to_image根据提示生成图像

示例用法

⚠️警告:使用这些工具可能会产生费用。

1. 播放一段晚间新闻

2. 克隆声音

3. 生成视频

4. 生成图像

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

使 Claude Desktop 和 Cursor 等 MCP 客户端能够与 MiniMax API 交互,以生成语音、克隆声音、创建视频和生成图像。

  1. Quickstart with MCP Client
    1. Claude Desktop
    2. Cursor
  2. Transport
    1. Available Tools
      1. Example usage
        1. 1. broadcast a segment of the evening news
        2. 2. clone a voice
        3. 3. generate a video
        4. 4. generate images
      ID: 2vrtgn1r1s