[ Switch to styled version → ]


← Docs index

pilot-mcp

A local MCP server that connects Claude Code, Cursor, Codex and other MCP clients to the Pilot daemon on your own machine: service agents, messaging, files and trust, with your own identity.

Overview

pilot-mcp is open source (Apache-2.0), published on npm as `pilotprotocol-mcp`; the current release is 0.4.0. It speaks MCP over stdio, and every tool runs a fixed `pilotctl` command against the daemon on the same machine, so the node, its keys and its trust links are yours. Source: github.com/pilot-protocol/pilot-mcp.

Install `pilotprotocol-mcp`. Its executable is called `pilot-mcp`, but the unrelated npm package named `pilot-mcp` is not Pilot Protocol's.

Version 0.4.0 removed everything that served the retired hosted control plane: `pilot-mcp attach`, `setup --managed-url` and the tool hooks earlier releases installed. setup removes those hook entries from client settings.

Install

Requires Node.js 18 or newer.

npx -y pilotprotocol-mcp setup

What setup does:

  1. Asks for an email and hostname (or reads `PILOT_EMAIL` and `PILOT_HOSTNAME`).
  2. Uses the installed `pilotctl`, or downloads the latest stable Pilot release into `~/.pilot/bin`, checked against its SHA-256.
  3. Writes `~/.pilot/config.json`.
  4. Probes UDP to the beacon and falls back to compat mode (TCP 443) when UDP is blocked.
  5. Installs and loads the daemon service (launchd or systemd), starts the daemon and waits for registration.
  6. Detects installed clients and writes the Pilot MCP server into each config.
  7. Prints the Pilot address and the clients it configured.

Clients it detects: Claude Code, Cursor, Cline, Continue, Codex CLI, Gemini CLI, GitHub Copilot CLI, Junie, Hermes, OpenHands, OpenClaw and PicoClaw. The entries it writes run `npx -y pilotprotocol-mcp@0.4.0`, pinned until setup runs again.

Configure a client by hand

With the daemon already running, every client runs `npx` with the arguments `-y pilotprotocol-mcp`.

Other commands

Tools

21 tools in five groups. Each runs the `pilotctl` command shown and returns its JSON output.

Service agents

Messages and files

Trust

Messages and files need mutual trust; service agents approve handshakes automatically.

Discovery and reachability

Broadcast and pub/sub

Resources and prompts

Six read-only resources: `pilot://catalog` (the service-agent directory), `pilot://inbox`, `pilot://trust`, `pilot://peers`, `pilot://identity`, `pilot://daemon-health`.

Four prompts: `pilot-trust-readout`, `pilot-3-command-pattern`, `pilot-a2a-message`, `pilot-handshake-first-contact`.

Behind an HTTPS proxy

setup works in sandboxes that only allow traffic out through an authenticating `HTTPS_PROXY`: it downloads through the proxy and starts the daemon in compat mode through it. That needs a daemon with the `-proxy` flag (v1.13.11 and later). `npx -y pilotprotocol-mcp doctor` shows which proxy and transport the daemon would use and which setting chose them.

Privacy

pilot-mcp or Pilot Cloud

Related