pico-bay
OfficialServer Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PICO_HOST | No | Host address to listen on. Normally 127.0.0.1; 0.0.0.0 on Raspberry Pi hosts. | |
| PICO_PORT | No | Web server port. | 7426 |
| PICO_NO_MCP | No | Disable all MCP transports, including the Raspberry Pi HTTP default. | false |
| PICO_HOLD_MS | No | Idle time before releasing and soft-resetting the board. | 900 |
| PICO_NO_OPEN | No | Do not automatically open the default browser on start. Accepts true/false or 1/0. | false |
| PICO_MCP_HTTP | No | Add Streamable HTTP MCP at /mcp to the normal web server. Enabled automatically on Raspberry Pi hosts. | |
| PICO_MCP_STDIO | No | Run only the MCP stdio transport. No web server or browser is started. | false |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Call pico_boards_list before using a board-specific tool.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| pico_boards_listA | List connected Raspberry Pi Pico and ESP32 boards with MicroPython or CircuitPython and report their capabilities. Use board_id from this result in every other tool. |
| pico_files_listA | List the complete board filesystem and report Flash and RAM usage. Hidden files (names starting with .) are omitted unless show_hidden is true. |
| pico_file_readA | Read one board file. auto returns UTF-8 text when safe and base64 for binary data; utf8 forces text; base64 always returns base64. |
| pico_file_writeA | Create or overwrite one board file, creating missing parent directories. content may be UTF-8 text or base64 and is limited to 8 MB decoded. |
| pico_directory_createA | Create a directory on the selected board, with any missing parent directories. An existing directory is not an error. |
| pico_path_renameA | Rename or move one file or directory on the selected board. The destination's folder must already exist, and an existing file at the destination may be replaced: check first. |
| pico_path_deleteA | Permanently delete one file or recursively delete one directory from the selected board. |
| pico_python_runA | Run a Python file as main or execute Python code. Provide exactly one of path or code. This can change any state accessible to code on the board. A program still running after timeout_ms is interrupted with Ctrl-C. |
| pico_board_interruptA | Send Ctrl-C to interrupt the program currently running on the selected board. |
| pico_board_resetA | Soft-reset the selected board, or hard-reset it when the firmware supports hard reset. |
| pico_board_bootloaderA | Restart the selected board into firmware install mode: BOOTSEL on a Pico, ROM download mode on an ESP32. The running program stops and the board leaves its normal serial port, so ask the user first. When an ESP32 cannot be reset automatically the result has manual: true and a reason, and the user must hold BOOT while pressing RESET. Afterwards call pico_boards_list, then pico_install with action check. |
| pico_ctrlpi_installA | Install or update the ctrlPi API agent on a Pico W, Pico 2 W or an ESP32 running MicroPython (pico-gpio-api or esp32-gpio-api, downloaded from GitHub; the ESP32 agent officially supports the ESP32, ESP32-S3, ESP32-C3 and ESP32-C6; other ESP32 chips are allowed but not officially supported). Writes app.mpy, upgrader.mpy and main.py (plus boot.py on an ESP32), then config.json (the board's own kept, with this api_key and name), wifi.txt and scripts/cpu-temp.py when missing, and resets the board. It replaces main.py, so ask the user first and pass confirmed: true. |
| pico_uiA | Open the pico-bay web UI (files, console, backup, firmware install) in the browser, starting its web server when needed (action open, the default). When pico-bay runs on a Raspberry Pi or another remote machine it cannot open the user's browser: the result then has opened: false, and url is the address to open in a browser on the user's computer. Action stop stops a web server this tool started; the pico-bay app itself is never stopped. |
| pico_installA | Install MicroPython on a Pico in BOOTSEL mode or a supported ESP32 in DOWNLOAD mode. Always call action check first. A Pico may require mounting and a Wi-Fi model choice. An ESP32 uses the detected chip-specific generic build. Obtain explicit confirmation before calling action install. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 14 tools
Most tools have clearly distinct resource-and-action purposes, and the descriptions help separate file operations from board operations. The main potential confusion is between pico_install and pico_ctrlpi_install, and to a lesser degree the reset/interrupt/bootloader trio, but each still has a distinct role.
All names use snake_case with a pico_ prefix, but the patterns are mixed: some are plural-resource-first (pico_boards_list, pico_files_list), some are singular-resource-first (pico_file_read, pico_path_rename), and others are verb-only or UI-oriented (pico_install, pico_ui). The convention is still readable, but it is not a single predictable verb_noun pattern.
Fourteen tools is within the well-scoped range for a board management server covering filesystem, execution, firmware, and UI operations. Each tool has a clear place in the workflow, and the count does not feel bloated.
The tool set covers board discovery, reset/interrupt/bootloader, file and directory CRUD, filesystem listing, Python execution, firmware installation, ctrlPi API installation, and a web UI. This provides a comprehensive lifecycle for managing Pico and ESP32 boards without obvious dead ends.