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
Prerequisites:
- Node.js 18+
- pnpm 8+
- Install dependencies:
pnpm install - Develop with live reload:
pnpm run dev(uses tsup watch mode) - Debug MCP server:
pnpm run inspect(test MCP server with MCP Inspector) - Build for production:
pnpm run build(tsup production bundle) - Lint your code:
pnpm run lint(ESLint with @antfu/eslint-config)