Repository avatar
Other Tools
v0.2.2
active

mpy-workbench

io.github.DanielBustillos/mpy-workbench

Run, upload and debug MicroPython on a USB board (ESP32, Pico) from any MCP client.

Documentation

MPY Workbench logo

MPY Workbench

Work on your MicroPython board as if it were a local folder.
Edit in VS Code, press Ctrl+S, and the board already has it, with the running program restarted.
ESP32 and other MicroPython boards, powered by the official mpremote.

Marketplace version Installs mpremote License

Run file runs the current file on the board

Why MPY Workbench?

Your project and the board stay as one folder. You work locally, and the board follows.

  • 🔄 Save is all it takes. With auto-sync on, Ctrl+S puts the file on the board. A running program restarts with the new version in about half a second.
  • 📂 See what's on the board. The Files view marks each file: ✓ same, ↑ not uploaded yet, ≠ different, ↓ only on the board.
  • 🔌 Work without the board. Plug it back in and it catches up. Nothing is overwritten without asking.
  • ▶ Run file, ■ Stop. One click at the top of the editor runs the file on the board, and Stop ends it. All in real VS Code, with your extensions and Git.

Get started

  1. Install mpremote (1.26 or newer): pip install -U mpremote
  2. Pick your board: plug it in, click MPY: Select board in the status bar and choose its port.
  3. Open your project folder in VS Code, then any .py file.
  4. Run it: click ▶ Run file at the top of the editor. ■ Stop ends it.
  5. Turn on auto-sync: click the board in the status bar, then Turn auto-sync on. From then on, every save updates the board by itself, and a running program restarts with your change.

For a guided tour, run MPY Workbench: Get Started.

Also for Claude Code

The same board tools come as a Claude Code plugin: Claude writes the code, runs it on the board, reads the output and the traceback, and fixes it. No VS Code needed, only Python.

/plugin marketplace add DanielBustillos/mpy-workbench
/plugin install mpy-workbench@mpy-workbench

See the plugin's README for what it can do.

Learn more

The full guide covers the status bar, sync, the MPY Board terminal, settings and troubleshooting. Something not working? Run MPY Workbench: Show Log and open an issue.

If it saves you time, a ⭐ on GitHub or a review helps others find it. MIT license.

PYPI
mpy-workbench
Install Command
pip install mpy-workbench