Skip to content

gkzhb/fastmcp-template

Repository files navigation

TypeScript MCP Server Template

A modern TypeScript MCP server template featuring:

  • ⚡️ fastmcp - Fast MCP server framework
  • 🛡️ zod - Type-safe schema validation
  • 📦 tsup - Zero-config TypeScript bundler
  • @antfu/eslint-config - Opinionated ESLint config

Quick Start

Prerequisites:

  • Node.js 18+
  • pnpm 8+
  1. Install dependencies: pnpm install
  2. Develop with live reload: pnpm run dev (uses tsup watch mode)
  3. Debug MCP server: pnpm run inspect (test MCP server with MCP Inspector)
  4. Build for production: pnpm run build (tsup production bundle)
  5. Lint your code: pnpm run lint (ESLint with @antfu/eslint-config)

About

TypeScript MCP Server Template

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published