A production-grade TypeScript framework for building MCP servers, not a template you fork. Install it as a dependency and use declarative builders (tool, resource, prompt) with Zod schemas while the framework handles auth, telemetry, storage, and transport. The standout feature is the typed error contract system: declare errors with reason codes and recovery hints, get type-safe ctx.fail() in handlers, and clients see failure modes in tools/list. Enrichment fields automatically merge into both structuredContent and content arrays so Claude Code and Claude Desktop both render context without manual formatting. Includes a build-time linter that validates schemas, auth scopes, and format parity. Ships with agent skills and scaffolding for the full development cycle from design through publishing.
claude mcp add --transport stdio cyanheads-mcp-ts-template -- npx -y mcp-ts-template