Which MCP transports does fastify-mcp support?
It supports the Streamable HTTP transport (2025-03-26 spec) and the legacy HTTP+SSE transport (2024-11-05 spec).
@haroldadmin
Basic information
A Fastify plugin to run Model Context Protocol (MCP) servers
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
fastify-mcp integrates Model Context Protocol (MCP) servers with your Fastify application. It supports both the Streamable HTTP transport and the legacy HTTP+SSE transport, and is designed for developers building MCP-compatible tools and resources on top of Fastify.
Install with npm install fastify-mcp or yarn add fastify-mcp. Define an MCP server using McpServer from the MCP TypeScript SDK, then register the streamableHttp plugin on a Fastify app, passing options such as stateful, mcpEndpoint, sessions, and createServer. The plugin handles session management automatically using an in-memory mapping.
connected, terminated, error).It supports the Streamable HTTP transport (2025-03-26 spec) and the legacy HTTP+SSE transport (2024-11-05 spec).
The package uses an in-memory mapping of session IDs to transport instances. The `Sessions` class emits `connected`, `terminated`, and `error` events, and you can listen for them to track session lifecycle.
The `streamableHttp` plugin accepts: `stateful` (boolean), `mcpEndpoint` (string path), `sessions` (a `Sessions` instance), and `createServer` (a function that returns an MCP server).

A free remote MCP server for The Living Bread. Bible passages read word for word from a stored public domain text with an evidence label, keyword search and cross references, real churches, gatherings and prayer groups w
🚀 The fast, Pythonic way to build MCP servers and clients.

Model Context Protocol Servers

Request dedicated senior developers to work on your project, write job descriptions, and prep technical interviews — all without leaving your Claude chat. Just describe what you need, and Lemon.io MCP does the rest. 1–3
A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
Comments