pi-mono/packages
Armin Ronacher a6bc4036d7 feat(coding-agent): let extensions register MCP servers
pi.registerMcpServer(name, config) adds a server for the session with the mcp.json config shape; pi.unregisterMcpServer() removes it and pi.getMcpServers() lists registrations. Servers registered while loading connect on session_start, later ones right away. A server in mcp.json with the same name takes precedence and /mcp shows the override. Changes to registered servers in /mcp apply to the session only.

The mcp_servers_change event lets any MCP extension connect registered servers; when none handles it, registrations are reported as extension errors.
2026-09-27 23:50:53 +02:00
..
agent refactor(agent,coding-agent): isolate codemode, tool search, and MCP from the core 2026-09-27 21:15:56 +02:00
ai feat(codemode,coding-agent): rename the exec tool back to codemode 2026-09-27 23:22:48 +02:00
chord feat: build with TypeScript 7 and run sources with plain node 2026-09-25 13:14:33 +02:00
client feat: build with TypeScript 7 and run sources with plain node 2026-09-25 13:14:33 +02:00
codemode feat(codemode,coding-agent): rename the exec tool back to codemode 2026-09-27 23:22:48 +02:00
coding-agent feat(coding-agent): let extensions register MCP servers 2026-09-27 23:50:53 +02:00
durable docs(durable): clarify scratch examples 2026-09-25 18:05:22 +02:00
evals feat: build with TypeScript 7 and run sources with plain node 2026-09-25 13:14:33 +02:00
mcp fix(mcp,coding-agent): bound SSE event data and report codemode spill errors 2026-09-27 17:38:40 +02:00
protocol feat: build with TypeScript 7 and run sources with plain node 2026-09-25 13:14:33 +02:00
server feat: build with TypeScript 7 and run sources with plain node 2026-09-25 13:14:33 +02:00
session-backends/sqlite-node feat: build with TypeScript 7 and run sources with plain node 2026-09-25 13:14:33 +02:00
telemetry feat: build with TypeScript 7 and run sources with plain node 2026-09-25 13:14:33 +02:00
tui feat(coding-agent,tui): System theme (#10067) 2026-09-26 13:33:47 +02:00