Expand description
Server-Global State Storage for MCP Entity Registries
Provides pluggable persistence for server-global entity activation state (tools, resources, prompts) across different backends.
This crate follows the same pattern as turul-mcp-session-storage and
turul-mcp-task-storage. Session state is client-scoped; server state
is instance-global and shared across a cluster.
§Backends
InMemory— test double (single-process only)SQLite— local durable mode (feature:sqlite)PostgreSQL— shared relational deployments (feature:postgres)DynamoDB— serverless/AWS deployments (feature:dynamodb)
Re-exports§
pub use error::ServerStateError;pub use traits::BoxedServerStateStorage;pub use traits::EntityState;pub use traits::RegistrySnapshot;pub use traits::ServerStateStorage;pub use in_memory::InMemoryServerStateStorage;