Demonstrates building a stateful Model Context Protocol server with Streamable HTTP, featuring persistent sessions, full connection resumability, and an in-memory event store.
This repository provides a reference implementation of a stateful Model Context Protocol (MCP) calculator server using the Streamable HTTP transport. Engineered to demonstrate an enterprise-grade, session-based architecture, it features persistent state, event replay for full stream resumability, and support for complex, multi-step workflows, making it a robust solution for resilient client-server applications.