fastify-mcp and frontmcp
About fastify-mcp
haroldadmin/fastify-mcp
A Fastify plugin to run Model Context Protocol (MCP) servers
Supports both Streamable HTTP and legacy HTTP+SSE transports for MCP protocol communication. Handles multi-session management with in-memory session tracking and lifecycle events (connected, terminated, error), addressing a gap in the official MCP SDK. Allows stateful or stateless server configurations integrated directly into Fastify routes via plugin registration.
About frontmcp
agentfront/frontmcp
TypeScript-first framework for the Model Context Protocol (MCP). You write clean, typed code; FrontMCP handles the protocol, transport, DI, session/auth, and execution flow.
Provides decorator-based capability organization (@App, @Tool, @Resource, @Prompt, @Agent), Zod-validated typed tool schemas, and stateful/stateless session modes over HTTP+SSE with optional OAuth/JWKS authentication. Includes a scoped dependency injection system, agent orchestration, mid-flow user elicitation, and plugins (Cache, Remember, CodeCall) alongside OpenAPI adapter support and E2E testing utilities—all as a modular monorepo (@frontmcp/sdk, @frontmcp/auth, @frontmcp/plugins, etc.).
Related comparisons
Scores updated daily from GitHub, PyPI, and npm data. How scores work