mcp-ts-core and template-mcp-server
About mcp-ts-core
cyanheads/mcp-ts-core
TypeScript template for building Model Context Protocol (MCP) servers. Ships with declarative tools/resources, pluggable auth, multi-backend storage, OpenTelemetry observability, and first-class support for both local and edge (Cloudflare Workers) runtimes.
Built on the MCP SDK, it provides a dependency library rather than a fork—handlers receive a unified context object (`ctx`) with request-scoped logging, tenant storage, LLM sampling, and cancellation signals. The framework automates transport setup (stdio/HTTP/Workers), validates definitions against the MCP spec at startup, and classifies errors into standard categories without instrumentation code. Multi-backend storage (in-memory, filesystem, Supabase, Cloudflare D1/KV/R2), pluggable auth (JWT/OAuth), and OpenTelemetry observability are configured via environment variables, with optional peer dependencies for parsers, OTEL SDK, and cloud providers.
About template-mcp-server
mcpdotdirect/template-mcp-server
Template to quickly set up your own MCP server
Built on FastMCP, this template provides dual transport support—stdio for local CLI integration and HTTP/SSE for remote or team-based deployments—with TypeScript tooling and pre-configured dev scripts. It scaffolds the boilerplate for defining MCP tools, resources, and prompts while supporting multiple runtimes (Node.js, Bun) and seamless integration with Cursor via command or URL-based connection methods.
Related comparisons
Scores updated daily from GitHub, PyPI, and npm data. How scores work