Pi Bay
Find Raspberry Pis on your LAN, browse their files and run commands from an AI assistant
Pi Bay is an MCP server for developer tools. It runs locally on your machine and is started by your AI client.
- Platforms
- macOS, Linux, Web
- Runs
- Locally
- What it can do
- Can delete data (1 tool)
- Version
- 0.9.50
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add pi-bay -- npx -y pi-bayAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"pi-bay": {
"command": "npx",
"args": [
"-y",
"pi-bay"
]
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"pi-bay": {
"command": "npx",
"args": [
"-y",
"pi-bay"
]
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"pi-bay": {
"command": "npx",
"args": [
"-y",
"pi-bay"
]
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"pi-bay": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"pi-bay"
]
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add pi-bay -- npx -y pi-bayOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.pi-bay]
command = "npx"
args = ["-y", "pi-bay"]Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"pi-bay": {
"command": "npx",
"args": [
"-y",
"pi-bay"
]
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "pi-bay": { "command": "npx", "args": [ "-y", "pi-bay" ] } } }Or run: gemini mcp add -s user pi-bay npx -- -y pi-bay
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "pi-bay": { "command": "npx", "args": [ "-y", "pi-bay" ] } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "pi-bay": { "command": "npx", "args": [ "-y", "pi-bay" ] } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "pi-bay": { "command": "npx", "args": [ "-y", "pi-bay" ] } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "pi-bay": { "command": "npx", "args": [ "-y", "pi-bay" ] } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "pi-bay": { "command": "npx", "args": [ "-y", "pi-bay" ] } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "pi-bay": { "command": "npx", "args": [ "-y", "pi-bay" ] } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "pi-bay": { "command": "npx", "args": [ "-y", "pi-bay" ] } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
About Pi Bay
Pi Bay is both a browser app and an MCP server for Raspberry Pis and other SSH devices. It scans the local network, detects ctrlPi agents including Picos and ESP32s, and shows name, IP, MAC address, model and ctrlPi version. Passwords can be saved in the system keychain, and SSH keys are tried too.
The browser app offers an SFTP file tree with editing, drag-and-drop uploads, ZIP backup and restore, running scripts, and an interactive SSH terminal. It can also install or update pi-gpio-api and toggle USB power through uhubctl.
The README warns that the MCP tools can run shell commands, overwrite and delete files, install software and reboot devices, and that HTTP mode has no authentication or TLS and must stay on a trusted network. Start with pi_devices_list and pass its device_id to the other tools.
Tools this server provides (12)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 1 of 12 tools deletes data and 4 change data; 4 names don't say.
From the server's own tool labels and tool names; not verified by us.
- pi_devices_listName suggests: reads
- Lists discovered devices with model and ctrlPi status.
- pi_device_info
- Returns hardware, OS, memory and uptime details.
- pi_device_authenticate
- Signs in over SSH, optionally saving the password.
- pi_command_runName suggests: changes
- Runs a shell command with a timeout.
- pi_files_listName suggests: reads
- Lists a folder relative to $HOME.
- pi_file_readName suggests: reads
- Reads a file as UTF-8 or base64.
- pi_file_writeName suggests: changes
- Creates or overwrites a file up to 16 MB.
- pi_directory_createName suggests: changes
- Creates a folder.
- pi_path_renameName suggests: changes
- Renames or moves a path.
- pi_path_deleteName suggests: deletes
- Deletes a file or folder recursively.
- pi_device_reboot
- Reboots the device.
- pi_ctrlpi_install
- Installs or updates the ctrlPi API.
What it does
- Device scan
- Finds Pis and SSH devices and shows model, IP and MAC.
- File browser
- SFTP tree with editing, uploads and ZIP backup.
- SSH terminal
- Interactive shell kept open across tabs.
- ctrlPi install
- Installs or updates pi-gpio-api.
- Keychain sign-in
- Uses saved passwords or SSH keys.
Good for
- Edit a config file on a Pi from a chat
- Reboot an unresponsive Pi
- Install the ctrlPi API on a new device
- Back up a Pi's home folder
Pi Bay FAQ
Is MCP on by default?
On Raspberry Pi hosts, yes; elsewhere enable it with --mcp-stdio or --mcp-http.
Is HTTP mode safe on the internet?
No. It has no authentication or TLS and should stay on a trusted local network.
Which port does the app use?
8383.
What is required?
Node.js 20 or newer and SSH enabled on the target device.
How do I add Pi Bay to Claude Code?
Run this command in your terminal: claude mcp add pi-bay -- npx -y pi-bay
What are the best alternatives to Pi Bay?
The closest alternatives to Pi Bay are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.
Where this comes from
- Description: written from the project's README and the project's website.
- Install steps: from the official MCP Registry entry.


