MCP Catalogs
Home

mcp-ts-core

by cyanheads·138·Score 48

TypeScript framework for building MCP servers with auth, storage, telemetry, and multi-platform support.

developer-toolsai-llmops-infra
24
Forks
19
Open issues
this month
Last commit
2d ago
Indexed

Overview

@cyanheads/mcp-ts-core is a comprehensive TypeScript framework for building MCP servers. It provides declarative tools, resources, and prompt definitions with built-in support for authentication, multi-backend storage, and observability. The framework handles infrastructure plumbing like transports, config, logging, and telemetry, allowing developers to focus on domain-specific logic. It supports multiple runtimes including Bun, Node.js, and Cloudflare Workers, with optional features like DataCanvas for analytical workspaces.

Try asking AI

After installing, here are 6 things you can ask your AI assistant:

you:Building custom MCP servers with TypeScript for AI agents
you:Creating tools and resources with authentication and multi-backend storage
you:Developing long-running task tools with progress tracking
you:Implementing observability with OpenTelemetry integration
you:What platforms does this framework support?
you:How does authentication work in the framework?

When to choose this

Choose this when building production MCP servers with TypeScript, especially if you need multi-backend storage, authentication, and observability out of the box.

When NOT to choose this

Avoid if you need a simpler solution with fewer dependencies or if you're building a server for environments beyond Bun/Node/Cloudflare Workers.

Tools this server exposes

9 tools extracted from the README
  • greet

    Greet someone by name and return a personalized message.

  • search

    Search for items by query.

  • template_echo_message

    Basic tool with format and auth options.

  • template_cat_fact

    Get external API call results with error handling.

  • template_madlibs_elicitation

    Interactive tool that asks for user input.

  • template_code_review_sampling

    Tool that uses LLM completion for code review.

  • template_image_test

    Tool that handles image content blocks.

  • template_async_countdown

    Long-running task with progress reporting.

  • template_data_explorer

    MCP Apps tool with linked UI resource.

Note: Extracted from example code snippets in the documentation showing actual tool implementations.

Comparable tools

modelcontextprotocol/sdknpx create-mcp-servermcp-server-base

Installation

bunx @cyanheads/mcp-ts-core init my-mcp-server
cd my-mcp-server
bun install

For Claude Desktop:

{
  "mcpServers": {
    "my-mcp-server": {
      "command": "node",
      "args": ["dist/index.ts"],
      "env": {
        "MCP_TRANSPORT_TYPE": "stdio"
      }
    }
  }
}

FAQ

What platforms does this framework support?
The framework supports Bun, Node.js, and Cloudflare Workers, allowing deployment across various environments.
How does authentication work in the framework?
The framework supports authentication modes: 'none', 'jwt', or 'oauth' (with local secret or JWKS). Auth scopes can be defined on tools and resources.

Compare mcp-ts-core with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.