MCP-U Integration Template
May 25, 2026 ยท View on GitHub
PlatformIO-MCP can compile and flash firmware that includes the MCP-U Arduino library workflow pattern.
This repository includes a starter template at:
examples/mcpu-arduino-blink/
Scope
Current scope is build/flash preparation. Live runtime MCP-U command routing is intentionally out of scope for this release.
What You Can Do Now
- Open the template project directory.
- Build with
build_project(oragent_build_diagnose). - Flash with
upload_firmware(oragent_flash_monitor_verify). - Observe runtime markers in serial output.
Recommended Flow
agent_validate_project -> agent_build_diagnose -> agent_flash_monitor_verify
Runtime Vision
Once firmware with MCP-U support is flashed, an external runtime controller can drive device features (GPIO/PWM/ADC) through MCP-U semantics while PlatformIO-MCP continues to provide:
- compile/flash control
- diagnostics
- policy/approval gates
- serial verification and reporting
This separation keeps hardware execution transparent and extensible.