Specialized MiniMax Model Context Protocol (MCP) server designed for coding-plan users, featuring AI-powered search and vision analysis APIs optimized for code development workflows. Unlike the standard MiniMax-MCP, this version provides coding-specific tools (for examples: web_search and understand_image) that integrate seamlessly with MCP clients like Claude Desktop, Cursor, Windsurf, OpenAI Agents and others to enhance your coding experience.
文档
MCP客户端快速入门
- 从获取API密钥 最小最大.
- 安装
uv(Python包管理器),安装curl -LsSf https://astral.sh/uv/install.sh | sh或查看uv仓库 有关其他安装方法。 - 重要:API主机和密钥因地区而异,必须匹配;否则,你会遇到
Invalid API key错误。
|地区|全球|大陆| |:--|:-----|:-----| |MINIMAX_API_KEY |从获取 MiniMax全球 |去吧 最小最大 | |最小值_API_HOST |https://api.minimax.io | https://api.minimaxi.com |
克劳德桌面
首选 Claude > Settings > Developer > Edit Config > claude_desktop_config.json 包括以下内容:
{
"mcpServers": {
"MiniMax": {
"command": "uvx",
"args": [
"minimax-coding-plan-mcp",
"-y"
],
"env": {
"MINIMAX_API_KEY": "insert-your-api-key-here",
"MINIMAX_API_HOST": "api host, https://api.minimax.io | https://api.minimaxi.com"
}
}
}
}
⚠️ 警告:API密钥需要与主机匹配。如果出现错误“API错误:API密钥无效”,请检查您的API主机:
- 全球主机:
https://api.minimax.io - 大陆主办单位:
https://api.minimaxi.com
如果您使用的是Windows,则必须在Claude Desktop中启用“开发人员模式”才能使用MCP服务器。单击左上角汉堡包菜单中的“帮助”,然后选择“启用开发人员模式”。
光标
首选 Cursor -> Preferences -> Cursor Settings -> MCP -> Add new global MCP Server 添加上述配置。
就是这样。您的MCP客户端现在可以通过以下工具与MiniMax交互:
运输
我们支持两种传输类型:stdio和sse。
| 站起来 | |
|---|---|
| 本地运行 | 可以在本地或云中部署 |
沟通方式 stdout | 沟通方式 network |
输入:支持处理 local files 或有效 URL resources | 输入:在云中部署时,建议使用 URL 用于输入 |
可用工具
|工具|描述| |-|-| |web_search|执行网络搜索并返回自然搜索结果以及相关搜索查询| |understand_image|基于文本提示使用AI分析图像,提取信息并回答有关图像的问题|
发布说明
2025年11月20日
🆕 最新动态
- 网页搜索新
web_search工具-执行网络搜索,并通过相关搜索查询获得自然结果 - 视觉语言模型新
understand_image基于文本提示的人工智能图像分析工具
📈 特性
web_search-搜索网络并获得结构化结果,包括标题、链接、片段和相关搜索understand_image-分析来自URL或本地文件的图像,支持JPEG、PNG和WebP格式
常见问题解答
1.无效的api密钥
请确保您的API密钥和API主机区域一致 |地区|全球|大陆| |:--|:-----|:-----| |MINIMAX_API_KEY |从获取 MiniMax全球 |去吧 最小最大 | |最小值_API_HOST |https://api.minimax.io | https://api.minimaxi.com |
2.产卵
请在终端中运行以下命令确认其绝对路径:
which uvx获得绝对路径(例如/usr/local/bin/uvx)后,更新配置以使用该路径(例如“command”:“/usr/local/bin/uvx”)。
示例用法
⚠️ 警告:使用这些工具可能会产生成本。
1.网络搜索
使用 web_search 在网络上搜索信息的工具:
2.图像分析
使用 understand_image 使用AI分析图像的工具:
