session-storage-backends

Official

Choose the right session storage backend for MCP

Authoraussierobots
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Session storage persists MCP sessions across requests and manages SSE events for reconnection resumability. Four backends serve different deployment scenarios — InMemory, SQLite, PostgreSQL, and DynamoDB — providing durability, scalability, and tunable lifetimes. This skill covers architecture, the SessionStorage trait API, event management, and backend-specific considerations.

Core Features & Use Cases

  • Clear guidance on when to use InMemory, SQLite, PostgreSQL, or DynamoDB for session storage
  • SSE event management with monotonic IDs, event retention, and cleanup
  • Backend-agnostic server wiring via McpServer::builder().with_session_storage(...)
  • Production-ready patterns for configuration, TTLs, and maintenance

Quick Start

Configure a server with a chosen storage backend and a ping tool to validate session storage behavior.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: session-storage-backends
Download link: https://github.com/aussierobots/turul-mcp-framework/archive/main.zip#session-storage-backends

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.