Pico设备MCP服务器

一个为Raspberry Pi Pico的picotool设计的模型上下文协议(MCP)服务器,使AI助手能够与Pico设备交互。

  • by sysreq
  • Python
  • 本地部署
  • 更新于
在 GitHub 查看 sysreq/PicoMCP

使用说明

PicoMCP-Picotool MCP服务器

Raspberry Pi Pico的picotool的模型上下文协议(MCP)服务器,使AI助手能够与Pico设备进行交互。

安装

  1. 安装依赖项:
pip install -r requirements.txt

用法

直接运行服务器

python picotool_server.py

为Claude Desktop配置

将此配置添加到您的Claude Code配置文件中:

{
  "mcpServers": {
    "picotool": {
      "command": "python",
      "args": ["[YOUR PATH]/picotool_server.py"]
    }
  }
}

更新配置后,重新启动Claude Code。

需求

  • Python 3.10+
  • FastMCP
  • PySerial
  • Picotool已安装。(如果它不在您的PATH中,请使用该位置更新picotol_server.py)