
Ctrlpi Mcp
Control Raspberry Pi, Pico W, and ESP32 GPIO agents on the LAN through their REST APIs.
- GitHub stars
- 1
- tools
- 18
- transport
- STDIO
- last updated
- Nov 18, 2026
What it does
- Reads pins and sensors with
mcp_gpio_read,mcp_gpio_scan,mcp_sensor_read, andmcp_agents_list, including all pins at once - Writes outputs and configuration with
mcp_gpio_write,mcp_gpio_config,mcp_sensor_config, andmcp_config_write, with timed pulses supported - Manages scripts and agent lifecycle with
mcp_script_run,mcp_agent_restart,mcp_agent_upgrade, andmcp_agent_logs - Designed for home automation and bench testing; HTTP mode requires an API key and runs as a background service
Tools
18 toolsPublic tool metadata for what this MCP can expose to an agent.
mcp_agents_listList all configured agents with name, ip, port, online status, type, version, has_default_key, and last_updated_at.
List all configured agents with name, ip, port, online status, type, version, has_default_key, and last_updated_at.
No parameter schema in public metadata yet.
mcp_gpio_readRead a pin by number or name. Pass "all" to read every configured pin.
Read a pin by number or name. Pass "all" to read every configured pin.
No parameter schema in public metadata yet.
mcp_gpio_writeWrite "0", "1", "on", "off" or "toggle" to a pin, with an optional duration in seconds to pulse the pin and revert it.
Write "0", "1", "on", "off" or "toggle" to a pin, with an optional duration in seconds to pulse the pin and revert it.
No parameter schema in public metadata yet.
mcp_gpio_configConfigure a pin. Same fields as the agent's REST config endpoint.
Configure a pin. Same fields as the agent's REST config endpoint.
No parameter schema in public metadata yet.
mcp_gpio_watchedList the GPIO pins that are currently being actively watched (emitting hardware interrupts/webhooks).
List the GPIO pins that are currently being actively watched (emitting hardware interrupts/webhooks).
No parameter schema in public metadata yet.
mcp_gpio_scanScan every hardware pin on the agent.
Scan every hardware pin on the agent.
No parameter schema in public metadata yet.
mcp_sensor_configConfigure a named sensor, or remove it with remove=true.
Configure a named sensor, or remove it with remove=true.
No parameter schema in public metadata yet.
mcp_sensor_readRead one sensor by name, or every configured sensor merged into one object when name is omitted.
Read one sensor by name, or every configured sensor merged into one object when name is omitted.
No parameter schema in public metadata yet.
mcp_script_listList the files in the agent's scripts/ folder, plus write status.
List the files in the agent's scripts/ folder, plus write status.
No parameter schema in public metadata yet.
mcp_script_readRead one file from scripts/.
Read one file from scripts/.
No parameter schema in public metadata yet.
mcp_script_writeCreate or overwrite a file in scripts/, or delete it with remove=true.
Create or overwrite a file in scripts/, or delete it with remove=true.
No parameter schema in public metadata yet.
mcp_script_runRun a file from scripts/ and return exit_code and output.
Run a file from scripts/ and return exit_code and output.
No parameter schema in public metadata yet.
mcp_config_readRead the agent's full config: notifications, bridges, settings, sensors, gpios, plus the live agent block.
Read the agent's full config: notifications, bridges, settings, sensors, gpios, plus the live agent block.
No parameter schema in public metadata yet.
mcp_config_writeUpdate config fields on the agent.
Update config fields on the agent.
No parameter schema in public metadata yet.
mcp_config_loadLoad a whole config onto the agent. Pass {} to reset it, keeping only its API key.
Load a whole config onto the agent. Pass {} to reset it, keeping only its API key.
No parameter schema in public metadata yet.
mcp_agent_restartRestart the agent's process, or reboot the whole device with reboot=true.
Restart the agent's process, or reboot the whole device with reboot=true.
No parameter schema in public metadata yet.
mcp_agent_upgradeUpgrade the agent to the latest release, then restart it.
Upgrade the agent to the latest release, then restart it.
No parameter schema in public metadata yet.
mcp_agent_logsRead the last 50 lines of the agent's log.
Read the last 50 lines of the agent's log.
No parameter schema in public metadata yet.
Readme
ctrlPi MCP
An MCP (Model Context Protocol) server that lets an AI agent (e.g. Claude Desktop) control one or more GPIO agents through an ordinary conversation, by calling their REST API over HTTP.
Runs on a Mac, a Raspberry Pi, or any Linux box, secured with API key authentication, zero npm dependencies.
Details
- Repository
- github.com/ctrlpi/ctrlpi-mcp
- Website
- ctrlpi.com/ctrlpi-mcp
- Categories
- Workflow Automation, Developer Tools
- Package
ctrlpi-mcp- Transport
- STDIO
- Registry
- MCP registry, active
More from ctrlpi
All 3Similar to Ctrlpi Mcp
More Workflow Automation
mcp-hassSkillaahl/skills3.2K installsControl Home Assistant devices and query states through its MCP server using mcporter commands.
Picocalc McpMCP serverlofifren80 starsFirmware and tooling for controlling a PicoCalc MicroPython handheld from an AI assistant over USB.
Raspberry Pi Connect (Raspi Connect / RPi Connect) MCPMCP serverkritzerenkrieg3 starsShell access to Raspberry Pi devices through the Raspberry Pi Connect web remote shell.
LibreNMS MCPMCP servermhajder44 starsRead and write access to LibreNMS devices, ports, device groups, and locations for monitoring data.
Ha McpMCP serverhomeassistant-ai8.1K starsConnects Home Assistant to AI assistants for reading state and making changes to devices and automations.
UniFi Network MCPMCP serversirkirby1.1K starsManages UniFi Network controllers through devices, clients, firewall, VLANs, VPNs, and statistics tools.