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.
119 stars. Available on npm.
Stars
119
Forks
20
Language
TypeScript
License
Apache-2.0
Category
Last pushed
Mar 15, 2026
Commits (30d)
0
Dependencies
9
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/mcp/cyanheads/mcp-ts-core"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Compare
Related servers
cyanheads/mcp-ts-template
TypeScript template for building Model Context Protocol (MCP) servers. Ships with declarative...
iolufemi/Express-REST-API-and-MCP-Server-Framework
Express REST API and MCP Server Framework is a comprehensive development framework for building...
redhat-data-and-ai/template-mcp-server
Production-ready Python template for building MCP servers with FastMCP, FastAPI, OAuth, and...
aashari/boilerplate-mcp-server
TypeScript Model Context Protocol (MCP) server boilerplate providing IP lookup tools/resources....
mcpdotdirect/template-mcp-server
Template to quickly set up your own MCP server