McPico-终端的MCP客户端
McPico, *或 主控程序ico,如果你喜欢的话*,是a 终端的轻量级MCP客户端.
它支持:
- 文件附件:错误:
- MCP服务器基于stdio:white_check_mark:
- MCP服务器基于http::bug:
- 人物+r2mcp:white_check_mark:
- Groq+r2mcp::white_check_mark:
- LM工作室+r2mcp::white_check_mark:
- 多MCP:灰色_问题:(*测试*)
大部分代码都是由人工智能编写的……和/或但它工作得很好。它已经在Linux上进行了测试。
安装
git clone https://github.com/cryptax/mcpico
pip install -r requirements.txt配置
在 ~/.config/mcpico/config.json,设置API密钥和URL:
{
"current_provider": "anthropic",
"providers": {
"anthropic": {
"api_key": "CENSORED",
"model": "claude-sonnet-4-20250514",
"api_url": "https://api.anthropic.com/v1/messages",
"type": "anthropic"
},
...
}从中的默认配置中获得灵感 mcpico.py. 更多信息 这里.
运行它
python3 mcpico.py
然后使用 /help 用于各种命令。
演示
用McPico、r2mcp和Anthropic解决CrackMe问题

McPico的基本用法

