New advertisers: 50% off your first month with code FIRSTMONTHSee slots
ctrlpi avatar

Ctrlpi Mcp

ctrlpi/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
View on GitHub

What it does

  • Reads pins and sensors with mcp_gpio_read, mcp_gpio_scan, mcp_sensor_read, and mcp_agents_list, including all pins at once
  • Writes outputs and configuration with mcp_gpio_write, mcp_gpio_config, mcp_sensor_config, and mcp_config_write, with timed pulses supported
  • Manages scripts and agent lifecycle with mcp_script_run, mcp_agent_restart, mcp_agent_upgrade, and mcp_agent_logs
  • Designed for home automation and bench testing; HTTP mode requires an API key and runs as a background service

Tools

18 tools

Public 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

Platform: Cross-Platform Version 0.9.41 Node 20+ Auth: Api-Key Agents: Pi, Pico & ESP32 Protocol: MCP License: MIT Status: Beta Build Status

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.


View the full README on GitHub

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 3

Similar to Ctrlpi Mcp

More Workflow Automation