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
基本信息
A Fastify plugin to run Model Context Protocol (MCP) servers
工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
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).
MCP Toolbox for Databases is an open source MCP server for databases.

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
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
Painless E2E Automation for Mobile and Web
This open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
评论