mcp-persist: Production-grade durable EventStore backends + zero-config proxy for MCP servers #773
Ar-maan05
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Pre-submission Checklist
What would you like to share?
mcp-persist is now at v1.7 — drop-in durable EventStore backends for SQLite, Redis, and PostgreSQL that survive process restarts and scale across multi-worker deployments, keeping SSE stream resumability intact.
The Problem
When an MCP client reconnects, the server has to replay the events it missed — and with only the SDK's in-memory EventStore, that replay is impossible: the session lived in one process's memory, so a restart or a reconnect to a different worker loses it.
What mcp-persist gives you
1. One-liner FastMCP integration
2. PersistenceProxy — resumability for any MCP server
Run a lightweight proxy in front of black-box, third-party, or non-Python servers. No changes needed on the upstream or client side.
CLI example:
mcp-persist-proxy --upstream http://localhost:8001 \ --backend sqlite --url events.db --port 80003. Three mature backends
SQLiteEventStore — zero external services, perfect for single-process / local / edge
RedisEventStore — multi-worker / load-balanced deployments
PostgresEventStore — team-scale, multi-node, durable
Extra production features
Relevant Links
https://github.com/Ar-maan05/mcp-persist
Beta Was this translation helpful? Give feedback.
All reactions