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

mcp-ts-template

Active·★ 152·Apache-2.0·Updated 2026-10-06
★ Trending★ RAG / Knowledge Base★ Observability

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.

© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
AboutContactPrivacy PolicyTerms of UseQYSGitHubBuy me a coffee ☕

Browse by Category

Code AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.

#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

ragflow logo
ragflow★ 91.7k
RAGFlow is a leading open-source Retrieval-Augmented Generation (RAG) engine that fuses cutting-edge RAG with Agent capabilities to create a superior context layer for LLMs
MaxKB logo
MaxKB★ 22.9k
An open-source platform for building enterprise-grade agents. Powerful and easy to use.
GitHub MCP Server logo
GitHub MCP Server★ 33.4k
GitHub's official MCP Server. Allows AI agents to interact directly with your GitHub repositories (read files, search code, issues).

Comments

Log in to leave a comment
  • ?
    usr_seed_0973Apr 22, 2026

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

  • ?
    usr_seed_0430Mar 30, 2026

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

  • ?
    usr_seed_0760Mar 23, 2026

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

  • ?
    usr_seed_0313Mar 6, 2026

    TypeScript MCP server template that handles the protocol plumbing correctly.

On this page
01Features02Compatibility03Quick start04Use cases05Alternatives
Stats
GitHub Stars★ 152
Last commit
mcp-chrome logo
mcp-chrome★ 12.5k
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.
awesome-mcp-servers logo
awesome-mcp-servers★ 95.9k
A collection of MCP servers.
Activepieces logo
Activepieces★ 24.9k
Open source alternative to Zapier. AI Agents & MCPs & AI Workflow Automation.
fastapi_mcp logo
fastapi_mcp★ 12.0k
Expose your FastAPI endpoints as Model Context Protocol (MCP) tools, with Auth!
mcp logo
mcp★ 7.2k
Browser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser
See all alternatives →
1d ago
StatusActive
LicenseApache-2.0
CategoryRAG / Knowledge Base
Trend (30d)
+6↑ 0.8%
Links
Documentation↗Discussion↗Issues↗Releases↗

Deploy on DigitalOcean — Get $200 Free Credit

Ad