Provides an easy-to-extend and robust template for creating and hosting stateful servers with Streamable-http transport using Node.js.
This project offers a robust and easy-to-extend template for building stateful Model Context Protocol (MCP) servers using Node.js and Streamable-http transport. Unlike many stateless or stdio-based MCP server tutorials, this template provides a fully-functional foundation with a modular structure for tools, resources, and server logic. It incorporates an in-memory database (`Node-Cache`) to manage stateful transport objects, enhancing performance and simplifying the creation of custom workflows through easy integration of new tools and resources.