PlatformIO for AI agents: build, flash, serial monitor, tests, crash decoding, size reports.
Connect Runs on your machine
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
{
"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>"
}
}
}
}
{
"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>"
}
}
}
}
{
"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>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
PLATFORMIO_MCP_POLICYOptional | full (default), build_only, or read_only |
PLATFORMIO_MCP_PROJECT_DIROptional | Default project directory when a tool is called without project_dir |
PLATFORMIO_MCP_PIOOptional | Explicit path to the pio executable (auto-detected otherwise) |
Details
| Package | [email protected] (PYPI, stdio) |
| First published | 16 Sep 2026 |
| Last updated | 16 Sep 2026 |
| Registry name | io.github.powerdragonfire/platformio.mcp |
More developer tools servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
