mcp-ts-core
Active·★ 153·Apache-2.0·Updated 2026-10-12
@cyanheads/mcp-ts-core is a TypeScript framework for building MCP servers. It offers declarative tool/resource/prompt definitions with Zod schemas, pluggable authentication, multi-backend storage, OpenTelemetry observability, and runs on both local (stdio/HTTP) and edge (Cloudflare Workers) runtimes. The framework handles infrastructure concerns like transport, auth, storage, config, logging, and lifecycle, so developers can focus on writing business logic.
#ai#cloudflare-workers#llm#llm-agent#mcp#mcp-server#mcp-servers#model-context-protocol
01
Features
01Declarative definitions with Zod schemas for tools, resources, and prompts
02Unified Context object with logging, state, elicitation, sampling, and cancellation
03Inline authorization scopes on definitions
04Task tools for long-running operations with lifecycle management
05Multi-backend storage (in-memory, filesystem, Supabase, Cloudflare D1/KV/R2)
02
Compatibility
Node.js
Node.js (stdio/HTTP)
Verified via docs
Cloudflare Workers
Cloudflare Workers
Verified via docs
03
Quick start
1
$ bunx @cyanheads/mcp-ts-core init my-mcp-server
2
$ cd my-mcp-server
3
$ bun install
04
Use cases
↳Building MCP servers for AI tools and agents
↳Developing declarative tool, resource, and prompt definitions for LLM interactions
↳Deploying MCP servers on local environments or edge platforms like Cloudflare Workers
05
Alternatives
⚡Top VS:
MemoryPilot★ 18
The most advanced AI memory server in the world. Hybrid search, Temporal Knowledge Graph, transformer embeddings, AAAK compression (3x token savings) — pure Rust, single binary, zero dependencies.
mcp-victoriametrics★ 239
The implementation of Model Context Protocol (MCP) server for VictoriaMetrics
arxiv-mcp-server★ 3.2k
A Model Context Protocol server for searching and analyzing arXiv papers
openrouter-mcp-multimodal★ 99
MCP server for OpenRouter providing text chat and image analysis tools
rekal★ 53
Long-term memory for LLMs. MCP server backed by hybrid search in a single SQLite file.
post-cortex★ 20
Post-Cortex provides durable memory infrastructure with automatic knowledge graph construction, intelligent entity extraction, and semantic search powered by local transformer models.
Comments
Log in to leave a comment
No comments yet. Be the first!