MICROCONTROLLERS / HM-MC-107
HM-MC-107 · datasheet

raspberry-pi-connect-mcp

MCP server that gives an agent shell access to Raspberry Pi devices through the Raspberry Pi Connect web remote shell, driven by headless Chrome, so no SSH, port forwarding or public IP is needed

01 · What it does

  • List devices on the Connect account with online status and remote shell availability
  • Run a command and return its output and exit code
  • Keep a persistent shell session per device (cwd, env vars, background jobs)
  • Send raw keys and read the screen for interactive programs
  • Restrict which Pis the agent may use with RPI_CONNECT_ALLOW

02 · Install

$ npx @puppeteer/browsers install chrome@stable --path ~/.cache/rpi-connect-mcp
$ npx -p raspberry-pi-connect-mcp raspberry-pi-connect-mcp-login
$ claude mcp add rpi-connect -- npx -y raspberry-pi-connect-mcp
  1. 8 tools. There is no public API for the Connect remote shell, so the server drives the web UI; selectors may need updating when Connect changes
  2. Session cookies are saved to ~/.config/rpi-connect-mcp/session.json; treat it like a password. Sessions expire, so sign in again by hand
  3. Gives the agent a real shell with the Connect user's privileges. Unofficial, not affiliated with Raspberry Pi Ltd. npm raspberry-pi-connect-mcp, release v0.2.0 (Nov 18)

Install steps taken from the project README (its recommended path first). Placeholders are the maintainer's. Not bench-tested by HardwareMCP yet.

Weekly bulletin

New hardware MCP servers, notable releases and setup notes. One email, Mondays.