Skip to content

Remove downstream MCP sessions - #116

Closed
lucarlig wants to merge 2 commits into
mainfrom
user/luca/pr113-stateless-session-fix
Closed

Remove downstream MCP sessions#116
lucarlig wants to merge 2 commits into
mainfrom
user/luca/pr113-stateless-session-fix

Conversation

@lucarlig

@lucarlig lucarlig commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

@dawid-nowak, should the dataplane keep MCP 2025-11-25 clients stateless? Sessions are optional in that spec, so RMCP can return no Mcp-Session-Id and ignore any client-supplied one on POST, avoiding replica affinity; we will not support session GET, DELETE, or resumption.

Signed-off-by: lucarlig <luca.carlig@ibm.com>
@lucarlig
lucarlig marked this pull request as ready for review August 26, 2026 10:22
@lucarlig
lucarlig requested a review from dawid-nowak August 26, 2026 10:46
Signed-off-by: lucarlig <luca.carlig@ibm.com>
@dawid-nowak

Copy link
Copy Markdown
Contributor

For time being, we are going to keep the LocalSessionStore as it enables us to support both modern and legacy MCP flows in a stateless mode. By stateless, it is assumed that the MCP server implementation needs to be stateless. So for example the default MCP counter example might not work properly indeed.

@lucarlig

lucarlig commented Aug 26, 2026

Copy link
Copy Markdown
Contributor Author

weather you read the session id and store it in memory or not, there is no difference. why keep it? it still will accept calls we session-id just ignore it as tested

@lucarlig

Copy link
Copy Markdown
Contributor Author

approach is valid, we will still keep it for now

@lucarlig lucarlig closed this Aug 27, 2026
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.

2 participants