
Mcp Ts Template
A production-grade TypeScript framework for building MCP servers, not a template you fork. Install it as a dependency and use declarative builders (tool, resource, prompt) with Zod schemas while the framework handles auth, telemetry, storage, and transport. The standout feature is the typed error contract system: declare errors with reason codes and recovery hints, get type-safe ctx.fail() in handlers, and clients see failure modes in tools/list. Enrichment fields automatically merge into both structuredContent and content arrays so Claude Code and Claude Desktop both render context without manual formatting. Includes a build-time linter that validates schemas, auth scopes, and format parity. Ships with agent skills and scaffolding for the full development cycle from design through publishing.
- GitHub stars
- 145
- tool
- 1
- transport
- STDIO, HTTP
- env vars
- 5
- last updated
- Mar 9, 2026
Tools
1 toolsPublic tool metadata for what this MCP can expose to an agent.
catalog_searchSearch catalog item names. An empty query lists all items.
Search catalog item names. An empty query lists all items.
No parameter schema in public metadata yet.
Sponsors
Configuration
MCP_LOG_LEVELdefault: infoSets the minimum log level for output (e.g., 'debug', 'info', 'warn').
MCP_HTTP_HOSTdefault: 127.0.0.1The hostname for the HTTP server.
MCP_HTTP_PORTdefault: 3010The port to run the HTTP server on.
MCP_HTTP_ENDPOINT_PATHdefault: /mcpThe endpoint path for the MCP server.
MCP_AUTH_MODEdefault: noneAuthentication mode to use: 'none', 'jwt', or 'oauth'.
Readme
@cyanheads/mcp-ts-core
Agent-native TypeScript framework for building MCP servers.
Runtime infrastructure for your server, and the agent skills to build, test, and ship it.
Build AI tools for anything you can describe
Details
- Repository
- github.com/cyanheads/mcp-ts-template
- Category
- Monitoring & Observability
- Package
mcp-ts-template- Transport
- STDIO, HTTP
- Registry
- MCP registry, active
More from cyanheads
- nist-nvd-mcp-server
- open-meteo-mcp-server
- openfda-mcp-server
- wikipedia-mcp-server
- census-mcp-server
- crossref-mcp-server
- eur-lex-mcp-server
- faostat-mcp-server
- fema-mcp-server
- libofcongress-mcp-server
- openfoodfacts-mcp-server
- orcid-mcp-server
- reference-data-mcp-server
- usaspending-mcp-server
- arxiv-mcp-server
- exchange-rates-mcp-server
- openlibrary-mcp-server
- protein-mcp-server
- Pubmed Mcp Server167
- Clinicaltrialsgov Mcp Server100
- Openalex Mcp Server17
- Faostat Mcp Server3
- National Parks Mcp Server3
- Federal Regulations Mcp Server2