Listed from the MCP registry; nobody on Odel publishes it.
Raspi Connect MCP: shell access to Raspberry Pi devices via Raspberry Pi Connect web shell
Runs on your machine from its package; the steps are below.
At most: moves money, runs code or commands, deletes data, or sends messages for you.
Odel charges nothing per call. The publisher may charge for its own service.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Run
npx -y raspberry-pi-connect-mcp
MCP client config
{
"mcpServers": {
"raspberry-pi-connect-raspi-connect-rpi-connect-mcp": {
"command": "npx",
"args": [
"-y",
"raspberry-pi-connect-mcp"
]
}
}
}Raspi Connect MCP · RPi Connect MCP — an MCP server that gives an AI agent (Claude Code, Claude Desktop, or any MCP client) shell access to your Raspberry Pi devices through the Raspberry Pi Connect web remote shell.
Looking for "raspi connect mcp", "rpi connect mcp", "raspberry pi connect mcp" or "raspi remote shell mcp"? This is that project. Search terms:
raspi-connect-mcp,rpi-connect-mcp,raspberry-pi-connect-mcp.
Raspberry Pi Connect has no public API for its remote shell, so this server drives the web UI with a headless Chrome: it opens the device's remote-shell page, hooks the xterm.js terminal, types commands and reads the output back. No SSH, port forwarding, VPN or public IP is needed. If the Pi shows up in Connect, the agent can use it.
Unofficial project. Not affiliated with or endorsed by Raspberry Pi Ltd.
RPI_CONNECT_ALLOW) to limit which Pis the agent may usenpx @puppeteer/browsers install chrome@stable --path ~/.cache/rpi-connect-mcp
npx -p raspberry-pi-connect-mcp raspberry-pi-connect-mcp-login # sign in by hand in the Chrome window
claude mcp add rpi-connect -- npx -y raspberry-pi-connect-mcp
git clone https://github.com/kritzerenkrieg/raspberry-pi-connect-mcp.git
cd raspberry-pi-connect-mcp
npm install
npx @puppeteer/browsers install chrome@stable --path ~/.cache/rpi-connect-mcp
npm run login # a Chrome window opens: sign in by hand; it closes by itself once the device list loads
npm run login (or the login tool; npm run login -- --fresh / login(fresh=true) to switch account) saves the session cookies to ~/.config/rpi-connect-mcp/session.json (mode 600).
Treat that file like a password. Connect cookies are session-only, so run npm run login again when the tools report that the session expired.
Register the server with your MCP client. For Claude Code:
claude mcp add rpi-connect -- node /absolute/path/to/raspberry-pi-connect-mcp/src/server.js
Other clients (Claude Desktop, etc.):
{
"mcpServers": {
"rpi-connect": {
"command": "node",
"args": ["/absolute/path/to/raspberry-pi-connect-mcp/src/server.js"],
"env": { "RPI_CONNECT_ALLOW": "lab-pi,kiosk" }
}
}
}
| Tool | What it does |
|---|---|
list_devices | Devices on the account: id, name, client version, last seen, online, remote shell / screen sharing allowed |
run_command(device, command, timeout_sec=60) | Run a bash command line; returns { device, exitCode, output }. If it is still running at the timeout, returns timedOut: true and the partial output |
send_keys(device, keys) | Send raw keystrokes (\n, \t, \x03 Ctrl-C, \x04 Ctrl-D, \x1b[A Up…); returns the screen |
read_screen(device, lines=0) | Current terminal screen plus a little scrollback |
close_session(device) | Close the shell session for a device |
account | Which account is signed in (email when readable), session age, device names, login in progress |
login(fresh=false, wait_sec=180) | Opens a Chrome window on this computer for the user to sign in; the new session is used right away. fresh=true signs out first (switch account) |
logout(delete=false) | Signs out: session and Chrome profile move to ~/.config/rpi-connect-mcp/old-account_<time>/ (restorable), or are deleted |
device can be the exact name, a unique substring of the name, or the device UUID.
The first call to a device takes about 10 to 30 s while Connect sets up the WebRTC relay. Later calls reuse the session.
| Env var | Purpose |
|---|---|
RPI_CONNECT_ALLOW | Comma-separated name substrings. Only matching devices can be used |
RPI_CONNECT_HEADED=1 | Show the browser window (debugging) |
RPI_CONNECT_CHROME | Path to a Chrome binary |
RPI_CONNECT_SESSION | Path to the saved session file |
RPI_CONNECT_PROFILE | Chrome profile dir used by login |
[Y/n]) will time out in run_command. Use send_keys / read_screen for those, or pass -y style flags.nohup … & and poll a log file instead of holding the call open.head, tail or grep to keep them small.This hands an AI agent a real shell on your devices, with the privileges of the Connect user (often passwordless sudo).
RPI_CONNECT_ALLOW to limit which devices the agent can use, and keep your MCP client's per-call approval prompts onsession.json private; anyone holding it can use your Connect account until the session expiresscripts/probe.js [url] dumps the structure of a Connect page. scripts/probe-shell.js <device> inspects how the remote shell renders without typing anything.
Both are useful when Connect's UI changes and the selectors in src/connect.js need updating.
MIT