opencode/packages/protocol
Dan Smolsky c5754d37fc feat(mcp): scope a client MCP connection to one session
A client MCP connection (/api/experimental/client-mcp) can pass an optional
sessionID query parameter. Its tools then appear only in that session's tool
snapshot and Code Mode catalog, so only that session gets the add/remove catalog
notes, and calls from any other session fail with a clear error. The server
checks that the session exists and belongs to the connection's location before
upgrading (404 SessionNotFoundError otherwise). Without sessionID nothing
changes.

connectClientMcp accepts sessionID; openapi.json regenerated.

Verified: typecheck for core, server, client, protocol; core codemode/mcp/
session-runner/tool suites, server client-mcp, client mcp and tui client-mcp
tests pass.
2026-11-10 18:08:47 -05:00
..
script fix: tighten openapi copy folding and the sqlite interrupt test (#60794) 2026-10-31 12:26:25 -07:00
src feat(mcp): scope a client MCP connection to one session 2026-11-10 18:08:47 -05:00
test fix: tighten openapi copy folding and the sqlite interrupt test (#60794) 2026-10-31 12:26:25 -07:00
openapi.json feat(mcp): scope a client MCP connection to one session 2026-11-10 18:08:47 -05:00
package.json release: v2.2.7 (#63085) 2026-11-10 04:49:26 -06:00
sst-env.d.ts zen: new inference 2026-06-25 12:15:34 -04:00
tsconfig.build.json feat(protocol): publish package 2026-07-01 13:53:09 -04:00
tsconfig.json chore: upgrade typecheck to TypeScript 7.0.2 (#56300) 2026-10-17 13:26:46 -07:00