Skip to content

feat(gateway): support session MCP servers and background cancellation - #263

Merged
danielkov merged 2 commits into
mainfrom
feat/gateway-session-mcp-background-cancel
Oct 5, 2026
Merged

danielkov merged 2 commits into
mainfrom
feat/gateway-session-mcp-background-cancel

Conversation

@danielkov

Copy link
Copy Markdown
Contributor

Summary

Allow gateway ACP clients to provide session-scoped stdio MCP servers when creating or restoring a stopped session. Preserve resident MCP configuration and reject nonempty replacements before transferring control.

Forward the existing kit/background/cancel extension through the current controller using its snake_case wire parameters, so detached jobs can be cancelled separately from the current response.

Technical details

Validate incoming MCP entries before forwarding them to the child runtime, while retaining the existing directory restrictions. Advertise stdio MCP support and document host-side execution, restore behavior, and detached-job cancellation semantics.

kit-code-agent[bot]
kit-code-agent Bot previously approved these changes Oct 5, 2026

@kit-code-agent kit-code-agent Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found. The changes look good to merge.

@kit-code-agent kit-code-agent Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found. The changes look good to merge.

@danielkov
danielkov merged commit 5ac1068 into main Oct 5, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant