Skip to content

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

Closed
ibakaidov wants to merge 1 commit intomodelcontextprotocol:mainfrom
ibakaidov:main
Closed

add support for serverless deployments and session state persis…#612
ibakaidov wants to merge 1 commit intomodelcontextprotocol: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
Copy link
Copy Markdown
Contributor

findleyr commented Nov 8, 2025

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