Install
openclaw skills install mcp-protocol配置和管理 MCP 服务器,实现 AI 调用外部工具如视觉理解和网络搜索的能力。
openclaw skills install mcp-protocol本技能用于配置和管理 MCP (Model Context Protocol) 服务器,让 AI 能够调用外部工具。
npm install -g clawhub
确保 uvx 可用:
which uvx
# 如果没有:
curl -LsSf https://astral.sh/uv/install.sh | sh
mkdir -p ~/.config/mcporter
{
"mcpServers": {
"MiniMax": {
"type": "stdio",
"command": "uvx",
"args": ["minimax-coding-plan-mcp"],
"env": {
"MINIMAX_API_KEY": "你的API密钥",
"MINIMAX_MCP_BASE_PATH": "/tmp/mcporter-output",
"MINIMAX_API_HOST": "https://api.minimaxi.com"
}
}
}
}
保存到 ~/.config/mcporter/mcporter.json
npx mcporter --config ~/.config/mcporter/mcporter.json list
成功会显示:
✔ Listed 1 server (1 healthy)
npx mcporter --config ~/.config/mcporter/mcporter.json call MiniMax.understand_image \
"prompt: 描述图片内容" \
"image_source: /path/to/image.jpg"
npx mcporter --config ~/.config/mcporter/mcporter.json call MiniMax.web_search \
"query: 搜索内容"
| MCP 包名 | 功能 |
|---|---|
| minimax-coding-plan-mcp | 视觉理解、网络搜索 |
| linear-mcp | Linear 项目管理 |
| filesystem-mcp | 文件系统操作 |
| github-mcp | GitHub 操作 |
查看可用参数:
npx mcporter list <服务器名> --schema
最后更新: 2026-02-24