Skip to content
Gemini CLI

PlatformIO for Gemini CLI

io.github.powerdragonfire/platformio.mcp

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

client:Gemini CLI transport:stdio runtime:pypi

Install PlatformIO in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

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

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

PlatformIO in other clients