Skip to content

Standardizing Session State Management for Stateful Remote MCP #29

@cploujoux

Description

@cploujoux

With HTTP stream + SSE becoming the standard transport mechanism for remote MCP servers, there is a need to define how session state should be structured, persisted, and synchronized.
This proposal addresses this gap by providing a comprehensive standard for session state management.

Goal:

  • Standardization: Create a consistent approach to session state management that can be implemented across different MCP server architectures
  • Enable clients to connect to different MCP server implementations with predictable state handling behavior
  • Facilitate implementation of advanced stateful features
  • Design state management that works efficiently in horizontally-scaled environments

Output:

  • Session State table schema
  • Interface to develop new session storage types
  • Sample of implementation with sqlite/postgres/mysql storage

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Idea

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions