MCP server for MicroPython boards via mpremote
Project description
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 |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mpremote_mcp-0.1.1.tar.gz.
File metadata
- Download URL: mpremote_mcp-0.1.1.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b999c02cc42006c007ed5581cffb65abbbee690e4c98297234801182c4d7649
|
|
| MD5 |
46d8ac4a2e9e1d137d47cc6fc6cd02f7
|
|
| BLAKE2b-256 |
ee129fd2a75c16fbbc16bd18d6a5c118a7f03a91e22ed5dba39c59887c6518a5
|
Provenance
The following attestation bundles were made for mpremote_mcp-0.1.1.tar.gz:
Publisher:
release.yml on wannessels/mpremote-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mpremote_mcp-0.1.1.tar.gz -
Subject digest:
9b999c02cc42006c007ed5581cffb65abbbee690e4c98297234801182c4d7649 - Sigstore transparency entry: 1004215454
- Sigstore integration time:
-
Permalink:
wannessels/mpremote-mcp@c8648f61ffdc61de5d8abea53d3e4e4f85d0b6e6 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/wannessels
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@c8648f61ffdc61de5d8abea53d3e4e4f85d0b6e6 -
Trigger Event:
push
-
Statement type:
File details
Details for the file mpremote_mcp-0.1.1-py3-none-any.whl.
File metadata
- Download URL: mpremote_mcp-0.1.1-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b7b6cc000394402f15a8a3e0f623ad8bdf373d998581dd4f00b0d7d5b1e57602
|
|
| MD5 |
1c182cf893877a52f44b4e329d993020
|
|
| BLAKE2b-256 |
918ff1c6644621168a59d954175a2765b9c6f72242b4b1d9ba74686b5a62ee7a
|
Provenance
The following attestation bundles were made for mpremote_mcp-0.1.1-py3-none-any.whl:
Publisher:
release.yml on wannessels/mpremote-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mpremote_mcp-0.1.1-py3-none-any.whl -
Subject digest:
b7b6cc000394402f15a8a3e0f623ad8bdf373d998581dd4f00b0d7d5b1e57602 - Sigstore transparency entry: 1004215456
- Sigstore integration time:
-
Permalink:
wannessels/mpremote-mcp@c8648f61ffdc61de5d8abea53d3e4e4f85d0b6e6 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/wannessels
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@c8648f61ffdc61de5d8abea53d3e4e4f85d0b6e6 -
Trigger Event:
push
-
Statement type: