← Back to directory
F

FastMCP TypeScript

Official
Framework / SDK
Build MCP servers, clients, and interactive apps with TypeScript.

This is a framework for building MCP servers or agents, not a server you connect a client to.

Category
Dev Tools #621 of 751
Stars
★ 100 Popular
Transport
stdio (local process) · Streamable HTTP
Credentials
No credential needed
Language
TypeScript
Last commit
41FMRS · D

The README describes this as the official TypeScript counterpart to FastMCP, maintained by the Prefect team and built on the official MCP TypeScript SDK v2. It is a development framework, not a standalone server with preconfigured business tools. The repository root is the supplied server path, but no server manifest was provided, so specific callable tools and client configuration cannot be confirmed.

Strongest · Setup experience 11/20 Weakest · Maintenance 5/20

Reliability
6/20
Security and permissions
8/20
Maintenance
5/20
Documentation
11/20
Setup experience
11/20
Why each score
Reliability 6/20
The README shows server, client, tool, resource, prompt, HTTP, and stdio examples, but provides no verifiable CI or key-path test evidence and little detail on error handling or dependency control. The happy path looks plausible, but the initialization handshake and repeatability of declared behavior cannot be confirmed.
Security and permissions 8/20
The documentation shows a JWT verifier and rate-limiting middleware, and says uploaded file bytes do not pass through the LLM. It does not sufficiently describe permission scope, sensitive data flows, confirmation for dangerous operations, or credential handling. No red-line evidence is present, so the score reflects only what is visible.
Maintenance 5/20
Repository metadata says the project is not archived and lists 98 stars and 1 open issue; the README claims maintenance by the Prefect team. There is no evidence here about releases, commit cadence, dependency updates, a security response channel, or a license; the license is unknown, so sustainability is uncertain.
Documentation 11/20
The README covers installation, server and client examples, authentication, middleware, the CLI, composition, and apps, providing useful onboarding material. It gives limited evidence about parameter limits, costs, troubleshooting, platform compatibility, or full security boundaries, and the examples cannot be verified from the supplied material.
Setup experience 11/20
The README provides an npm install command, TypeScript examples, CLI run and inspection commands, HTTP and stdio options, and editor installation entry points. It lacks a complete mainstream-client connection configuration, runtime prerequisites, and verifiable execution evidence, so actual setup complexity remains uncertain.

Static review · not runReviewed 2026-11-29

Read the FMRS scoring method →

Fit and risk

Best for

  • Developers building MCP servers, clients, or apps with TypeScript.
  • Teams that want to define input schemas with Standard Schema-compatible libraries.

Not for

  • Users who only need to connect to and use an existing business MCP server.
  • Users who do not use TypeScript or JavaScript and do not plan to build MCP integrations with this framework.

Required permissions

  • Required permissions depend on the server and handlers built with the framework; the README does not specify a universal external account or data permission.
  • When JWT verification is configured, the server uses the supplied JWKS URI, issuer, and audience settings for verification.

Risks and side effects

  • Server handlers may access or modify data and services connected by their implementation; review handlers, middleware, and deployment settings.
  • Access control and network exposure for HTTP deployments depend on the application configuration; the README shows HTTP transport and JWT verification but does not specify a default security policy.
  • Sampling adapters forward server sampling requests to the configured AI provider; confirm that the content sent is expected.

Setup

Install with npm install @prefecthq/fastmcp-ts. Use fastmcp run to start a server and fastmcp inspect to inspect its components. The README does not provide a ready-to-use MCP client server configuration example.

Check that it works

This is a TypeScript framework for building MCP servers, clients, and apps. The README does not document tools on a server for users to connect to, so a client connection cannot be verified from this source.

Troubleshooting

  1. Check that @prefecthq/fastmcp-ts is installed and that the server file and imports are correct.
  2. Use fastmcp inspect --file <file> to inspect server components, or --url to inspect a running server.
  3. Check which MCP protocol version the server and client negotiate; use --legacy to force the older protocol or --pin to require a specific version.
  4. If HTTP connection or authentication fails, check the server URL, port, and JWT verification settings.

Use cases

Write TypeScript MCP servers that expose tools, resources, and prompts.
Build clients that connect to one or multiple MCP servers.
Add sampling adapters, middleware, and JWT verification to MCP sessions.
Build interactive apps rendered in MCP host conversations.

Overview

FastMCP TypeScript is a framework maintained by the Prefect team, built on the official MCP TypeScript SDK v2. It helps developers build MCP servers, clients, and interactive apps, with support for tools, resources, prompts, context, middleware, authentication, server composition, client connections, sampling adapters, UI components, and a CLI. Servers use stdio by default and can also be configured for HTTP transport.

Similar servers

Source revision ef4472017c84 Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/fastmcp-ts.svg)](https://followmcp.com/en/servers/fastmcp-ts)