MCP Server Studio

PlatformIO MCP server

PlatformIO for AI agents: build, flash, serial monitor, tests, crash decoding, size reports.

Registry name: io.github.powerdragonfire/platformio.mcp

Publisher
powerdragonfire
Runs
Runs locally
Package
PyPI
Version
0.1.0
Category
AI & agents
Updated
2026-09-16

Source code on GitHub

Set up PlatformIO (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "platformio-mcp": {
      "command": "uvx",
      "args": [
        "platformio.mcp==0.1.0"
      ],
      "env": {
        "PLATFORMIO_MCP_POLICY": "<PLATFORMIO_MCP_POLICY>",
        "PLATFORMIO_MCP_PROJECT_DIR": "<PLATFORMIO_MCP_PROJECT_DIR>",
        "PLATFORMIO_MCP_PIO": "<PLATFORMIO_MCP_PIO>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add platformio-mcp -e PLATFORMIO_MCP_POLICY='<PLATFORMIO_MCP_POLICY>' -e PLATFORMIO_MCP_PROJECT_DIR='<PLATFORMIO_MCP_PROJECT_DIR>' -e PLATFORMIO_MCP_PIO='<PLATFORMIO_MCP_PIO>' -- uvx platformio.mcp==0.1.0

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "platformio-mcp": {
      "command": "uvx",
      "args": [
        "platformio.mcp==0.1.0"
      ],
      "env": {
        "PLATFORMIO_MCP_POLICY": "<PLATFORMIO_MCP_POLICY>",
        "PLATFORMIO_MCP_PROJECT_DIR": "<PLATFORMIO_MCP_PROJECT_DIR>",
        "PLATFORMIO_MCP_PIO": "<PLATFORMIO_MCP_PIO>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "platformio-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "platformio.mcp==0.1.0"
      ],
      "env": {
        "PLATFORMIO_MCP_POLICY": "<PLATFORMIO_MCP_POLICY>",
        "PLATFORMIO_MCP_PROJECT_DIR": "<PLATFORMIO_MCP_PROJECT_DIR>",
        "PLATFORMIO_MCP_PIO": "<PLATFORMIO_MCP_PIO>"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "platformio-mcp": {
      "command": "uvx",
      "args": [
        "platformio.mcp==0.1.0"
      ],
      "env": {
        "PLATFORMIO_MCP_POLICY": "<PLATFORMIO_MCP_POLICY>",
        "PLATFORMIO_MCP_PROJECT_DIR": "<PLATFORMIO_MCP_PROJECT_DIR>",
        "PLATFORMIO_MCP_PIO": "<PLATFORMIO_MCP_PIO>"
      }
    }
  }
}

Settings

NameRequiredWhat it is
PLATFORMIO_MCP_POLICYNofull (default), build_only, or read_only
PLATFORMIO_MCP_PROJECT_DIRNoDefault project directory when a tool is called without project_dir
PLATFORMIO_MCP_PIONoExplicit path to the pio executable (auto-detected otherwise)

More ai & agents MCP servers