Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mpremote_mcp-0.1.1.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mpremote_mcp-0.1.1-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

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

Hashes for mpremote_mcp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 9b999c02cc42006c007ed5581cffb65abbbee690e4c98297234801182c4d7649
MD5 46d8ac4a2e9e1d137d47cc6fc6cd02f7
BLAKE2b-256 ee129fd2a75c16fbbc16bd18d6a5c118a7f03a91e22ed5dba39c59887c6518a5

See more details on using hashes here.

Provenance

The following attestation bundles were made for mpremote_mcp-0.1.1.tar.gz:

Publisher: release.yml on wannessels/mpremote-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for mpremote_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b7b6cc000394402f15a8a3e0f623ad8bdf373d998581dd4f00b0d7d5b1e57602
MD5 1c182cf893877a52f44b4e329d993020
BLAKE2b-256 918ff1c6644621168a59d954175a2765b9c6f72242b4b1d9ba74686b5a62ee7a

See more details on using hashes here.

Provenance

The following attestation bundles were made for mpremote_mcp-0.1.1-py3-none-any.whl:

Publisher: release.yml on wannessels/mpremote-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page