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.

65
/ 100
Established

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.

Maintenance 13 / 25
Adoption 10 / 25
Maturity 25 / 25
Community 17 / 25

How are scores calculated?

Stars

119

Forks

20

Language

TypeScript

License

Apache-2.0

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.