MCP ServerSTDIOOfficialv3.0.9

Cyanheads MCP Ts Template MCP Server

Build MCP servers in TypeScript with declarative tooling, built-in observability, and pluggable authentication. For developers who want a production-ready template with logging and auth modes out of the box.

io.github.cyanheads/mcp-ts-template

Hosted URL

Local install

Transport

STDIO

Auth

No auth required

What the Cyanheads MCP Ts Template MCP server does

How models use it and what it is built for.

Build MCP servers in TypeScript with declarative tooling, built-in observability, and pluggable authentication. For developers who want a production-ready template with logging and auth modes out of the box.

Connect to Cyanheads MCP Ts Template

Local install — runs as a subprocess.

npx mcp-ts-template@3.0.9

Environment variables

Configuration this server reads at startup.

  • MCP_LOG_LEVEL

    Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').

  • MCP_HTTP_HOST

    The hostname for the HTTP server.

  • MCP_HTTP_PORT

    The port to run the HTTP server on.

  • MCP_HTTP_ENDPOINT_PATH

    The endpoint path for the MCP server.

  • MCP_AUTH_MODE

    Authentication mode to use: 'none', 'jwt', or 'oauth'.

  • MCP_LOG_LEVEL

    Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').

Resources

Where to find authoritative docs and source for Cyanheads MCP Ts Template.

Example prompts for Cyanheads MCP Ts Template

Paste any of these into Agent Studio after connecting Cyanheads MCP Ts Template.

  • Set up an MCP server with JWT authentication and debug-level logging
  • Configure the HTTP endpoint path and port for my MCP server instance
  • Switch authentication mode from none to OAuth in the MCP server
  • What log levels are available and how do I set MCP_LOG_LEVEL?

Cyanheads MCP Ts Template MCP server — FAQ

Common questions about connecting and running Cyanheads MCP Ts Template.

  • What authentication modes does this template support?

    The template supports three modes via the MCP_AUTH_MODE environment variable: 'none' (no auth), 'jwt' (JSON Web Token), and 'oauth' (OAuth). You configure which mode to use when starting the server.

  • How do I configure logging and observability?

    Set the MCP_LOG_LEVEL environment variable to 'debug', 'info', or 'warn' to control log output verbosity. The template includes built-in observability hooks for monitoring server behavior.

  • Can I run this server on a custom host and port?

    Yes. Use MCP_HTTP_HOST to set the hostname and MCP_HTTP_PORT to set the port. You can also customize the endpoint path with MCP_HTTP_ENDPOINT_PATH.

  • Is this a template or a ready-to-use server?

    This is a template and starter kit for building your own MCP servers in TypeScript. It provides the scaffolding, declarative tooling, and auth/logging infrastructure; you add your own tools and business logic.

  • What's the difference between this and building an MCP server from scratch?

    This template eliminates boilerplate by providing declarative tool registration, pre-configured logging, pluggable authentication, and HTTP server setup. You focus on implementing your tools rather than infrastructure.

Skip the local setup — run MCP in your browser

MCP Playground runs 10,000+ hosted MCP servers — GitHub, Linear, Notion, Stripe, Sentry and more — across Claude, GPT, Gemini, DeepSeek and 30+ AI models. Compare model answers side-by-side, save agent presets, share runs. Zero install.

Open Agent Studio

Related servers

More on MCP Playground