MPyFlowPlug in any MicroPython board and start coding in seconds.
Why MPyFlow?
Quick Start
Key FeaturesUnified Project & Board ExplorerEverything lives in one clean sidebar:
Interactive MicroPython Terminal
Built-in
|
| Board / Port | Auto-detected Stubs |
|---|---|
| ESP32 / ESP32-S2 / ESP32-S3 / ESP32-C3 / ESP32-C6 | micropython-esp32-stubs |
| ESP8266 | micropython-esp8266-stubs |
| Raspberry Pi Pico / RP2040 / RP2350 | micropython-rp2-stubs |
| STM32 / Pyboard | micropython-stm32-stubs |
| SAMD21 / SAMD51 | micropython-samd-stubs |
| Unix / Other MicroPython ports | micropython-unix-stubs / micropython-stdlib-stubs |
Troubleshooting
My board doesn't appear under Devices
- Make sure you are using a USB data cable (many charging cables have no data lines).
- Install the USB-UART driver for your board's chip (click
No USB board found — Driver & cable helpin Devices or runMicroPython: USB Drivers & Cable Helpfor official CP210x, CH340, and FTDI links).
failed to access COMx / PermissionError
- Another program (Thonny, Arduino IDE, PuTTY, or another VS Code window) currently holds the serial port. Close it and click Connect again.
ImportError: no module named '...' when running from Repository
- Running a file directly from Repository executes it in RAM without copying sibling files. Drag the required helper
.pyfile (or folder) into On Board, or install the library via Install Package (mip).
Settings Reference
| Setting | Default | Description |
|---|---|---|
espMpremote.autoSetupEnv |
true |
Automatically create isolated local .venv and install mpremote + MicroPython stubs. |
espMpremote.autoDownloadPython |
true |
Auto-download standalone Python 3.12 via uv if no system Python 3 with venv is found. |
espMpremote.stubsPackage |
"auto" |
Auto-detect connected board stubs or pin a specific stubs package. |
espMpremote.autoConfigureIntelliSense |
true |
Automatically configure .vscode/settings.json for Pylance / Pyright. |
espMpremote.baudrate |
115200 |
Default serial baudrate. |
espMpremote.reconnectTimeoutMs |
5000 |
Delay before auto-reconnecting after an unexpected USB disconnect (0 to disable). |
espMpremote.enableMockDevice |
false |
Show virtual mock://esp32-mvp simulator for testing without hardware. |
Architecture & Development
VS Code Extension (TypeScript)
├── EnvironmentManager (isolated .venv + uv standalone Python fallback + per-port stubs)
├── IntelliSenseConfigurator (.vscode/settings.json for Pylance / Pyright)
├── MpremoteBridge (NDJSON / JSON-RPC 2.0 over stdio)
├── DeviceFileSystemProvider (mpremote:/// virtual filesystem)
├── ProjectSync (incremental sync + .mpyignore)
├── ReplTerminal (native vscode.Pseudoterminal — REPL + live script stdin/stdout)
└── ExplorerTreeProvider (Project -> On Board / Repository + Devices, bidirectional DnD)
│
▼ stdio (NDJSON)
Python Sidecar (python/bridge.py)
├── RealSerialSession (mpremote.transport_serial.SerialTransport + mpremote.mip)
└── MockTransport (optional mock://esp32-mvp simulator)
# Install dev dependencies & compile TypeScript
npm install
npm run compile
# Run all automated tests (bridge + local venv/stubs + 8 user-flow tests)
npm test
# Run live hardware test suite on a connected board
node scripts/test-hardware.mjs COM3
# Package extension into .vsix
npx @vscode/vsce package
Press F5 in VS Code to launch the Extension Development Host.
License
MIT © 2026 markpekar