Skip to content
PluginStats

fastify-mcp-server weekly downloads statistics

By flaviodelgrosso · npm · MCP servers

Easily spin up Model Context Protocol (MCP) servers using Fastify

View on npm Fresh · Nov 4, 2026

fastify-mcp-server has 2,205 recorded weekly downloads on npm, ranking #1516 of 2,855 tracked listings.

Weekly downloads
2,205
Official API · Nov 2, 2026
7-day growth
—
Insufficient history
30-day growth
—
Insufficient history
90-day growth
—
Insufficient history
Rank
#1516
Among tracked npm listings

About fastify-mcp-server

Fastify MCP Server Plugin

A Fastify plugin for building Model Context Protocol (MCP) servers aligned with the 2026-07-28 specification over Streamable HTTP or native stdio.

The plugin provides a thin Fastify-native integration around the MCP TypeScript SDK v2. The Streamable HTTP transport is request-stateless: MCP requests are processed independently, with no initialize handshake, no Mcp-Session-Id, no protocol session store, and no transport affinity between requests. The stdio transport delegates the connection to the SDK's native serveStdio entry.

NPM version NPM downloads CI codecov

Table of Contents

Overview

The Model Context Protocol (MCP) is an open standard that enables AI applications to connect to tools, resources, and external systems through a common protocol.

fastify-mcp-server integrates MCP with Fastify while keeping the HTTP transport layer stateless by construction. Each HTTP request is processed from its own request envelope and can be handled by any healthy Fastify instance.

This means the plugin does not require:

  • protocol sessions;
  • Mcp-Session-Id headers;
  • sticky load balancing;
  • shared protocol state in Redis or another session store;
  • an initialize / initialized handshake before normal MCP operations.

Application state is still fully supported, but it belongs to your application and should be represented by explicit domain identifiers, authenticated principals, databases, caches, or other application-owned dependencies.

Features

Core Functionality
  • ✅ MCP 2026-07-28: Built for the modern MCP protocol revision
  • ✅ Stateless HTTP: Every request is independently processable
  • ✅ SDK v2 Integration: Built around @modelcontextprotocol/server
  • ✅ Transport Selection: Streamable HTTP or native stdio through the SDK's serveStdio
  • ✅ Fastify Integration: Works with normal Fastify hooks, plugins, logging, and lifecycle management
  • ✅ Tools, Resources, and Prompts: Use the standard MCP SDK v2 server APIs
  • ✅ Protocol Discovery: Supports the modern server/discover flow
  • ✅ Modern Routing Headers: Supports MCP protocol, method, name, and parameter headers
  • ✅ Authentication: Optional Bearer token validation on every request
  • ✅ Type Safety: Full TypeScript support
Advanced Features
  • ✅ Horizontal Scaling: No sticky sessions or shared MCP protocol store required
  • ✅ Request-Scoped Metadata: Client capabilities, protocol metadata, auth, and tracing are evaluated per request
  • ✅ Multi-Round-Trip Requests: Supports the 2026 input_required model
  • ✅ Request-State Continuations: Explicit continuation state can be carried through requestState
  • ✅ Streaming Responses: Uses modern per-request HTTP/SSE behavior when required
  • ✅ Request Cancellation: Client disconnects cancel the corresponding request stream
  • ✅ Configurable Endpoint: Mount MCP on a custom Fastify route
  • ✅ OAuth Metadata: Optional Protected Resource and Authorization Server metadata endpoints

Installation

npm install fastify-mcp-server @modelcontextprotocol/server

The MCP TypeScript SDK v2 is the supported SDK line for this major version.…

Description from the npm listing.

  • fastify
  • mcp
  • plugin
  • streamable
  • http
  • modelcontextprotocol
  • server

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

fastify-mcp-server weekly downloads on npm, last 90 days: 2,205 weekly downloads as of Nov 2, 2026.fastify-mcp-serverWeekly downloads on npm · Last 90 days2,205downloads / week1.9K2K2.1K2.2K2.3K2.4K2.5KAug 4Aug 19Sep 3Sep 18Oct 3Oct 18Nov 2downloads / weekNov 2, 2026 – Nov 2, 2026 · 1 observations · Updated Nov 2, 2026pluginstats.com
fastify-mcp-server weekly downloads on npm, last 90 days: 2,205 weekly downloads as of Nov 2, 2026.

7/30/90-day growth

fastify-mcp-server weekly downloads growth on npm: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.fastify-mcp-serverWeekly downloads growth on npm2,205downloads / week now7-day growthinsufficient historyInsufficient history30-day growthinsufficient historyInsufficient history90-day growthinsufficient historyInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Nov 2, 2026pluginstats.com
fastify-mcp-server weekly downloads growth on npm: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.

Ranking history

fastify-mcp-server npm ranking history: currently #1516 (by weekly downloads).fastify-mcp-servernpm ranking · by weekly downloads · Last 90 days#1516current rank#1502#1504#1506#1508#1510#1512#1514#1516#1518Aug 7Aug 22Sep 6Sep 21Oct 6Oct 21Nov 5rankNov 4, 2026 – Nov 5, 2026 · 2 observations · Updated Nov 2, 2026pluginstats.com
fastify-mcp-server npm ranking history: currently #1516 (by weekly downloads).

Listing placement

All npm2,853 listings · 143 pages · 1,428 shown · page 84, #4 (overall #1,664)
All npm: every listing in weekly downloads order

Listing placement

MCP servers401 listings · 21 pages · page 18, #9 (overall #349)
MCP servers: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (1)
Recent weekly downloads observations for fastify-mcp-server
Date (UTC)Weekly downloadsChange vs. previous
2,205—

Similar npm MCP servers plugins

All 20 fastify-mcp-server alternatives

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/fastify-mcp-server. First seen Nov 4, 2026; last successful collection Nov 4, 2026. See the methodology.