MCUPort: the MCP for your microcontroller
Give Claude Code, Claude Desktop, Cursor — any MCP-speaking agent — real hands on a real board. Enumerate connected boards, flash firmware, read and write serial, and drive GPIO, ADC, PWM, I2C and SPI over USB, for ESP32, RP2040/RP2350 (Pico), and Arduino Uno R4 today.
Install in one line
macOS or Linux (Node.js 20 or newer; installs under your home directory, no root):
curl -fsSL https://mcuport.com/install.sh | shWindows PowerShell:
irm https://mcuport.com/install.ps1 | iexThen add it to Claude Code (the installer prints the same line with your real path):
claude mcp add mcuport -- ~/.local/bin/mcuportOn Windows, in PowerShell:
claude mcp add mcuport -- "$env:USERPROFILE\.mcuport\bin\mcuport.cmd"No board on the desk yet? Register it with three simulated boards (the real MicroPython interpreter, fake silicon) and try it now: claude mcp add mcuport -e MCUPORT_SIMULATOR=1 -- ~/.local/bin/mcuport, or on Windows claude mcp add mcuport -e MCUPORT_SIMULATOR=1 -- "$env:USERPROFILE\.mcuport\bin\mcuport.cmd". Then ask your agent to list your boards. Full quickstart, including Cursor and Claude Desktop.
Flash it and see what it did, in one call
Ask your agent to flash a board and it calls flash_and_watch: the server flashes the image, follows the board to the port its program comes back on, reads the first output with arrival times, and says what happened: ran, crashed, brownout, boot loop, silent, or never printed what you expected. You stop being the one who copies the serial log back into the chat.
RAN: expected output seen at +627 ms
flash: 9 s
+ 626 ms MCUPort test fw
+ 626 ms fw 0.1.0 Nano
+ 626 ms built Oct 28 2026
+ 626 ms type help
+ 626 ms advertising as MCUPort-Test-Nano on Arduino Nano ESP32
+ 627 ms hb 2s 24.2CBOOT_LOOP: the board reset 4 times while watched (its USB port dropped and came back): it is crashing or watchdog-resetting before it settles
flash: 6.5 s
+ 680 ms MCUPORT-CRASH-DEMO boot 1: dereferencing NULL in 1 s
+ 4403 ms MCUPORT-CRASH-DEMO boot 2: dereferencing NULL in 1 s
+ 8133 ms MCUPORT-CRASH-DEMO boot 3: dereferencing NULL in 1 s
+ 11863 ms MCUPORT-CRASH-DEMO boot 4: dereferencing NULL in 1 sBoth results above came back from a real Arduino Nano ESP32 (ESP32-S3) (2341:0070) on 2026-10-31, through the built server and a real MCP client (server/scripts/hardware_smoke.ts). That is one board model: on any other board, flash_and_watch has not yet run on real hardware. The same check from your own terminal:
mcuport flash-and-watch /dev/ttyACM0 build/app.bin --expect "ready"The pin and bus tools ride MicroPython's REPL on an ESP32 or Pico and a small bridge sketch on an Arduino. As of 2026-10-13 they have been proven against the real MicroPython interpreter in a simulator and not yet on a physical board; the quickstart says what is proven where.
What a loop costs your agent
Everything a tool returns is read back into your agent's context, and you pay for it. One whole loop through this server — find the board, ask what it is, open the port, make it talk, watch a 24-line console log, drive a pin and poll it ten times, close — costs 5,873 characters of tool result across 20 calls, about 1,468 tokens. Reading 1,470 bytes of that console log costs 1,641 characters, 1.12× its own size: the bytes come back once, as text, not twice.
Measured 2026-10-13 by server/scripts/token_cost_gate.ts, which drives the built server as a real MCP client over real stdio and fails the build when any step grows past its budget. It ran against the simulated boards, not a physical board. We publish it because the cost of a long agent session on hardware is the thing this tool is for, and because nothing else in this category publishes the figure.
Free, ad-free, forever
The full desktop MCP server is free: unlimited local boards, every supported family, no ads, no telemetry.
Pro — $20 one-time
Unlocks the phone bridge: the companion app links to a Bluetooth LE board and relays its serial port to the desktop server, so your agent can reach a board that is not plugged into your computer. One price, no subscription. Available now from the pricing page. The app installs on Android from mcuport.com/download; iOS is not available.
The board questions, answered from the vendors’ own documentation
Three things everyone working on an ESP32 or a Pico has to look up, with every number rendered from the server’s own tables rather than retyped — so the page and the tool can never disagree:
- ESP32 boot log: what rst: and boot: actually mean — the full reset-reason table, and why
boot:0x13is not an error - ESP32 and Pico pins to avoid, with the reason — flash, strapping, input-only, console and the Pico W’s radio lines, per chip
- Where ESP32 firmware goes: 0x0, 0x1000 or 0x10000 — per chip, plus
write_flashvswrite-flash
Guides
- Quickstart: Claude Code and Claude Desktop config
- Let Claude Code flash and monitor an ESP32
- Control a Raspberry Pi Pico from an AI agent
- An MCP server for the Arduino Uno R4
See pricing · FAQ · Support · Sign in