pi-mono/apps/p2/plugins/mcp
Armin Ronacher 1bc7076b25 feat(p2): expose MCP tools to code mode only, as pi does
MCP tools are deferred and callable only by other tools, so code mode scripts call them and neither the model nor tool_search sees them. While code mode is off or its plugin is not loaded, tool_search loads them instead, as pi falls back. The mcp_servers prompt section, as pi's, names the servers and how their tools are reached.
2026-11-03 18:29:00 +01:00
..
config.ts feat(p2): MCP servers on the host, on environments and from projects 2026-11-03 16:48:38 +01:00
contract.ts feat(p2): MCP servers on the host, on environments and from projects 2026-11-03 16:48:38 +01:00
environments.ts feat(p2): MCP servers on the host, on environments and from projects 2026-11-03 16:48:38 +01:00
instances.ts feat(p2): MCP servers on the host, on environments and from projects 2026-11-03 16:48:38 +01:00
leases.ts feat(p2): MCP servers on the host, on environments and from projects 2026-11-03 16:48:38 +01:00
package.json feat(p2): MCP servers on the host, on environments and from projects 2026-11-03 16:48:38 +01:00
placement.ts feat(p2): MCP servers on the host, on environments and from projects 2026-11-03 16:48:38 +01:00
project.ts feat(p2): MCP servers on the host, on environments and from projects 2026-11-03 16:48:38 +01:00
server.ts feat(p2): MCP servers on the host, on environments and from projects 2026-11-03 16:48:38 +01:00
tools.ts feat(p2): expose MCP tools to code mode only, as pi does 2026-11-03 18:29:00 +01:00
transports.ts feat(p2): MCP servers on the host, on environments and from projects 2026-11-03 16:48:38 +01:00
windows-command.ts feat(p2): MCP servers on the host, on environments and from projects 2026-11-03 16:48:38 +01:00
worker.ts feat(p2): expose MCP tools to code mode only, as pi does 2026-11-03 18:29:00 +01:00