# TypeScript MCP server frameworks for production

> Compare ten TypeScript MCP server options by auth, testing, protocol support and deployment. Choose for your workload and inspect the sources and test limits.

Source: https://frontmcp.dev/compare

[Covers FrontMCP 1.15.2](https://frontmcp.dev/versions#how-pages-are-checked) as of December 4, 2026

Choose a TypeScript MCP server framework by the work your application needs: authenticated tools, shared services, client compatibility, tests and deployment. FrontMCP fits servers that need those concerns in one application structure. The official SDK fits teams that want to assemble them themselves. Other frameworks make different choices about tool registration, UI and hosting.

This comparison is published by FrontMCP's maintainers. It covers ten options, including the official SDK, and links to each project's own sources. The [versions and check dates](https://frontmcp.dev/compare#the-libraries) identify what was examined; a newer release can change a result. [How this was checked](https://frontmcp.dev/compare#how-this-was-checked) separates documentation review and simple protocol probes from production testing. For a shorter overview that also covers Vercel's mcp-handler, read [The Best TypeScript MCP Server Frameworks in 2026](https://frontmcp.dev/blog/best-typescript-mcp-frameworks).

<a id="start-with-the-server-you-need"></a>

## Start with the server you need

| Your application needs | Options to evaluate | Check before choosing |
| --- | --- | --- |
| Shared services, authenticated tools and background work in a modular server | [FrontMCP](https://frontmcp.dev/compare/why-frontmcp) | Node 24 for local development, Zod schemas and the [production evaluation](https://frontmcp.dev/compare/production-readiness). Your application still enforces record access. |
| A small tool server or an MCP route inside an existing backend | [Official TypeScript SDK](https://frontmcp.dev/compare/official-typescript-sdk) | How much auth, lifecycle and test wiring your existing application already supplies. |
| React views in an MCP App, with a development inspector | [mcp-use](https://frontmcp.dev/compare/mcp-use), [xmcp](https://frontmcp.dev/compare/xmcp), or [FrontMCP's UI](https://frontmcp.dev/learn/tools-with-a-ui) | The actual client host, authentication flow and widget behavior; a browser preview alone is insufficient. |
| File-based tool discovery and integration with a web application | [xmcp](https://frontmcp.dev/compare/xmcp) | The adapter for your web framework and its deployment constraints. |
| A small stateless server on an edge runtime | [ViteMCP](https://frontmcp.dev/compare/vitemcp) or the [official SDK](https://frontmcp.dev/compare/official-typescript-sdk) | Runtime dependencies, persistence and protocol behavior. Compare FrontMCP on Workers, with [`@frontmcp/edge`](https://frontmcp.dev/reference/deployment/edge) or the [build target](https://frontmcp.dev/reference/deployment/cloudflare-workers), if you also need its application structure. |
| Server composition, middleware and a general-purpose client | [Prefect's FastMCP TypeScript](https://frontmcp.dev/compare/fastmcp-ts) | The selected protocol era, auth configuration and where session state lives. |
| MCP inside an existing NestJS application, with its guards and providers | [@nestjs/mcp](https://frontmcp.dev/compare/nestjs-mcp) | It's stateless and at 0.0.x, first released in November 2026. Check the clients you serve and how its API changes between releases. |
| MCP access to agents and workflows built with Mastra | [Mastra's MCP server](https://frontmcp.dev/compare/mastra-mcp) | By default it serves MCP 2026-07-28 only; older clients need `legacy: 'stateless'` and HTTP. |
| An existing application using a session-based framework | [FastMCP by punkpeye](https://frontmcp.dev/compare/fastmcp-typescript) or [mcp-framework](https://frontmcp.dev/compare/mcp-framework) | The checked releases do not serve MCP 2026-07-28, and mcp-framework has had no release or commit since 2026-04-16. Verify your clients' requirements before keeping or replacing them. |

These are starting points, not a numerical ranking. The detailed table below records capabilities and their sources. Hosting-specific adapters and Python frameworks are outside this comparison.

<a id="what-to-verify-for-production"></a>

## What to verify for production

A working `add` tool establishes little about a production service. Exercise missing and expired credentials, direct calls to restricted tools, two tenants' records, timeouts, client cancellation and your actual deployment target. Keep the same application contract and workload when comparing implementations. The [FrontMCP evaluation guide](https://frontmcp.dev/compare/production-readiness) collects reproducible fixtures, their limits and the checks your deployment still needs.

FrontMCP 1.15.2 serves MCP 2026-07-28 and four earlier revisions over Streamable HTTP and stdio, with an exception for [stdio servers with Claude Code channels](https://frontmcp.dev/reference/server/protocol-versions#a-stdio-server-with-channels-declines-2026-07-28): those use the four earlier revisions. It uses the official SDK v1 internally and implements the newer revision itself: the dependency's major version does not describe the server's protocol support. Read the [protocol behavior and caveats](https://frontmcp.dev/reference/server/protocol-versions), including how to select a revision with `frontmcp test`.

FrontMCP requires Node 24 for local development and Zod for its schemas. The [official SDK comparison](https://frontmcp.dev/compare/official-typescript-sdk#when-the-sdk-alone-is-the-better-choice) explains when fewer dependencies, another schema library or a general-purpose client matter more than shared framework conventions. Dependency counts measure an installed tree; they do not measure startup time, memory or throughput.

<a id="which-one-fits"></a>

## Which one fits

### [FrontMCP: when the MCP SDK alone isn't enough](https://frontmcp.dev/compare/why-frontmcp)

When a server grows past a few tools: [apps](https://frontmcp.dev/learn/grouping-capabilities-into-apps), [providers](https://frontmcp.dev/learn/sharing-state-with-providers), [hooks](https://frontmcp.dev/learn/hooking-into-calls) and [plugins](https://frontmcp.dev/learn/extending-with-plugins), FrontMCP as [the OAuth server](https://frontmcp.dev/learn/authenticating-clients), [agents](https://frontmcp.dev/learn/your-first-agent) and [jobs](https://frontmcp.dev/learn/your-first-job), sessions and 2026-07-28 on one endpoint, [tests](https://frontmcp.dev/learn/testing-your-server) and [builds for several platforms](https://frontmcp.dev/learn/deploying-your-server).

### [The official MCP TypeScript SDK](https://frontmcp.dev/compare/official-typescript-sdk)

When you want the reference implementation and the fewest dependencies, build a client, a host or a gateway, or serve MCP as one route of an Express, Hono or Fastify app.

### [FastMCP for TypeScript](https://frontmcp.dev/compare/fastmcp-typescript)

When you want one file and no build step, any Standard Schema library and OAuth presets for Google, GitHub or Azure, and your clients speak MCP 2025-11-25 or earlier.

### [ViteMCP](https://frontmcp.dev/compare/vitemcp)

When you want FastMCP's API on MCP 2026-07-28, for stateless servers on Node, Cloudflare Workers or Deno Deploy. Its first npm release was in August 2026; evaluate its maintenance history and your runtime constraints.

### [Prefect's FastMCP TypeScript](https://frontmcp.dev/compare/fastmcp-ts)

When you want the Python FastMCP's model in TypeScript: both protocol eras over HTTP and stdio, a client, middleware, composition, skills that pass through gateways, and UI from a component library.

### [mcp-framework](https://frontmcp.dev/compare/mcp-framework)

When you want a class per tool found in a folder and generators for each kind of component, for clients on 2025-11-25 or earlier. It has had no release and no commit since 2026-04-16.

### [mcp-use](https://frontmcp.dev/compare/mcp-use)

When you build an MCP App with React views for ChatGPT or Claude, and want an inspector, hosted evals, a client and an agent from the same company.

### [xmcp](https://frontmcp.dev/compare/xmcp)

When you like a file per tool, your server lives in a Next.js or other web app, or you deploy to Vercel without configuration.

### [@nestjs/mcp](https://frontmcp.dev/compare/nestjs-mcp)

When you already run a NestJS application and want MCP inside it: tools as methods of your providers, your guards, interceptors and filters around every call, and a stateless `/mcp` route for clients on 2026-07-28 and the 2025 revisions. Its first release was in November 2026, at 0.0.x.

### [Mastra's MCP server](https://frontmcp.dev/compare/mastra-mcp)

When you already build agents, workflows and tools in Mastra and want MCP clients to call them. `MCPServer` serves them on MCP 2026-07-28, with the Mastra server's auth, Studio and tracing; older clients are served over HTTP only, without sessions.

<a id="at-a-glance"></a>

## At a glance

Four criteria from [the full comparison](https://frontmcp.dev/compare#compared-on-the-same-criteria), shortened; each fact links to its source there. The other libraries were checked on 2026-12-01, against the version named, and their MCP 2026-07-28 column is what each server answered that day. FrontMCP 1.15.2 was re-checked in the source on 2026-12-04.

| Library | MCP 2026-07-28 | Authentication | Testing tools | Runtimes and deployment |
| --- | --- | --- | --- | --- |
| [FrontMCP 1.15.2](https://frontmcp.dev/compare/why-frontmcp) | Yes: HTTP and stdio (except stdio servers with Claude Code channels) | Static keys, JWTs from your identity provider, or FrontMCP as the OAuth server for people and configured machine clients | `@frontmcp/testing`, `frontmcp test`, publishing checks and model evals | Node 24+; platform builds, a fetch handler and a NestJS module |
| [Official SDK 2.4.0](https://frontmcp.dev/compare/official-typescript-sdk) | Yes: HTTP and stdio, through `createMcpHandler()` and `serveStdio()` | OAuth resource server, with a verifier you write | An in-process client | Node 20+, Bun, Deno, Cloudflare Workers |
| [FastMCP 4.30.2](https://frontmcp.dev/compare/fastmcp-typescript) | No | An `authenticate()` hook; an OAuth proxy; per-tool scopes | `InMemoryTransport`; `fastmcp dev` and `inspect` | Node, Bun; Cloudflare Workers and Deno Deploy with `EdgeFastMCP` |
| [ViteMCP 1.10.2](https://frontmcp.dev/compare/vitemcp) | Yes: HTTP and stdio | An `authenticate()` hook; an OAuth proxy | `InMemoryTransport`; `vitemcp dev` and `inspect` | Node 24+; Cloudflare Workers and Deno Deploy with `EdgeViteMCP` |
| [FastMCP TypeScript 1.15.0](https://frontmcp.dev/compare/fastmcp-ts) | Yes: HTTP and stdio | JWT, introspection and static-token verifiers; an OAuth server and proxy from the frozen `server-legacy` package | An in-process client; `fastmcp call`, `list` and `inspect` | Node 22+; `server.fetch()` for a web-standard `Request` |
| [mcp-framework 0.2.22](https://frontmcp.dev/compare/mcp-framework) | No | API key, JWT, OAuth resource server | The MCP Inspector | Node 18.19+; AWS Lambda; Cloudflare Workers and Vercel Edge through `handleRequest()` |
| [mcp-use 2.12.10](https://frontmcp.dev/compare/mcp-use) | Yes: HTTP; no stdio server | OAuth resource server; an OAuth proxy for GitHub, Google and others | A built-in inspector and a CLI client; hosted evals | Node 22.22.2+; fetch and Node handlers, Next.js, Docker, Manufact Cloud |
| [xmcp 1.13.4](https://frontmcp.dev/compare/xmcp) | Yes: HTTP and stdio | API key and JWT; OAuth through plugins; an `authorize` policy | Not documented; a CLI that calls tools | Node 22.12+; Vercel, Cloudflare Workers |
| [@nestjs/mcp 0.0.5](https://frontmcp.dev/compare/nestjs-mcp) | Yes: HTTP and stdio | OAuth resource server, with a verifier you write; Nest guards | An in-memory client against a Nest testing module | Node 20.19+; inside a NestJS 12 app on Express, Fastify or Nest's Node adapter |
| [Mastra MCPServer 2.11.0](https://frontmcp.dev/compare/mastra-mcp) | Yes: HTTP and stdio; older clients only over HTTP, with `legacy: 'stateless'` | OAuth resource-server middleware; the Mastra server's auth | Studio; `executeTool()` | Node 22.13+; the Mastra server, Vercel, Netlify, Cloudflare, Mastra platform |

"Not documented" means the library's own sources don't mention it, not that it can't be done.

**The full comparison: every fact, with its source**

<a id="the-libraries"></a>

## The libraries

| Library | npm | Made by | Built on | Checked |
| --- | --- | --- | --- | --- |
| [FrontMCP](https://frontmcp.dev/learn) | `@frontmcp/sdk` | AgentFront | Official SDK v1 (1.32.2), with its own 2026-07-28 implementation | 1.15.2, checked 2026-12-04 |
| [Official MCP TypeScript SDK](https://github.com/modelcontextprotocol/typescript-sdk) | `@modelcontextprotocol/server`, `@modelcontextprotocol/client` | The Model Context Protocol project | Its own `core` package | 2.4.0, published 2026-10-23 |
| [FastMCP for TypeScript](https://github.com/punkpeye/fastmcp) | `fastmcp` | Frank Fiegel (punkpeye) | Official SDK v1 | 4.30.2, published 2026-11-28 |
| [ViteMCP](https://github.com/vitemcp/server) | `@vitemcp/server` | Frank Fiegel (punkpeye) | Official SDK v2 | 1.10.2, published 2026-11-28 |
| [FastMCP TypeScript](https://github.com/PrefectHQ/fastmcp-ts) | `@prefecthq/fastmcp-ts` | Prefect | Official SDK v2 | 1.15.0, published 2026-11-23 |
| [mcp-framework](https://mcp-framework.com) | `mcp-framework` | Alex Andru (QuantGeekDev) | Official SDK v1 | 0.2.22, published 2026-04-16 |
| [mcp-use](https://github.com/mcp-use/mcp-use) | `mcp-use` | mcp-use, Inc. (Manufact) | Official SDK v2 | 2.12.10, published 2026-11-25 |
| [xmcp](https://xmcp.dev) | `xmcp` | basement.studio | Official SDK v2, bundled | 1.13.4, published 2026-11-26 |
| [@nestjs/mcp](https://github.com/nestjs/mcp) | `@nestjs/mcp` | The NestJS team | Official SDK v2 | 0.0.5, published 2026-11-26 |
| [Mastra](https://github.com/mastra-ai/mastra) (its MCP server) | `@mastra/mcp` | Kepler Software, Inc. (Mastra) | Official SDK v2 | 2.11.0, published 2026-11-25 |

Three names are close. FastMCP here is punkpeye's TypeScript framework, `fastmcp`, which serves MCP 2025-11-25 and earlier. ViteMCP is its author's successor for 2026-07-28, and carries its history. FastMCP TypeScript is Prefect's `@prefecthq/fastmcp-ts`, the TypeScript counterpart of the Python FastMCP, and a different project from both. Python libraries aren't compared on this page.

<a id="compared-on-the-same-criteria"></a>

## Compared on the same criteria

Every fact about another library comes from that library's own documentation, repository, changelog or npm entry, checked on **2026-12-01** against the version named, and links to it. The protocol check was run for every library that day. Every FrontMCP fact links to the page on this site that shows FrontMCP 1.15.2 doing it. Where a library's own sources don't mention something, the table says "not documented", which doesn't mean the library can't do it.

Each cell says what the library does and links to where its own sources say so.

| | FrontMCP 1.15.2 | Official SDK 2.4.0 | FastMCP 4.30.2 | ViteMCP 1.10.2 | FastMCP TypeScript 1.15.0 | mcp-framework 0.2.22 | mcp-use 2.12.10 | xmcp 1.13.4 | @nestjs/mcp 0.0.5 | Mastra MCPServer 2.11.0 |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| MCP revisions served | 2024-11-05 to 2026-07-28 (except 2026-07-28 on [stdio servers with Claude Code channels](https://frontmcp.dev/reference/server/protocol-versions#a-stdio-server-with-channels-declines-2026-07-28)) ([Error codes](https://frontmcp.dev/reference/errors)) | 2024-11-05 to 2026-07-28 through `createMcpHandler()` and `serveStdio()`; 2026-07-28 is opt-in ([Protocol versions](https://ts.sdk.modelcontextprotocol.io/v2/protocol-versions)) | 2024-11-05 to 2025-11-25; the README says it doesn't support 2026-07-28 ([README](https://github.com/punkpeye/fastmcp/blob/v4.30.2/README.md?plain=1#L5-L7)) | 2024-11-05 to 2026-07-28 in our run; the README says 2026-07-28 only ([README](https://github.com/vitemcp/server/blob/v1.10.2/README.md?plain=1#L1538-L1543)) | 2024-11-05 to 2026-07-28 ([Protocol eras](https://github.com/PrefectHQ/fastmcp-ts/blob/v1.15.0/docs/concepts/protocol-eras.mdx)) | 2024-11-05 to 2025-11-25 ([Introduction](https://mcp-framework.com/docs/introduction)) | 2024-11-05 to 2026-07-28 ([Server overview](https://docs.mcp-use.com/typescript/server/index)) | 2024-11-05 to 2026-07-28 ([Transports](https://xmcp.dev/docs/configuration/transports)) | 2024-11-05 to 2026-07-28 over HTTP and stdio; `legacy: 'reject'` serves 2026-07-28 only ([Transports](https://docs.nestjs.com/mcp/transports#the-http-endpoint)) | 2026-07-28; `legacy: 'stateless'` adds 2024-11-05 to 2025-11-25 over HTTP ([`MCPServer` options](https://mastra.ai/reference/tools/mcp-server#configuration-properties)) |
| MCP 2026-07-28, in our checks | Served over Streamable HTTP, stdio (except [servers with Claude Code channels](https://frontmcp.dev/reference/server/protocol-versions#a-stdio-server-with-channels-declines-2026-07-28)) and [`createFetchHandler()`](https://frontmcp.dev/reference/sdk/create-fetch-handler), next to the four older revisions, with no setting; `McpStatelessClient` is FrontMCP's own 2026-07-28 client ([How this was checked](https://frontmcp.dev/compare#how-this-was-checked), [Protocol versions](https://frontmcp.dev/reference/server/protocol-versions#calling-a-2026-07-28-server-from-code)) | Served over HTTP and stdio by `createMcpHandler()` and `serveStdio()`; not by a transport wired by hand ([How it was checked](https://frontmcp.dev/compare/official-typescript-sdk#how-this-was-checked)) | Not served: `400` over HTTP, `-32601` over stdio | Served over HTTP and stdio | Served over HTTP and stdio, next to the four older revisions, with no setting; its CLI's client asks for 2026-07-28 first ([How it was checked](https://frontmcp.dev/compare/fastmcp-ts#how-this-was-checked)) | Not served: `400` over HTTP, `-32601` over stdio | Served over HTTP; no stdio server | Served over HTTP and stdio | Served over HTTP and stdio, next to the four older revisions, with no setting | Served over HTTP and stdio; the only revision served by default, and the only one over stdio |
| Sessions for clients on 2025-11-25 and earlier, over HTTP | Yes, which Redis can share between instances ([Redis](https://frontmcp.dev/reference/deployment/redis)) | None from `createMcpHandler()`; a session from a transport wired by hand ([HTTP](https://ts.sdk.modelcontextprotocol.io/v2/serving/http)) | Yes; none in stateless mode ([Stateless mode](https://github.com/punkpeye/fastmcp/blob/v4.30.2/README.md#stateless-mode)) | None, in our run | Yes, in the instance's memory; none in stateless mode ([Stateless mode](https://github.com/PrefectHQ/fastmcp-ts/blob/v1.15.0/docs/servers/running.mdx#stateless-mode)) | Yes, in the process ([issue #187](https://github.com/QuantGeekDev/mcp-framework/issues/187)) | None ([Migration](https://docs.mcp-use.com/typescript/server/migration#review-v2-limitations)) | None ([Transports](https://xmcp.dev/docs/configuration/transports)) | None: each request is served on its own ([The HTTP endpoint](https://docs.nestjs.com/mcp/transports#the-http-endpoint)) | None; with `legacy: 'stateless'` they're served without one ([CHANGELOG](https://github.com/mastra-ai/mastra/blob/@mastra/mcp@2.11.0/packages/mcp/CHANGELOG.md?plain=1#L786-L797)) |
| Declaring a tool | A `@Tool` class, or the `tool()` function ([`@Tool`](https://frontmcp.dev/reference/sdk/tool)) | `server.registerTool()` in a factory function ([Tools](https://ts.sdk.modelcontextprotocol.io/v2/servers/tools)) | `server.addTool({ … })` ([Tools](https://github.com/punkpeye/fastmcp/blob/v4.30.2/README.md#tools)) | `server.addTool({ … })` ([Tools](https://github.com/vitemcp/server/blob/v1.10.2/README.md#tools)) | `server.tool({ … }, handler)` ([Tools](https://github.com/PrefectHQ/fastmcp-ts/blob/v1.15.0/docs/servers/tools.mdx#registration)) | A class extending `MCPTool`, one per file, found in a folder ([Tools](https://mcp-framework.com/docs/tools/overview)) | `server.tool({ … }, handler)` ([Tools](https://docs.mcp-use.com/typescript/server/tools)) | A file per tool, found in a folder ([Tools](https://xmcp.dev/docs/core-concepts/tools)) | `@Tool()` on a method of a Nest provider ([Tools](https://docs.nestjs.com/mcp/primitives#tools)) | `createTool({ … })` from `@mastra/core`, listed in `MCPServer`'s `tools`; agents and workflows become tools ([Constructor](https://mastra.ai/reference/tools/mcp-server#constructor)) |
| Schema library | Zod 4, for every schema: tools' input and output, which become the JSON Schema clients see, and jobs, agents, elicitation forms and config ([Schemas Are Contracts](https://frontmcp.dev/learn/schemas-are-contracts), [`@Tool`](https://frontmcp.dev/reference/sdk/tool#options), [`this.elicit`](https://frontmcp.dev/reference/sdk/elicit)) | Standard Schema: Zod 4, ArkType, Valibot; JSON Schema ([Schema libraries](https://ts.sdk.modelcontextprotocol.io/v2/advanced/schema-libraries)) | Standard Schema: Zod, ArkType, Valibot; JSON Schema through an adapter ([Tools](https://github.com/punkpeye/fastmcp/blob/v4.30.2/README.md#tools)) | Standard Schema: Zod, ArkType, Valibot; JSON Schema through an adapter ([Tools](https://github.com/vitemcp/server/blob/v1.10.2/README.md#tools)) | Standard Schema: Zod, Valibot, ArkType ([Schemas](https://github.com/PrefectHQ/fastmcp-ts/blob/v1.15.0/docs/servers/tools.mdx#schemas)) | Zod 3 ([`package.json`](https://github.com/QuantGeekDev/mcp-framework/blob/mcp-framework-v0.2.22/package.json)) | Standard Schema: Zod 4, ArkType, Valibot ([Server overview](https://docs.mcp-use.com/typescript/server/index)) | Zod: fields or a complete schema ([Tools](https://xmcp.dev/docs/core-concepts/tools#complete-schemas)) | Standard Schema that produces JSON Schema: Zod 4.2+, ArkType, Valibot; JSON Schema through `fromJsonSchema()`; not Zod 3 ([Installation](https://docs.nestjs.com/mcp/overview#installation)) | Standard JSON Schema: Zod, Valibot, ArkType ([`createTool()`](https://mastra.ai/reference/tools/create-tool#define-schemas)) |
| Dependency injection or shared services | `@Provider` services, read with `this.get()` ([`@Provider`](https://frontmcp.dev/reference/sdk/provider)) | Not documented; module-scope objects in the factory ([HTTP](https://ts.sdk.modelcontextprotocol.io/v2/serving/http)) | Not documented; a per-call `context` with the session ([Sessions](https://github.com/punkpeye/fastmcp/blob/v4.30.2/README.md#sessions)) | Not documented; a per-request `context` with `auth` ([Migrating](https://github.com/vitemcp/server/blob/v1.10.2/README.md#migrating-from-the-session-based-api)) | Not documented; an ambient context and middleware ([Context](https://github.com/PrefectHQ/fastmcp-ts/blob/v1.15.0/docs/servers/context.mdx)) | Not documented | Not documented; a request context and middleware ([Middleware](https://docs.mcp-use.com/typescript/server/middleware)) | Not documented; a request context and middleware ([Request context](https://xmcp.dev/docs/core-concepts/request-context)) | Nest's container: constructor injection into the tool's provider; request-scoped providers fail at startup ([How a call is served](https://docs.nestjs.com/mcp/overview#how-a-call-is-served)) | Not documented; a `requestContext` and `context.mcp` ([MCP context](https://mastra.ai/reference/tools/mcp-server#accessing-mcp-context-in-tools)) |
| Authentication and authorization | Public, static keys, JWTs from your identity provider, or FrontMCP as the OAuth server, with its own sign-in page or an upstream provider's and [client credentials in local mode](https://frontmcp.dev/reference/auth/local#issuing-a-machine-token); per-entry rules ([Auth modes](https://frontmcp.dev/reference/auth/modes), [Authorities](https://frontmcp.dev/reference/auth/authorities)) | OAuth resource server with a verifier you write, and scope checks per tool; the authorization-server helpers are frozen in `server-legacy` ([Authorization](https://ts.sdk.modelcontextprotocol.io/v2/serving/authorization)) | An `authenticate()` hook; an OAuth proxy with Google, GitHub and Azure presets; `canAccess` per tool, and `scopes` per tool with MCP's `403` scope challenge ([Authentication](https://github.com/punkpeye/fastmcp/blob/v4.30.2/README.md#authentication), [Scope challenges](https://github.com/punkpeye/fastmcp/blob/v4.30.2/README.md#scope-challenges)) | An `authenticate()` hook; an OAuth proxy with Google, GitHub and Azure presets; `canAccess` per tool ([Authentication](https://github.com/vitemcp/server/blob/v1.10.2/README.md#authentication)) | JWT, introspection and static-token verifiers, with `remoteAuth` for protected resource metadata; an OAuth server and proxy from the frozen `server-legacy` package; per-component checks ([Auth](https://github.com/PrefectHQ/fastmcp-ts/blob/v1.15.0/docs/servers/auth/overview.mdx), [Authorization server discovery](https://github.com/PrefectHQ/fastmcp-ts/blob/v1.15.0/docs/servers/auth/token-verification.mdx#authorization-server-discovery), [OAuth](https://github.com/PrefectHQ/fastmcp-ts/blob/v1.15.0/docs/servers/auth/oauth.mdx)) | API key, JWT, and an OAuth resource server ([Authentication](https://mcp-framework.com/docs/authentication/overview)) | OAuth resource server with eight provider presets; an OAuth proxy, `oauthProxy()`, in front of GitHub, Google or another provider; no authorization server with its own accounts ([Authentication](https://docs.mcp-use.com/typescript/server/authentication/index), [OAuth Proxy](https://docs.mcp-use.com/typescript/server/authentication/providers/oauth-proxy)) | API key and JWT middleware; OAuth through plugins for Auth0, Clerk, WorkOS, Better Auth and others; an `authorize` policy per component ([Authentication](https://xmcp.dev/docs/guides/authentication)) | OAuth resource server with a verifier you write, and `scopes` per tool, resource or prompt; Nest guards; issues no tokens ([Authorization](https://docs.nestjs.com/mcp/primitives#authorization)) | OAuth resource-server middleware with a token validator; on a Mastra server, its auth providers, RBAC and FGA; no authorization server ([OAuth protection](https://mastra.ai/reference/tools/mcp-server#oauth-protection), [Built-in MCP server](https://mastra.ai/docs/server/mcp#oauth-discovery)) |
| Testing tools | `@frontmcp/testing` with MCP matchers, run by `frontmcp test` ([Testing](https://frontmcp.dev/reference/testing)) | An in-process client against the HTTP handler ([Testing](https://ts.sdk.modelcontextprotocol.io/v2/testing)) | `InMemoryTransport`, `fastmcp dev` and `fastmcp inspect` ([Unit testing](https://github.com/punkpeye/fastmcp/blob/v4.30.2/README.md#unit-testing-with-an-in-memory-transport)) | `InMemoryTransport`, `vitemcp dev` and `vitemcp inspect` ([Unit testing](https://github.com/vitemcp/server/blob/v1.10.2/README.md#unit-testing-with-an-in-memory-transport)) | An in-process client; `fastmcp call`, `list` and `inspect` ([Transports](https://github.com/PrefectHQ/fastmcp-ts/blob/v1.15.0/docs/clients/transports.mdx#in-process-connections)) | The MCP Inspector ([Debugging](https://mcp-framework.com/docs/debugging)) | A built-in inspector and a CLI client; evals run on Manufact Cloud ([CLI reference](https://docs.mcp-use.com/typescript/api-reference/cli-reference#evals-commands)) | Not documented; `@xmcp-dev/cli` calls tools from the command line ([External clients](https://xmcp.dev/docs/core-concepts/external-clients#executing-operations-from-the-cli)) | `connectMcpClient()` from `@nestjs/mcp/testing`: the SDK's client in memory, against a Nest testing module ([Testing](https://docs.nestjs.com/mcp/testing#the-in-memory-client)) | Studio and `executeTool()`; no MCP test library documented ([Studio](https://mastra.ai/docs/studio/overview#mcp-servers)) |
| Resources, prompts, completions, elicitation | All four ([`@Resource`](https://frontmcp.dev/reference/sdk/resource), [`@Prompt`](https://frontmcp.dev/reference/sdk/prompt), [completers](https://frontmcp.dev/reference/sdk/resource-template#completing-parameters), [`this.elicit`](https://frontmcp.dev/reference/sdk/elicit)) | All four ([Completion](https://ts.sdk.modelcontextprotocol.io/v2/servers/completion), [Elicitation](https://ts.sdk.modelcontextprotocol.io/v2/servers/elicitation)) | All four ([completion](https://github.com/punkpeye/fastmcp/blob/v4.30.2/README.md#prompt-argument-auto-completion), [Elicitation](https://github.com/punkpeye/fastmcp/blob/v4.30.2/README.md#elicitation)) | All four; elicitation as a returned `inputRequired()` ([Multi round-trip requests](https://github.com/vitemcp/server/blob/v1.10.2/README.md#multi-round-trip-requests)) | All four, on both eras ([Context](https://github.com/PrefectHQ/fastmcp-ts/blob/v1.15.0/docs/servers/context.mdx#asking-the-client-for-input)) | Resources, prompts, elicitation; completion only in the changelog ([Elicitation](https://mcp-framework.com/docs/tools/elicitation)) | All four ([Prompts](https://docs.mcp-use.com/typescript/server/prompts), [Elicitation](https://docs.mcp-use.com/typescript/server/elicitation)) | All four ([Resources](https://xmcp.dev/docs/core-concepts/resources), [Tools](https://xmcp.dev/docs/core-concepts/tools)) | Resources and prompts; elicitation as a returned `inputRequired()`, for 2026-07-28 clients over HTTP; completion not documented ([Primitives](https://docs.nestjs.com/mcp/primitives#the-call-context)) | Resources, prompts, and input requests through `suspend()`; completion not documented ([Asking the caller for input](https://mastra.ai/reference/tools/mcp-server#asking-the-caller-for-input)) |
| Agents, jobs or workflows | `@Agent`, `@Job`, `@Workflow` ([`@Agent`](https://frontmcp.dev/reference/sdk/agent), [`@Job`](https://frontmcp.dev/reference/sdk/job), [`@Workflow`](https://frontmcp.dev/reference/sdk/workflow)) | Not documented | Not documented | Not documented | Not documented; MCP tasks are planned ([Tasks](https://github.com/PrefectHQ/fastmcp-ts/blob/v1.15.0/docs/servers/tasks.mdx)) | Not documented; experimental MCP tasks ([Advanced features](https://mcp-framework.com/docs/tools/advanced-features)) | A client-side agent in `@mcp-use/agent` ([Agent](https://docs.mcp-use.com/typescript/agent/index)); server-side not documented | None of its own; guides wrap a Mastra, Flue or eve agent as a tool, and a Dramatiq client enqueues Python jobs ([Dramatiq](https://xmcp.dev/docs/integrations/dramatiq)) | Not documented | Mastra agents and workflows, served as tools ([Exposing agents as tools](https://mastra.ai/reference/tools/mcp-server#exposing-agents-as-tools)) |
| Skills | [`@Skill`](https://frontmcp.dev/reference/sdk/skill) classes or `skillDir()` folders, served as `skill://` resources and through SEP-2640 `skills/list` and `skills/get` ([Teaching the Model Skills](https://frontmcp.dev/learn/teaching-the-model-skills)) | Since 2.4.0: `SKILL.md` folders served with `loadSkills()` and `attach()` (experimental), read by `SkillsClient` ([Skills](https://ts.sdk.modelcontextprotocol.io/v2/servers/skills)) | Not documented | Not documented | Since 1.13.0: `Skill.create()`, a `SKILL.md` folder or a loader, served through `skills/list` and `skills/get` and carried through mounts and proxies ([Skills](https://github.com/PrefectHQ/fastmcp-ts/blob/v1.15.0/docs/servers/skills.mdx)) | Not documented | A `skills/` directory, served under the draft SEP-2640 extension ([Skills over MCP](https://docs.mcp-use.com/typescript/server/skills)) | Since 1.10 ([Skills](https://xmcp.dev/docs/core-concepts/skills)) | Not documented | Not documented in 2.11.0 |
| Widgets (MCP Apps UI) | A tool's `ui` option, for MCP Apps hosts and the OpenAI Apps SDK ([Tool UI](https://frontmcp.dev/reference/ui)) | A separate official package, `@modelcontextprotocol/ext-apps` ([ext-apps](https://github.com/modelcontextprotocol/ext-apps)) | Not documented | Not documented | `FastMCPApp`: a server-side component library and generative UI ([Apps](https://github.com/PrefectHQ/fastmcp-ts/blob/v1.15.0/docs/apps/overview.mdx)) | `MCPApp` classes, with React scaffolding ([MCP Apps](https://mcp-framework.com/docs/apps/overview)) | React views bound to tools, with ChatGPT extensions ([MCP Apps](https://docs.mcp-use.com/typescript/mcp-apps)) | Tools written as React components or HTML ([MCP Apps](https://xmcp.dev/docs/core-concepts/mcp-apps)) | Not documented | `appResources`, through `@modelcontextprotocol/ext-apps` ([MCP Apps](https://mastra.ai/reference/tools/mcp-server#mcp-apps-appresources)) |
| Transports | Streamable HTTP with or without sessions, the older HTTP+SSE, stdio, a Unix socket, in-memory ([`FrontMcpInstance`](https://frontmcp.dev/reference/sdk/frontmcp-instance)) | Streamable HTTP, stdio; HTTP+SSE only in the deprecated `server-legacy` ([Legacy clients](https://ts.sdk.modelcontextprotocol.io/v2/serving/legacy-clients)) | Streamable HTTP with the legacy SSE endpoints, which `sseEndpoint` moves or turns off; a stateless mode; stdio ([HTTP Streaming](https://github.com/punkpeye/fastmcp/blob/v4.30.2/README.md#http-streaming), [Stateless mode](https://github.com/punkpeye/fastmcp/blob/v4.30.2/README.md#stateless-mode)) | Streamable HTTP, stateless; stdio ([HTTP Streaming](https://github.com/vitemcp/server/blob/v1.10.2/README.md#http-streaming)) | Streamable HTTP, with sessions or stateless; stdio ([Running](https://github.com/PrefectHQ/fastmcp-ts/blob/v1.15.0/docs/servers/running.mdx#transports)) | stdio; HTTP Stream, which the README calls experimental; SSE, deprecated ([Transports](https://mcp-framework.com/docs/transports/overview)) | Streamable HTTP, stateless; stdio isn't served ([Migration](https://docs.mcp-use.com/typescript/server/migration#review-v2-limitations)) | Streamable HTTP, stateless; stdio ([Transports](https://xmcp.dev/docs/configuration/transports)) | Streamable HTTP, stateless, as a route of the Nest app; stdio; no HTTP+SSE ([Transports](https://docs.nestjs.com/mcp/transports), [What's not there](https://docs.nestjs.com/mcp/migration#whats-not-there)) | stdio; Streamable HTTP, stateless; HTTP+SSE removed in 2.0 ([`startHTTP()`](https://mastra.ai/reference/tools/mcp-server#starthttp), [Migration](https://mastra.ai/reference/migrations/mcp-v2#removed)) |
| Runtimes and deployment | Node 24+; builds for Node, Vercel, AWS Lambda, Cloudflare Workers and a browser module ([Production build](https://frontmcp.dev/reference/deployment/production-build)); [`@frontmcp/edge`](https://frontmcp.dev/reference/deployment/edge) for Cloudflare Workers with Durable Object sessions; [web framework routes](https://frontmcp.dev/reference/deployment/web-frameworks) and a [NestJS module](https://frontmcp.dev/reference/deployment/nestjs) | Node 20+, Bun, Deno, Cloudflare Workers; Express, Hono and Fastify adapters ([Web-standard runtimes](https://ts.sdk.modelcontextprotocol.io/v2/serving/web-standard)) | Node, Bun; Cloudflare Workers and Deno Deploy with `EdgeFastMCP` ([Edge Runtime Support](https://github.com/punkpeye/fastmcp/blob/v4.30.2/README.md#edge-runtime-support)) | Node 24+; Cloudflare Workers and Deno Deploy with `EdgeViteMCP` ([Edge Runtime Support](https://github.com/vitemcp/server/blob/v1.10.2/README.md#edge-runtime-support)) | Node 22+; `server.fetch()` for a web-standard `Request` ([Installation](https://github.com/PrefectHQ/fastmcp-ts/blob/v1.15.0/docs/installation.mdx), [`fetch()`](https://github.com/PrefectHQ/fastmcp-ts/blob/v1.15.0/docs/api/server/classes/FastMCP.mdx#fetch)) | Node 18.19+; AWS Lambda, and Cloudflare Workers and Vercel Edge through `handleRequest()` ([Serverless](https://mcp-framework.com/docs/transports/serverless)) | Node 22.22.2+; fetch and Node handlers, Next.js, Docker, Manufact Cloud ([Self-hosted](https://docs.mcp-use.com/typescript/server/deployment/self-hosted)) | Node 22.12+; Vercel, Cloudflare Workers; adapters for ten web frameworks ([Vercel](https://xmcp.dev/docs/deployment/vercel), [Next.js](https://xmcp.dev/docs/adapters/nextjs)) | Node 20.19+; NestJS 12 on Express, Fastify or Nest's Node adapter ([README](https://github.com/nestjs/mcp/blob/0.0.5/README.md?plain=1#L26)) | Node 22.13+; the Mastra server, deployers for Vercel, Netlify and Cloudflare, Mastra platform ([Deploy](https://mastra.ai/docs/deployment/overview)) |
| CLI and scaffolding | `frontmcp create`, `dev`, `build`, `test`, `inspector`, `registry`; an Nx plugin ([CLI](https://frontmcp.dev/reference/cli)) | No project CLI; a v1-to-v2 codemod ([Packages](https://ts.sdk.modelcontextprotocol.io/v2/get-started/packages)) | `fastmcp dev`, `inspect`, `validate`; no project generator ([Running Your Server](https://github.com/punkpeye/fastmcp/blob/v4.30.2/README.md#running-your-server)) | `vitemcp dev`, `inspect`, `validate`; no project generator ([Testing and Debugging](https://github.com/vitemcp/server/blob/v1.10.2/README.md#testing-and-debugging), [`vitemcp validate`](https://github.com/vitemcp/server/blob/v1.10.2/README.md#validate-with-vitemcp-validate)) | `fastmcp run`, `inspect`, `call`, `list`, `install`, `discover`; no project generator ([CLI](https://github.com/PrefectHQ/fastmcp-ts/blob/v1.15.0/docs/cli.mdx)) | `mcp create`, `mcp add`, `mcp build`, `mcp validate` ([README](https://github.com/QuantGeekDev/mcp-framework/blob/mcp-framework-v0.2.22/README.md#cli-usage)) | `create-mcp-use-app`; `mcp-use dev`, `build`, `start`, `deploy`, `evals` ([CLI reference](https://docs.mcp-use.com/typescript/api-reference/cli-reference)) | `create-xmcp-app`; `xmcp dev`, `build`, `create`, `upgrade`; `@xmcp-dev/cli` ([Installation](https://xmcp.dev/docs/getting-started/installation)) | No MCP CLI; projects come from the Nest CLI, `nest new` ([Create the project](https://docs.nestjs.com/tutorials/mcp-server#create-the-project)) | `create-mastra`; `mastra dev`, `build`, `start`, `server deploy` ([`mastra` CLI](https://mastra.ai/reference/cli/mastra)) |
| License | Apache-2.0 ([LICENSE](https://github.com/agentfront/frontmcp/blob/main/LICENSE)) | Apache-2.0 since 2.3.0; v1 is MIT ([LICENSE](https://github.com/modelcontextprotocol/typescript-sdk/blob/v2.4.0/LICENSE)) | MIT ([LICENSE](https://github.com/punkpeye/fastmcp/blob/v4.30.2/LICENSE)) | MIT ([LICENSE](https://github.com/vitemcp/server/blob/v1.10.2/LICENSE)) | Apache-2.0 in `package.json`; no LICENSE file ([`package.json`](https://github.com/PrefectHQ/fastmcp-ts/blob/v1.15.0/package.json)) | MIT ([LICENSE](https://github.com/QuantGeekDev/mcp-framework/blob/mcp-framework-v0.2.22/LICENSE)) | MIT ([LICENSE](https://github.com/mcp-use/mcp-use/blob/mcp-use@2.12.10/LICENSE)) | MIT ([license](https://github.com/basementstudio/xmcp/blob/c6f9e782015e447aa8b4b9bfeeec021ef506c495/license.md)) | MIT ([LICENSE](https://github.com/nestjs/mcp/blob/0.0.5/LICENSE)) | Apache-2.0; only the repository's `ee/` directories, which don't include `packages/mcp`, have another license ([LICENSE.md](https://github.com/mastra-ai/mastra/blob/@mastra/mcp@2.11.0/LICENSE.md?plain=1#L1-L16)) |
| Version checked, date | 1.15.2, 2026-12-04 | 2.4.0, 2026-12-01 | 4.30.2, 2026-12-01 | 1.10.2, 2026-12-01 | 1.15.0, 2026-12-01 | 0.2.22, 2026-12-01 | 2.12.10, 2026-12-01 | 1.13.4, 2026-12-01 | 0.0.5, 2026-12-01 | 2.11.0, 2026-12-01 |

<a id="popularity-and-age"></a>

### Popularity and age

On 2026-12-01, from the GitHub API, npm's download counts for 2026-11-23 to 2026-11-29, and each package's first publish date on npm:

| | GitHub stars | npm downloads that week | First published |
| --- | --- | --- | --- |
| FrontMCP | 154 | 12,061 (`@frontmcp/sdk`) | 2025-11-05 |
| Official SDK | 13,853 | 32,388,299 (`@modelcontextprotocol/server`); 84,471,285 (v1, `@modelcontextprotocol/sdk`) | v1 2024-11-11; v2 2026-04-01 |
| FastMCP | 3,288 | 681,430 (`fastmcp`) | 2024-12-23 |
| ViteMCP | 27 | 2,154 (`@vitemcp/server`) | 2026-08-06 |
| FastMCP TypeScript | 98 | 23,713 (`@prefecthq/fastmcp-ts`) | 2026-04-23 |
| mcp-framework | 1,011 | 67,392 (`mcp-framework`) | 2024-12-08 |
| mcp-use | 11,035 (with the Python SDK) | 46,681 (`mcp-use`) | 2025-04-20 |
| xmcp | 1,357 | 25,992 (`xmcp`) | 2025-05-17 |
| @nestjs/mcp | 19 | 29,905 (`@nestjs/mcp`) | 2026-11-04 |
| Mastra | 29,929 (the whole Mastra repository) | 1,170,458 (`@mastra/mcp`, its client and its server together) | 2025-01-14 |

These are dated activity signals, not counts of production users. Downloads include repeat installations and automated builds; stars do not verify reliability. FrontMCP had fewer stars than every library here except ViteMCP, FastMCP TypeScript and @nestjs/mcp, and fewer downloads than every library except ViteMCP. Two rows count more than an MCP server: Mastra's stars are for its whole repository, and `@mastra/mcp` holds Mastra's MCP client as well as its server. Weekly downloads move a lot: in the week of 2026-10-12 to 2026-10-18, npm counted 15,574 for `@frontmcp/sdk`, 7,528 for `xmcp` and 351,155 for `fastmcp`. mcp-framework has had no release and no commit on its default branch since 2026-04-16. Assess maintenance through issue responses, actual breaking changes and your own [upgrade checks](https://frontmcp.dev/learn/upgrading-a-server), rather than treating release frequency as API churn.

<a id="how-this-was-checked"></a>

## How this was checked

For the other libraries, on 2026-12-01 at the versions in the table, we:

1. **Read its own sources**: its documentation site, README, repository at the release tag, changelog and npm entry. Nothing came from third-party articles or comparisons. Where those sources don't mention a feature, the table says "not documented".
2. **Ran its hello world.** We installed the current version in an empty project, with Node 24.22.1 and npm 11.19.1, followed its documented quickstart, made it serve one tool, `add`, and called it with `{ "a": 2, "b": 3 }`. The code each page shows for that library is the code we ran. Where something didn't work as documented, the page says what happened.
3. **Asked the running server which MCP revisions it serves.** A small client sent `initialize` with each of 2024-11-05, 2025-03-26, 2025-06-18 and 2025-11-25 and called `add` on the session, then sent the 2026-07-28 requests, which have no `initialize`: `server/discover` and `tools/call`, with the `MCP-Protocol-Version`, `Mcp-Method` and `Mcp-Name` headers and the revision, client info and client capabilities in `_meta`. We sent them over HTTP and, where the library serves it, over stdio, and noted whether an older revision got an `Mcp-Session-Id`. The earlier checks, on 2026-10-10 and 2026-10-20, sent the same requests to the versions named then. The two rows on MCP 2026-07-28 and on sessions are what the servers answered.
4. **Counted popularity** from the GitHub API and npm's download API, on 2026-12-01.
The recommendations at the top are editorial judgments based on those observations. We do not assign an overall score. More built-in components can reduce application wiring but can also introduce conventions or dependencies you do not need. "Not documented" is a gap in the sources reviewed, not proof that a feature is impossible.

FrontMCP serves all five revisions over Streamable HTTP and stdio. On stdio, `server/discover` lists the five revisions and a 2026-07-28 `tools/call` returns `resultType` and the server's `info` in `_meta`. An `initialize` connection still serves the older revisions and can also answer an explicitly versioned 2026-07-28 request. [Protocol versions](https://frontmcp.dev/reference/server/protocol-versions#revisions-over-stdio) describes the routing.

The exception is a [stdio server with Claude Code channels](https://frontmcp.dev/reference/server/protocol-versions#a-stdio-server-with-channels-declines-2026-07-28) (it has a channel, or an event with the `channel` option): it answers 2026-07-28 requests with `-32022`, and its clients open a session with `initialize`. We ran this on 1.12.0 on 2026-11-11: over stdio, a server with a channel and one with such an event declined `server/discover` and a 2026-07-28 `tools/call`, and served `initialize` for each earlier revision; over HTTP they answered all five, as a server without channels did over both.

The protocol dependency and transport claims were re-checked against the 1.15.2 source. MCP 2026-07-28 requests that fail their handler's request schema now get `-32602` before the handler runs ([request validation](https://frontmcp.dev/reference/server/protocol-versions#rejecting-malformed-requests), [#966](https://github.com/agentfront/frontmcp/pull/966)). A stateless Worker rejects standalone `GET` streams with `405`; streamed POST replies to older clients release their server when the body ends or the client cancels it ([Workers](https://frontmcp.dev/reference/deployment/cloudflare-workers#what-the-worker-serves), [#963](https://github.com/agentfront/frontmcp/pull/963)). Legacy HTTP+SSE message posts still accept any `Accept` value ([client compatibility](https://frontmcp.dev/reference/deployment/mcp-clients#cannot-post-mcpmessage)). A stateful Streamable HTTP `DELETE` aborts calls on the transport it closes. [Ending a session across instances](https://frontmcp.dev/reference/deployment/high-availability#ending-a-session-across-instances) covers what happens when a different instance receives the request. The internal protocol client has [its own subpath](https://frontmcp.dev/compare/official-typescript-sdk#what-frontmcp-uses-from-it), and the protocol dependency remains the official SDK v1, pinned to 1.32.2.

Loopback servers now check Origin by default, Unix sockets use owner-only permissions, and stdio shutdown disposes scopes ([transport safety](https://frontmcp.dev/reference/deployment/node#serving-on-a-unix-socket), [stdio](https://frontmcp.dev/reference/sdk/frontmcp-instance#frontmcpinstancerunstdioconfigorclass), [#984](https://github.com/agentfront/frontmcp/pull/984)). Provider names can be omitted, hook parameters are checked against their flow, `Finally` runs after any stage outcome, and object-union output schemas are advertised ([providers](https://frontmcp.dev/reference/sdk/provider), [hooks](https://frontmcp.dev/reference/sdk/hooks), [output policy](https://frontmcp.dev/reference/sdk/tool#output-policy)). Skills use a compact instruction line and omit numeric resource priority by default ([skills](https://frontmcp.dev/reference/sdk/skill#server-options-skillsconfig)).

The FrontMCP protocol and deployment descriptions were checked against the release source. FrontMCP's side of each tool comparison is a Playground: the same `add` tool, with tests that this site runs on every build. There are no performance numbers on these pages; measuring them fairly needs a harness of its own.

<a id="common-questions"></a>

## Common questions

<a id="which-typescript-mcp-frameworks-support-mcp-2026-07-28"></a>

### Which TypeScript MCP frameworks support MCP 2026-07-28?

In [our protocol checks](https://frontmcp.dev/compare#how-this-was-checked) on 2026-12-01, the official SDK (through `createMcpHandler()` and `serveStdio()`), ViteMCP, Prefect's FastMCP TypeScript, xmcp and @nestjs/mcp served MCP 2026-07-28 over HTTP and stdio, next to the four older revisions; mcp-use served all five over HTTP; Mastra's `MCPServer` served 2026-07-28 over HTTP and stdio and, by default, only that revision. FastMCP 4.30.2 and mcp-framework 0.2.22 didn't serve it: over HTTP they answered `400`, and over stdio `server/discover` got `-32601`. FrontMCP 1.15.2, re-checked in the source on 2026-12-04, serves it over HTTP and stdio next to the four older revisions, except [stdio servers with Claude Code channels](https://frontmcp.dev/reference/server/protocol-versions#a-stdio-server-with-channels-declines-2026-07-28), which decline it. The SDK a framework depends on doesn't settle it: FrontMCP does this on the official SDK v1, with its own implementation of that revision ([Protocol versions](https://frontmcp.dev/reference/server/protocol-versions)).

<a id="how-does-frontmcp-differ-from-the-official-typescript-sdk"></a>

### How does FrontMCP differ from the official TypeScript SDK?

The official SDK is the MCP project's own implementation of the protocol: server and client libraries you write a server around, with Standard Schema libraries such as Zod, ArkType and Valibot, Node 20 or later, and adapters for Express, Hono and Fastify. FrontMCP is a framework built on the SDK's v1 protocol layer that implements MCP 2026-07-28 itself and adds apps, shared services, auth modes up to its own OAuth server, agents, jobs, widgets, a test library and builds for several platforms. [FrontMCP vs the official MCP TypeScript SDK](https://frontmcp.dev/compare/official-typescript-sdk) shows the same server written with each, and [when the SDK alone is the better choice](https://frontmcp.dev/compare/official-typescript-sdk#when-the-sdk-alone-is-the-better-choice).

<a id="is-there-a-fastmcp-alternative-for-typescript"></a>

### Is there a FastMCP alternative for TypeScript?

Three TypeScript libraries share FastMCP's name or API. FastMCP for TypeScript, punkpeye's `fastmcp`, serves MCP 2025-11-25 and earlier; ViteMCP, by the same author, continues its API on 2026-07-28 for stateless servers; and Prefect's `@prefecthq/fastmcp-ts` is the TypeScript counterpart of the Python FastMCP, serving both protocol eras. Each has a page comparing it with FrontMCP ([FastMCP](https://frontmcp.dev/compare/fastmcp-typescript), [ViteMCP](https://frontmcp.dev/compare/vitemcp), [FastMCP TypeScript](https://frontmcp.dev/compare/fastmcp-ts)), and [Migrating from FastMCP for TypeScript](https://frontmcp.dev/learn/migrating-from-fastmcp) moves a `fastmcp` server to FrontMCP one client contract at a time.

<a id="which-typescript-mcp-frameworks-support-oauth"></a>

### Which TypeScript MCP frameworks support OAuth?

FrontMCP can be the OAuth server itself, with its own sign-in page or an upstream provider's, or verify the JWTs your identity provider issues. The official SDK, mcp-framework, @nestjs/mcp and Mastra's `MCPServer` document an OAuth resource server; mcp-use documents one and, with `oauthProxy()`, an OAuth proxy in front of GitHub, Google or another provider; FastMCP and ViteMCP an OAuth proxy with Google, GitHub and Azure presets; FastMCP TypeScript an OAuth server and proxy from the official SDK's frozen `server-legacy` package; and xmcp OAuth through plugins. The [full table](https://frontmcp.dev/compare#compared-on-the-same-criteria) links each library's authentication docs, and [Authenticating Clients](https://frontmcp.dev/learn/authenticating-clients#how-the-modes-map-to-mcp-authorization) maps FrontMCP's modes to the MCP authorization specification.

<a id="which-typescript-mcp-frameworks-run-on-cloudflare-workers"></a>

### Which TypeScript MCP frameworks run on Cloudflare Workers?

The official SDK, FastMCP (with `EdgeFastMCP`), ViteMCP (with `EdgeViteMCP`), mcp-framework (through `handleRequest()`), xmcp and Mastra (with [`@mastra/deployer-cloudflare`](https://mastra.ai/integrations/deploy/cloudflare)) document Cloudflare Workers, and FrontMCP runs on Workers two ways. [`@frontmcp/edge`](https://frontmcp.dev/reference/deployment/edge) keeps each session in a Durable Object, so clients before MCP 2026-07-28 keep a session and a notification stream ([sessions in a Durable Object](https://frontmcp.dev/reference/deployment/edge#sessions-in-a-durable-object)). `frontmcp build --target cloudflare` builds a Worker from a decorated project. Enable `sessions` for older clients and `authStore` for local or remote sign-ins that span isolates. Both use [Durable Objects](https://frontmcp.dev/reference/deployment/cloudflare-workers#keeping-state-in-durable-objects).

<a id="how-popular-is-frontmcp-compared-with-other-typescript-mcp-frameworks"></a>

### How popular is FrontMCP compared with other TypeScript MCP frameworks?

On 2026-12-01, FrontMCP had 154 GitHub stars and 12,061 npm downloads of `@frontmcp/sdk` in the week of 2026-11-23 to 2026-11-29. The official SDK had the most downloads, and Mastra's repository the most stars. These are activity signals, not counts of production users; [Popularity and age](https://frontmcp.dev/compare#popularity-and-age) lists every library's numbers.
