Check PlatformIO installation and retrieve version, core directory, safety policy, log directory, and serial monitor sessions. Use first to confirm setup or get install instructions.
Initialize a new PlatformIO project or add an environment to an existing one by specifying project directory and board, with optional framework and platformio.ini options.
Build and flash firmware to a connected board via PlatformIO. Specify an upload port for multi-board setups, or close active serial monitor sessions to free the port before uploading.
Enables MCP clients and AI agents to drive PlatformIO embedded workflows including board discovery, project setup, build, flash, monitor, diagnostics, and task orchestration, with policy-gated approvals and dashboard visibility.
Enables AI coding agents to build, flash, monitor serial output, run tests, decode crashes, and analyze firmware size for embedded PlatformIO projects.
Start a live GDB debugging session on a board through its debug probe. It launches the configured debug server, builds and loads debug firmware, then halts execution at main for immediate inspection.
Run PlatformIO unit tests and receive per-case pass/fail results with file, line, and message details. Supports filter and ignore glob patterns for targeted test execution.
Read new serial output from an active PlatformIO monitor session. Use a regex to wait for specific messages or set a timeout to fetch at least one new line.
Install a library, platform, or tool into a PlatformIO project and add it to platformio.ini. Provide a package spec (e.g., 'owner/repo@version') and optionally restrict to one environment.
Check a PlatformIO project for outdated dependencies by comparing installed package versions against available releases, helping identify which libraries need updates to avoid compatibility issues.
List every PlatformIO environment with board, platform, framework, monitor/upload settings, lib_deps, and build flags, and identify default envs before building or flashing.
List resolved platform, toolchain, and library packages with versions for a PlatformIO project, making it easy to verify dependencies and troubleshoot version conflicts.