pi-delegate-mcp MCP Server

MCP server that exposes the pi coding agent as a delegable, steerable worker.

Local serverstdioMIT

What is the pi-delegate-mcp Server?

pi-delegate-mcp is an MCP project maintained in the howznguyen/pi-delegate-mcp repository. The maintainer describes its purpose as “MCP server that exposes the pi coding agent as a delegable, steerable worker”. Read the project documentation for the complete scope.

Installation

The documented npm package is pi-delegate-mcp. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.

Configuration values

The example declares PI_DELEGATE_MODEL. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
initCall first. Reports reachable models, permitted tools, and how to drive a delegate. Every other tool refuses until it has run once.
spawnDelegate in the background. Returns sessionId immediately. Use this by default.
spawn_batchFan out up to 10 delegates in one call. Validated as a batch, so nothing starts if one task is bad.
runDelegate and block until done. For quick questions only.
statusState, turns, tools used, latest text, and pending questions.
steerRedirect a running agent. Lands after its current tool call.
follow_upGive a finished delegate another turn. It keeps everything it read, so you do not re-explain the task.
answerAnswer a question surfaced by status. Only reachable with extensions: true, since only extensions can ask.
abortStop a session; partial output stays readable.
modelsList models this delegate may use.
sessionsList sessions, running and finished. Filter by state, expand with verbose.
forgetDrop a finished session from history, freeing its id.

How to install the pi-delegate-mcp Server

{
  "mcpServers": {
    "pi": {
      "command": "npx",
      "args": [
        "-y",
        "pi-delegate-mcp"
      ],
      "env": {
        "PI_DELEGATE_MODEL": "openrouter/stealth/ox-alpha"
      },
      "timeout": 1800000
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
PI_DELEGATE_MODELDeclared in the maintainer’s client configuration.Check documentation