FastMCP (TypeScript)

Active
GitHub TypeScript MIT

Description

A fast TypeScript framework for building MCP servers with a clean, developer-friendly API for creating Model Context Protocol tools and services.

Key Features

  • Simple Tool, Resource, and Prompt definition with TypeScript schemas
  • HTTP Streaming with SSE compatibility and HTTPS support
  • Edge runtime support for Cloudflare Workers and Deno Deploy
  • Custom HTTP routes for REST APIs, webhooks, and admin interfaces
  • Authentication, session tracking, and progress notifications
  • Stateless mode for serverless deployments with built-in CORS

Use Cases

πŸ’‘ Building MCP servers for LLM tool integrations quickly
πŸ’‘ Creating remote AI tool services with HTTP streaming
πŸ’‘ Deploying serverless MCP tools on edge platforms
πŸ’‘ Developing authenticated data access layers for AI agents
πŸ’‘ Building hybrid REST + MCP API services

Quick Start

npm install fastmcp, then create a FastMCP server, add tools with execute functions, and start with stdio or httpStream transport.

Related Projects

Related Articles