返回市场
麦克皮科

麦克皮科

作者:cryptax2 星标更新:2025-11-19

项目介绍

McPico - 终端用的轻量级MCP客户端

McPico如果你愿意也可以叫它MCPico,是一款适用于终端的轻量级MCP客户端

它支持:

  • 文件附件 :bug:
  • 基于标准I/O的MCP服务器 :white_check_mark:
  • 基于HTTP的MCP服务器 :bug:
  • Anthropic + r2mcp :white_check_mark:
  • Groq + r2mcp: :white_check_mark:
  • LM Studio + r2mcp: :white_check_mark:
  • 多MCP :grey_question: (待测试)

大部分代码是由AI编写的……而且运行效果相当不错。已在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

asciicast

McPico的基本使用

asciicast