MICROCONTROLLERS / HM-MC-024
HM-MC-024 · datasheet

platformio-mcp

PlatformIO MCP server (PIO Agent)

01 · What it does

  • Project readiness validation (agent_validate_project)
  • Rich build diagnostics with structured error taxonomy (agent_build_diagnose)
  • Board-aware GPIO safety audits (agent_safe_pin_audit)
  • Flash + monitor + runtime assertions (agent_flash_monitor_verify)
  • Persistent workflow artifacts in .pio-mcp-workspace/ (lastAgentReport.json, boardReport.json)

02 · Install

$ npm install -g platformio-mcp
$ npx platformio-mcp install --cline
$ npx platformio-mcp install --claude
$ npx platformio-mcp install --vscode

03 · Client config (Claude Desktop / Cursor, from README)

{
  "mcpServers": {
    "platformio": {
      "command": "npx",
      "args": ["-y", "platformio-mcp", "serve"]
    }
  }
}

Commands copied from the project README. Placeholders are the maintainer's. Not bench-tested by HardwareMCP yet.

Weekly bulletin

New hardware MCP servers and setups that actually worked on a bench. One email, Fridays.