{"repo":"PrefectHQ/fastmcp-ts","free":true,"listed":false,"github":"https://github.com/PrefectHQ/fastmcp-ts","clone":"git clone https://github.com/PrefectHQ/fastmcp-ts.git","description":"The official FastMCP TypeScript library for building MCP servers, clients, and apps 🏎️ 🏎️ 🏎️","language":"TypeScript","stars":45,"topics":["agents","ai","javascript","llms","mcp","mcp-apps","mcp-client","mcp-server","mcp-tools","model-context-protocol"],"license":null,"category":"mcp-servers","readme_excerpt":"fastmcp-ts The TypeScript framework for building Model Context Protocol servers, clients, and apps. The official TypeScript counterpart to FastMCP for Python - built and maintained with 💙 by the same team at Prefect. Built on version 2 of the official MCP TypeScript SDK — the scoped @modelcontextprotocol/server and @modelcontextprotocol/client packages. FastMCP handles the protocol plumbing so you can focus on what your server actually does. FastMCP 1.0 speaks both MCP protocol generations: the 2025 legacy era and the 2026-07-28 modern era. A server serves both at once, and a client negotiates one. The client negotiates automatically by default: it probes once at connect, uses the modern era when the server offers it, and falls back to legacy otherwise, so upgrading from 0.x keeps your existing code running against servers of either generation. Pass versionNegotiation: { mode: 'legacy' } to opt out of the probe. The migration guide covers the upgrade path. Installation --- Servers Turn TypeScript functions into MCP tools, resources, and prompts. Input schemas are inferred automatically from any Standard Schema-compatible library: Zod, Valibot, ArkType, and others. Save this file as server.ts . Installing @prefecthq/fastmcp-ts also installs the fastmcp CLI. Use it to inspect the server and call a tool, with no build step: Context Handlers access logging, progress, LLM sampling, user elicitation, and per-session state through an ambient context with no prop-drilling. Middlewar","default_branch":null,"files":null,"tree":[],"storefront":"/r/PrefectHQ","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/PrefectHQ/fastmcp-ts/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}