Repository navigation
[Automated] Draft docs (agentgateway): mcp: rebind re-used session to current settings - #1372
Open
github-actions[bot] wants to merge 4 commits into
Open
github-actions[bot] wants to merge 4 commits into
github-actions[bot] wants to merge 4 commits into
Conversation
… current settings Signed-off-by: GitHub Action <action@github.com>
Deploying agentproxy with
|
| Latest commit: |
d1cbef5
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://f5d54d0f.agentproxy.pages.dev |
| Branch Preview URL: | https://pr-tracker-draft-agentgatewa-auzy.agentproxy.pages.dev |
Signed-off-by: Art Berger <art.berger@solo.io>
Signed-off-by: Art Berger <art.berger@solo.io>
A reused session now rebinds MCP authorization and MCP guardrails to the route it arrives on (#4057, Relay::with_inputs). Add the K8s sentence to the shared session asset inside the existing 1.7 gate. Signed-off-by: Art Berger <art.berger@solo.io>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
agentgateway/agentgateway#4057 — mcp: rebind re-used session to current settings
Docs versions:
standalone/main,kubernetes/mainWhat changes for users: Stateful MCP requests that reuse a session ID on another route to the same backend now use the current route's MCP policy settings. In the dossier test, a session opened on
/aand reused on/bis denied by/b's guardrail policy withdenied by route b.What the docs now say: The Streamable HTTP integration page now says that stateful session resumption keeps backend pinning, but MCP policy settings come from the current route when the same session ID is reused on another route to the same backend.
Not verified: No cluster or agentgateway run; the behavior and release note are unrun.
How
agentgateway-4057was drafted, and what was not verifiedPlan, and what changed it
Why a documentation change is necessary
The diff changes stateful MCP session reuse when the same session ID reaches a different route to the same backend. The existing Streamable HTTP page already documents session IDs, backend pinning, and session resumption, but it did not say which route's policies apply when the route changes. The new test in the code diff shows that a session initialized on an unguarded route does not skip guardrails on another route to the same backend.
What changed on disk
content/docs/standalone/main/integrations/mcp/servers/http.md: Clarifies that reused sessions keep backend pinning while the current route's MCP policy settings still apply.How to verify this change
/aunguarded, and route/bwith an MCP guardrail or authorization policy that denies atools/callrequest with a recognizable message such asdenied by route b.initializerequest to/a, save the returnedMcp-Session-Id, and send atools/callrequest to/bwith that session ID./bis routed to the same backend session, and the response shows the denial from/b's policy.Proposed release note
The note names both
standalone/mainandkubernetes/mainbecause the runtime behavior reaches both modes, while the page edit is in the standalone Streamable HTTP integration.What was not verified
How the pages were chosen (triage report)
Draft a documentation change
agentgateway/agentgateway#4057 — mcp: rebind re-used session to current settings
agentgateway/websiteA declared version this draft does not reach
This pull request is planned for more than one documentation version,
and nothing in the diff publishes to:
kubernetes/mainA file under
assets/reaches a version tree only where a page in thattree reuses it, so editing a shared asset does not by itself cover every
mode a product ships. Either that version still needs writing, or the
change genuinely does not apply there and the reason belongs in this body.
Release notes
This pull request also adds its release-note entries:
content/docs/kubernetes/main/release-notes/release-notes.md: mcp: rebind re-used session to current settings (fix, under MCP)content/docs/standalone/main/release-notes/release-notes.md: mcp: rebind re-used session to current settings (fix, under MCP)Draft branch:
pr-tracker-draft-agentgateway-4057