mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-05 23:37:25 +00:00
A manager on the p2 server owns every MCP connection and process. Session workers hold one view each and lease the locations their conversations work at; the manager runs the owner's mcp.json servers there (stdio per session and location, or shared; HTTP shared by default) and offers their tools as deferred Durable tools found through tool_search. Stdio servers on an environment start through its pi-env daemon, one connection per environment shared by its instances, through cmd.exe on Windows. A project's .pi/mcp.json, read by the worker at each location, may add stdio servers that run there and switch the owner's servers on or off; the manager refuses everything else. A lease gets servers only on environments its session works on. |
||
|---|---|---|
| .. | ||
| p3-functions | ||
| p3-reviews | ||
| research | ||
| changes.md | ||
| chord-next-walkthrough.md | ||
| chord-walkthrough.md | ||
| durable-request.md | ||
| handoff.md | ||
| history-tool.md | ||
| mcp-durable.md | ||
| p2-notes.md | ||
| p2-tui-port.md | ||
| p3-handoff.md | ||
| p3-walkthrough.md | ||
| plugin-hooks.md | ||
| plugin-loading.md | ||
| questions.md | ||
| remote-envs.md | ||
| target-design.md | ||
| workflows.md | ||