Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

ctrlpi-mcp

Latest version: v0.9.52

Overview

Last scanned
30 Nov 2026
Published
30 Nov 2026
npm package Publisher: ctrlpi
1 Stars
0 Forks
4 Versions
1.2K Downloads
JavaScript Repo language

Scan summary

ctrlpi-mcp was last scanned on 30 Nov 2026 at version 0.9.52. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 4 versions; the latest was published on 30 Nov 2026.
  • Findings: No rules fired in version 0.9.52.
  • Downloads: 1,210 downloads.

Versions

4 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.9.52 LATEST 30 Nov 2026 No rules fired
0.9.50 23 Nov 2026 No rules fired
0.0.1 16 Nov 2026 Not shown
0.0.0-stage 16 Nov 2026 Not shown

No rules fired in 0.9.52

Findings

Findings for v0.9.52. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.9.52; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

ctrlPi MCP

Platform: Cross-Platform Version 0.9.52 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. It is a thin API proxy: every agent tool targets an agent and calls its REST API, forwarding that agent's own Api-Key. Two more tools read and write the config files of the ctrlPi smart home bridges on the same machine. Runs on a Mac, a Raspberry Pi, or any Linux box, secured with API key authentication, zero npm dependencies.

Looking for the GPIO servers themselves, or Apple HomeKit and Google Home? See the Related projects below.

Runs on a Mac, a Raspberry Pi, or any Linux box, secured with API key authentication, zero npm dependencies.

Claude Desktop · ctrlpi-remote · any MCP client
        │  MCP: STDIO or HTTP /mcp (:8315)
        ▼
  ctrlpi-mcp
        │  REST + Api-Key
        ▼
  Pi · Pico W · ESP32 agents (:8314)

Quick start

Requires Node.js 20 or newer and at least one GPIO agent on your LAN (pi-gpio-api, pico-gpio-api or esp32-gpio-api).

In Claude Desktop, open Plugins in the sidebar, choose Add > Add marketplace and enter:

ctrlpi/claude-plugins

The marketplace appears as ctrlpi; install ctrlpi-mcp from it. Then ask "What agents do I have?".

The first launch finds your agents on the LAN by itself (see Agent discovery).

From source: git clone https://github.com/ctrlpi/ctrlpi-mcp.git, then npm start in the folder.

Tools

Then just ask, for example:

  • "What agents do I have?"
  • "Turn on the garage relay for 5 seconds."
  • "Read the temperature sensor on the shed Pico."
  • "Which pins is garage-pi watching?"

Every tool except mcp_agents_list and the two bridge tools takes an agent argument naming an entry from the shared ~/.ctrlpi/agents-config.json.

Agents and pins

Tool Description
mcp_agents_list(rescan) List all configured agents with name, ip, port, online (live /hello probe), type (pi / pico / esp32), version (from /config/read) and has_default_key (still on the shipped agent key), plus last_updated_at: when the agent list was last saved, UTC YYYY-MM-DD HH:MM:SS. Unreachable agents are listed too, marked online=false. The LAN is swept automatically every hour to find new agents. Pass rescan=true to sweep it right now (it takes 10 seconds or more, so use it only when looking for new hardware).
mcp_gpio_read(agent, name_or_gpio) Read a pin by number or name. Pass "all" to read every configured pin.
mcp_gpio_write(agent, name_or_gpio, value, duration) Write "0", "1", "on", "off" or "toggle". Optional duration (seconds) pulses the pin and reverts it; a pin's configured max clamps that, and supplies it when no duration is given.
mcp_gpio_config(agent, gpio, name, type, init, pullup, max, reversed, watched, script) Configure a pin. Same fields as the agent's REST config endpoint, script included: a script from the agent's scripts/ folder to run when the pin's value changes, [on:\|off:]<file> [args] (agent 0.9.50 or later; an empty string clears it).
mcp_gpio_watched(agent) List the GPIO pins that are currently being actively watched (emitting hardware interrupts/webhooks).
mcp_gpio_scan(agent) Scan every hardware pin (BCM 2-27 on a Pi, GP0-GP28 on a Pico, every usable pin of the chip on an ESP32).

Sensors

Tool Description
mcp_sensor_config(agent, name, script, remove) Configure a named sensor. script is "<file> [args...]": a bare filename in the agent's scripts/ folder, letters/digits-only args. A shell script on a Pi, a .py the agent execs in-process on a Pico or ESP32. Pass remove=true to delete it.
mcp_sensor_read(agent, name) Read one sensor by name, or every configured sensor merged into one object when name is omitted.

Scripts

Tool Description
mcp_script_list(agent) List the files in the agent's scripts/ folder (name, size, modified), plus write: enabled, default_key (writes refused until the agent's key is changed) or locked.
mcp_script_read(agent, name) Read one file from scripts/.
mcp_script_write(agent, name, content, remove) Create or overwrite a file in scripts/ (a bare filename of up to 32 characters), or delete it with remove=true. Refused while the agent has the default key or a write.lock file is there. Writing write.lock locks script writes, and this tool can't remove it; a script run with mcp_script_run can, as can a shell (Pi) or USB (Pico, ESP32).
mcp_script_run(agent, name, args) Run a file from scripts/ and return exit_code and output: its stdout on a Pi (.py with Python, anything else with sh, 15 s limit), its read(*args) or result on a Pico or ESP32. Letters/digits-only args. Needs agents on 0.9.28 or later.

Config

Tool Description
mcp_config_read(agent) Read the agent's full config: notifications, bridges, settings, sensors, gpios, plus the live agent block.
mcp_config_write(agent, name, api_key, webhook_url, webhook_key, docs_enabled, logs_enabled, log_days) Update config fields, named ungrouped (the agent routes each into its group). Changing the agent's api_key takes effect immediately, and the bridge automatically updates its entry in the shared agents-config.json to match.
mcp_config_load(agent, config) Load a whole config onto the agent. Pass {} to reset it, keeping only its API key.

Agent control

Tool Description
mcp_agent_restart(agent, reboot) Restart the agent's process. reboot=true reboots the whole device instead (a Pi, Pico or ESP32; an agent running on a Mac restarts the process).
mcp_agent_upgrade(agent) Upgrade the agent to the latest release, then restart it. A Pi re-downloads the release and reinstalls dependencies; a Pico or ESP32 downloads the new files over WiFi and resets.
mcp_agent_logs(agent) Read the last 50 lines of the agent's log.

Smart home bridges (on this machine)

Tool Description
mcp_bridge_config_read(bridge, what) Read the config of a bridge on the machine this server runs on: matter (ctrlpi-matter) or homebridge (the ctrlPi entry of Homebridge's config.json). what: config (default) returns the config with every key masked as ********, a hash for the write, the bridge's README link and how a change applies; pairing returns the pairing codes; fields returns the field reference for every device type.
mcp_bridge_config_write(bridge, config, hash) Replace the config (for Homebridge, only the ctrlPi entry) using the hash from the read; refused if the file changed since. Leave a masked key as ******** to keep it. The old file is kept as <file>.bak. Matter reloads by itself within about 20 seconds; Homebridge is never restarted, and the result says to restart it.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm ctrlpi-mcp

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229