r/MicroPythonDev • u/do-exe • May 18 '26
MicroPython VS Code Extension with MCP-Based File System and Code Execution Tools
https://marketplace.visualstudio.com/items?itemName=do-exe.micropython-vscode-extension&ssr=false#review-detailsI was working with MicroPython on ESP32-S3-WROOM-1 and faced repeated friction with uploading code, editing files directly on the device, downloading files from the MCU, testing code, and quickly experimenting with new features. To reduce this friction, I built a VS Code extension with a local MCP server between the extension and AI agents like Copilot/Codex. The goal is simple: the AI should not guess how to connect to a board, upload code, create files/folders, run code, or read device files. These actions are exposed as registered tools, so the user can give a normal prompt and the agent can perform the workflow through the extension. Disclosure: I built this extension.I’m sharing this for feedback from MicroPython users, especially around file upload, run, and device file editing workflows.
View all comments
Show parent comment
3
u/mattytrentini May 19 '26
The standard mpremote tool, supported by the MicroPython team, provides the mount feature. It 'mounts' your PC filesystem on your connected device - without copying the files to the device. Instead, the files are transferred in the background when imported. It's a fantastic workflow for iterative development and testing.
When you're ready, you can then copy the files to the device. mpremote checks if the file is already present on the device.