AgentIndex icon
AgentIndex
ToolsCategoriesTrendingNewCompare
Submit Tool
Home/
RAG / Knowledge Base/
mcp-ts-template
mcp-ts-template logo

mcp-ts-template

Active·★ 140·Apache-2.0·Updated 2026-05-29
★ Trending★ RAG / Knowledge Base★ Observability

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.

This is a TypeScript template designed for building Model Context Protocol (MCP) servers, offering a robust set of features like declarative tools, pluggable authentication, and multi-backend storage. It supports flexible deployments, running seamlessly on both local environments and edge platforms like Cloudflare Workers, while integrating observability through OpenTelemetry.

#TypeScript#MCP#Server Template#Cloudflare Workers#OpenTelemetry#Authentication#Multi-backend Storage
$ Install
$ git clone https://github.com/cyanheads/mcp-ts-template.git && cd mcp-ts-template && bun install
↗ Visit site★ GitHub
01

Features

01Define tools and resources in single, self-contained files.
02Pluggable authentication modes (none, JWT, OAuth).
03Multi-backend storage support (in-memory, filesystem, Supabase, Cloudflare D1/KV/R2).
04Integrated OpenTelemetry for tracing and metrics with structured logging.
05Runs on local (stdio/HTTP) and edge (Cloudflare Workers) runtimes with the same codebase.
02

Compatibility

TypeScript
Language
Verified via docs
Bun
Runtime
Verified via docs
Cloudflare Workers
Deployment Target
Verified via docs
Model Context Protocol (MCP)
Protocol
Verified via docs
Node.js
Runtime
Verified via docs
03

Quick start

1
$ git clone https://github.com/cyanheads/mcp-ts-template.git
2
$ cd mcp-ts-template
3
$ bun install
04

Use cases

↳Building interactive tools that prompt users for missing parameters.
↳Integrating with external APIs and services, such as fetching data or utilizing LLMs.
↳Developing server-side applications that run on both local and edge environments.
↳Creating modular and maintainable MCP servers with pluggable components for authentication and storage.
05

Alternatives

mindsdb logo
mindsdb★ 39.2k
Federated Query Engine for AI - The only MCP Server you'll ever need
vs →
Brave Search MCP logo
Brave Search MCP★ 86.5k
Allow your AI Agent to search the real-time internet using Brave Search API. Essential for getting up-to-date information.
vs →
GitHub MCP Server logo
GitHub MCP Server★ 30.3k
GitHub's official MCP Server. Allows AI agents to interact directly with your GitHub repositories (read files, search code, issues).
vs →
genai-toolbox logo
genai-toolbox★ 15.4k
MCP Toolbox for Databases is an open source MCP server for databases.
vs →
mcp-chrome logo
mcp-chrome★ 11.8k
Chrome MCP Server is a Chrome extension-based Model Context Protocol (MCP) server that exposes your Chrome browser functionality to AI assistants like Claude, enabling complex browser automation, content analysis, and semantic search.
vs →
awesome-mcp-servers logo
awesome-mcp-servers★ 88.2k
A collection of MCP servers.
vs →
Activepieces logo
Activepieces★ 22.5k
Open source alternative to Zapier. AI Agents & MCPs & AI Workflow Automation.
vs →
fastapi_mcp logo
fastapi_mcp★ 11.9k
Expose your FastAPI endpoints as Model Context Protocol (MCP) tools, with Auth!
vs →
See all alternatives →

Related searches

mcp-ts-template AlternativesBest RAG / Knowledge Base Tools 2026Open Source RAG / Knowledge Basemcp-ts-template Tutorialmcp-ts-template Vs CompetitorsTypeScriptMCPServer Template

Comments

Log in to leave a comment
  • H
    Hayden LewisApr 22, 2026

    Good for developers who want a solid foundation for MCP server development.

  • E
    Elliot JohnsonMar 30, 2026

    Works as a base that teams can customize for their specific needs.

  • A
    Avery WhiteMar 23, 2026

    Template quality is high — production patterns, not just a Hello World.

  • R
    Reese NguyenMar 6, 2026

    TypeScript MCP server template that handles the protocol plumbing correctly.

On this page
01Features02Compatibility03Quick start04Use cases05Alternatives
Stats
GitHub Stars★ 140
Last commit1d ago
StatusActive
LicenseApache-2.0
CategoryRAG / Knowledge Base
Trend (30d)
+5.6↑ 0.8%
Links
Documentation↗Discussion↗Issues↗Releases↗

Deploy on DigitalOcean — Get $200 Free Credit

Ad
© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
QYSGitHubBuy me a coffee ☕

Browse by Category

Code AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.