Skip to main content
Glama
raspberry-pi-connect-mcp

raspberry-pi-connect-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
RPI_CONNECT_ALLOWNoComma-separated name substrings. Only matching devices can be used.
RPI_CONNECT_CHROMENoPath to a Chrome binary.
RPI_CONNECT_HEADEDNoShow the browser window (debugging). Set to 1 to enable.
RPI_CONNECT_PROFILENoChrome profile dir used by `login`.
RPI_CONNECT_SESSIONNoPath to the saved session file.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_devicesA

List devices on the Raspberry Pi Connect account with online status and whether remote shell is allowed.

run_commandA

Run a shell command on a device through its Connect remote shell and return output + exit code. The shell session persists between calls (cwd, env vars). First call to a device takes ~30s to connect. Commands that wait for input (sudo password, editors, confirmations) will time out; use send_keys/read_screen for those.

send_keysA

Send raw keystrokes to a device shell (for interactive programs). Supports escapes: "\n" Enter, "\x03" Ctrl-C, "\x04" Ctrl-D, "\t" Tab, "\x1b" Esc, "\x1b[A" Up. Returns the current screen.

read_screenA

Read the current terminal screen (plus a little scrollback) of a device shell.

close_sessionC

Close the remote shell session to a device.

accountA

Show which Raspberry Pi Connect account is signed in (email when it can be read), when the session was saved, its device names, and whether a login is in progress.

loginA

Sign in to Raspberry Pi Connect: opens a Chrome window on this computer where the USER signs in by hand (tell them to do so). Waits up to wait_sec for it; if still in progress, call account later. fresh=true signs out the current account first (switch account). The new session is used right away.

logoutA

Sign out of Raspberry Pi Connect. The session and Chrome profile are moved to a backup folder (old-account_) so the account can be restored, or deleted with delete=true.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.6/5.0

Scored across 8 tools

Disambiguation4/5

Each tool targets a fairly distinct concern: account lifecycle (login/logout/account), device inventory (list_devices), and remote shell control (run_command/send_keys/read_screen/close_session). The only mild overlaps are send_keys vs run_command (both drive the shell, though the description explains when to use each) and send_keys returning the screen, which partially duplicates read_screen. An agent can pick correctly with the given descriptions.

Naming Consistency3/5

Most tools follow a verb_noun pattern (read_screen, list_devices, close_session, run_command, send_keys), but 'account' is a bare noun getter while 'login'/'logout' are verb-only with no object. The mix is still readable, but the stray noun getter breaks the otherwise predictable convention.

Tool Count5/5

Eight tools is well-scoped for a server covering account auth plus remote shell access. Every tool maps to a necessary operation (status, sign in/out, list devices, execute, interact, read output, close) with no filler.

Completeness4/5

Auth lifecycle (login/logout/account), device discovery, and the shell loop (run/send_keys/read_screen/close_session) are all covered, so core workflows have no dead ends. Gaps are minor-to-moderate: no file transfer to/from devices, no scrollback paging despite read_screen mentioning scrollback, and no explicit session-open or long-running-command polling mechanism.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues