Pico Bay logo

Pico Bay

by ctrlpi

Manage Raspberry Pi Pico and ESP32 boards over USB with MCP tools for files, Python execution, resets, and firmware installation.

Install Pico Bay

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "ctrlpi-pico-bay": {
      "command": "npx",
      "args": [
        "-y",
        "pico-bay"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 14 tools correctly ().

Overview

ctrlpi/pico-bay MCP server connects AI clients to Raspberry Pi Pico and ESP32 boards running MicroPython or CircuitPython over USB. It exposes tools for board discovery, filesystem operations, Python execution, interrupts, resets, bootloader mode, and MicroPython installation. Use it for embedded development workflows where an agent needs to inspect or modify board files and run code without replacing the board's main program. It also supports stdio and Streamable HTTP connections, with HTTP intended for trusted local networks.

Use cases

  • Inspect connected boards and their firmware capabilities
  • Edit MicroPython or CircuitPython files over USB
  • Run Python scripts and interrupt active programs
  • Install MicroPython firmware on Pico and ESP32 boards
  • Configure supported boards as ctrlPi API agents

Key features

  • MCP stdio and Streamable HTTP modes
  • USB discovery for multiple Pico and ESP32 boards
  • Filesystem browsing and file mutation tools
  • Remote Python execution with Ctrl-C interruption
  • Board reset and bootloader controls
  • MicroPython firmware and ctrlPi API installation

Tools14

What Pico Bay lets your agent do. Expand a tool for its parameters.

Verified live~2.0k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

4/4 checks healthy over the last 12d

What it can do

From the 14 tools this server returned when we ran it; 14 declare their own safety hints.

Runs commands · 1Can delete or modify data · 8Handles credentials · 1Makes network requests · 3Read-only tools · 6
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceNot published
Package age3 days
Maintainers1

Observed 2026-11-19 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 12d ago via OSV.dev · pico-bay (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars10Stargazers on the source repository.
npm downloads1.1kPackage downloads in the last 30 days.
Last commitTodayMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed14Callable tools this server registers over MCP.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Pico Bay works

What ctrlpi/pico-bay MCP server does

ctrlpi/pico-bay provides MCP access to Raspberry Pi Pico and ESP32 boards connected over USB. It supports MicroPython and CircuitPython on Pico, Pico W, Pico 2, Pico 2 W, ESP32, ESP32-S2, ESP32-C3, ESP32-C6, and ESP32-S3 families. The application detects multiple boards, tracks USB hot-plug events, identifies the firmware environment, and reports Flash and RAM usage.

Agents can inspect and modify a board's filesystem, execute Python, interrupt running programs, reset boards, and install MicroPython firmware. The server also includes tools for entering BOOTSEL or ESP32 download mode and installing the ctrlPi API agent on supported Wi-Fi boards.

How it works

Start the application with Node.js 20 or newer using npx pico-bay. The web interface normally opens on port 7426, while MCP can run over standard input/output or Streamable HTTP. MCP is enabled by default on Raspberry Pi hosts; on macOS and other systems, enable it in the interface or start the process with --mcp-stdio or --mcp-http.

For remote access, start HTTP mode and connect to http://HOST:7426/mcp. A Raspberry Pi listens on the LAN by default. Other hosts can use --host 0.0.0.0 to accept connections from another computer. The server returns plain JSON responses rather than SSE and supports both the newer MCP revision and the legacy initialize flow described by the project.

Call pico_boards_list before other board-specific operations. Its stable board_id is then passed to filesystem, execution, reset, and firmware tools. ZIP backup and restore, live console streaming, and the web interface's delete-all-files action are available in the application but are not exposed as MCP tools.

Setup and configuration

Install Node.js 20 or newer, then run:

Terminal
npx pico-bay

For Claude Desktop or Cursor, add a stdio entry that runs npx -y pico-bay --mcp-stdio. Cursor can use the same JSON structure in ~/.cursor/mcp.json or a project-level .cursor/mcp.json. The --mcp-stdio flag is optional when pico-bay detects an MCP client on standard input.

HTTP connections can use mcp-remote with the /mcp endpoint. The --allow-http option is required by the example configuration for a trusted local network. HTTP has no authentication or TLS, so it should not be exposed directly to the internet.

Tools and capabilities

  • pico_boards_list discovers boards and reports firmware, IDs, and capabilities.
  • pico_files_list, pico_file_read, and pico_file_write inspect and edit board files. Writes support UTF-8 or base64 content up to 8 MB decoded.
  • pico_directory_create, pico_path_rename, and pico_path_delete manage files and directories, including recursive deletion.
  • pico_python_run runs a file as __main__ or executes supplied Python code and returns output.
  • pico_board_interrupt sends Ctrl-C, while pico_board_reset performs a supported soft or hard reset.
  • pico_board_bootloader enters Pico BOOTSEL or ESP32 download mode.
  • pico_install installs matching MicroPython firmware on supported bootloader devices.
  • pico_ctrlpi_install installs or updates the ctrlPi API agent on supported Wi-Fi boards.
  • pico_ui opens the local web interface or returns its address, and can stop it.

The application can detect read-only filesystems, identify RP2040 and RP2350 boot devices, install matching Pico firmware, and install generic MicroPython firmware for supported ESP32 chips. It can also preserve existing ctrlPi agent settings when updating an already configured board.

Limitations and notes

MCP can run code, overwrite files, reset boards, and permanently delete files. HTTP mode is therefore suitable only for a trusted local network and has no built-in authentication or TLS. Boards must be connected over USB, and Pico W or Pico 2 W selection is required when installing firmware from BOOTSEL mode because the W variant cannot be identified automatically there.

The ctrlPi API installation is limited to supported Wi-Fi-capable MicroPython boards; it is unavailable for non-W Pico boards and CircuitPython devices. Installing firmware requires keeping the board connected until the process completes.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Pico Bay

ctrlpi/pico-bay is an MCP server that connects AI clients to Raspberry Pi Pico and ESP32 boards over USB. Its main tools discover boards, browse and edit files, run Python, interrupt or reset programs, enter bootloader modes, and install MicroPython firmware. It supports boards running MicroPython or CircuitPython.

Install Node.js 20 or newer and run `npx pico-bay`. For MCP stdio mode, configure the client to run `npx -y pico-bay --mcp-stdio`; pico-bay can detect an MCP client on standard input without that flag.

Yes, ctrlpi/pico-bay works with Cursor through the same MCP JSON configuration used for stdio connections. Put the configuration in `~/.cursor/mcp.json` or in `.cursor/mcp.json` within a project. Streamable HTTP is also supported through the `/mcp` endpoint.

Yes, it can install MicroPython on a Pico in BOOTSEL mode or a supported ESP32 in download mode. Use `pico_board_bootloader` first, then call `pico_install`; Pico W variant selection is required during BOOTSEL installation.

No, HTTP mode is intended only for a trusted local network because it provides no authentication or TLS. MCP tools can execute code, overwrite files, reset boards, and delete files permanently, so the `/mcp` endpoint should not be exposed directly to the internet.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewPico Bay AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/ctrlpi-pico-bay?style=directory)](https://allmcps.com/mcp/ctrlpi-pico-bay)
HTML Embed
<a href="https://allmcps.com/mcp/ctrlpi-pico-bay"><img src="https://allmcps.com/api/badge/ctrlpi-pico-bay?style=directory" alt="Pico Bay on AllMCPs" /></a>