MCP server that exposes the pi coding agent as a delegable, steerable worker.
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.
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.
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.
Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.
Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.
| Tool | What it does |
|---|---|
| init | Call first. Reports reachable models, permitted tools, and how to drive a delegate. Every other tool refuses until it has run once. |
| spawn | Delegate in the background. Returns sessionId immediately. Use this by default. |
| spawn_batch | Fan out up to 10 delegates in one call. Validated as a batch, so nothing starts if one task is bad. |
| run | Delegate and block until done. For quick questions only. |
| status | State, turns, tools used, latest text, and pending questions. |
| steer | Redirect a running agent. Lands after its current tool call. |
| follow_up | Give a finished delegate another turn. It keeps everything it read, so you do not re-explain the task. |
| answer | Answer a question surfaced by status. Only reachable with extensions: true, since only extensions can ask. |
| abort | Stop a session; partial output stays readable. |
| models | List models this delegate may use. |
| sessions | List sessions, running and finished. Filter by state, expand with verbose. |
| forget | Drop a finished session from history, freeing its id. |
{
"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.
| Variable | Description | Required |
|---|---|---|
| PI_DELEGATE_MODEL | Declared in the maintainer’s client configuration. | Check documentation |
Read, search and edit files inside allowed directories with the Model Context Protocol reference Filesystem server.
Retrieve version-aware library documentation and code examples with Context7 MCP, using resolve-library-id and query-docs.
Use Microsoft’s Playwright MCP server to navigate pages, inspect accessibility snapshots, fill forms and capture browser screenshots.
Connect GitHub MCP to repositories, issues and pull requests with GitHub’s hosted service or a locally run server.
Use the Supabase MCP server to inspect database schemas, query project data and retrieve docs through a project-scoped connection.
Search Linear issues and projects, inspect work context and manage updates through Linear’s hosted MCP server with OAuth.