mpremote-mcp
MCP server for MicroPython boards via mpremote.
Install
uvx mpremote-mcp
Or:
pip install mpremote-mcp
mpremote-mcp
Configuration
| Variable | Default | Description |
|---|---|---|
MPY_PORT |
auto-detect | Serial port override (e.g. COM3, /dev/ttyACM0) |
MPY_BAUD |
115200 |
Baud rate |
Auto-detection connects to the first USB serial device found.
MCP client config example
{
"mcpServers": {
"micropython": {
"command": "uvx",
"args": ["mpremote-mcp"]
}
}
}
Tools
| Tool | Description |
|---|---|
exec |
Execute MicroPython code via raw REPL |
eval |
Evaluate an expression and return result |
run |
Run a local .py file on device from RAM |
device_info |
Board name, MicroPython version, memory info |
list_files |
List files/directories on device |
read_file |
Read file from device |
write_file |
Write file to device |
mkdir |
Create directory |
rmdir |
Remove directory |
rm |
Remove file |
touch |
Create empty file |
df |
Filesystem storage stats |
mip_install |
Install MicroPython package |
rtc_get |
Read device real-time clock |
rtc_set |
Sync device RTC to host time |
soft_reset |
Soft-reset (Ctrl-D equivalent) |
hard_reset |
Hard reset (machine.reset()) |
enter_bootloader |
Enter USB bootloader for flashing |
Metadata
Release files for mpremote-mcp 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| mpremote_mcp-0.1.1.tar.gz | 7.7 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mpremote_mcp-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.7 kB
Release files / mpremote_mcp-0.1.1.tar.gz
| Download URL | mpremote_mcp-0.1.1.tar.gz |
|---|---|
| Size | 7.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9b999c02cc42006c007ed5581cffb65abbbee690e4c98297234801182c4d7649
|
|
BLAKE2b-256 checksum How to use checksums |
ee129fd2a75c16fbbc16bd18d6a5c118a7f03a91e22ed5dba39c59887c6518a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 27, 2026.
Transparency logRelease files / mpremote_mcp-0.1.1-py3-none-any.whl
| Download URL | mpremote_mcp-0.1.1-py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b7b6cc000394402f15a8a3e0f623ad8bdf373d998581dd4f00b0d7d5b1e57602
|
|
BLAKE2b-256 checksum How to use checksums |
918ff1c6644621168a59d954175a2765b9c6f72242b4b1d9ba74686b5a62ee7a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 27, 2026.
Transparency logSecurity for mpremote-mcp 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for mpremote_mcp-0.1.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 27, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.