Skip to content

add support for serverless deployments and session state persis… - #612

Closed
ibakaidov wants to merge 1 commit into
modelcontextprotocol:mainfrom
ibakaidov:main
Closed

ibakaidov wants to merge 1 commit into
modelcontextprotocol:mainfrom
ibakaidov:main

Conversation

@ibakaidov

Copy link
Copy Markdown
  • add a pluggable ServerSessionStateStore interface plus an in-memory implementation for persistence
  • update streamable handler/transport to load, save, and clear session state so serverless deployments can resume conversations
  • document the serverless workflow and add coverage proving state survives between independent handler instances

Testing

  • go test ./...

@findleyr

findleyr commented Nov 8, 2025

Copy link
Copy Markdown
Contributor

Hi, I don't think we're likely to accept anything implementing session state persistence until ongoing discussions like SEP-1442 are resolved.

@maciej-kisiel

Copy link
Copy Markdown
Contributor

The concept of transport level sessions is being removed from the specification for now: modelcontextprotocol/modelcontextprotocol#2567. This means that we will not be supporting session-related extension points on the SDK level at this point.

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.

3 participants