TypeScript starter template with example MCP servers

TypeScript starter template with example MCP servers

boot-mcp•bykirklin

A TypeScript starter template for MCP applications that includes example stdio and HTTP/SSE servers demonstrating resources, tools, prompts, roots and sampling.

License: MIT•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Provides an example stdio-transport MCP server and an HTTP/SSE-transport MCP server.
  • •Includes tool implementations such as system operations, data processing, utilities, and a calculator.
  • •Supports resources with text and binary content and dynamic resource templates with parameters.
  • •Offers prompt templates including greeting, code review with language detection, and multi-step debugging workflows.

BEST FOR

  • •Developers starting a TypeScript project who want reference MCP server implementations to build from.
  • •Teams that need to compare or choose between stdio and HTTP/SSE transports for an MCP server.
  • •Experiments with resource, tool, prompt, root, and sampling patterns in MCP servers.

ABOUT BOOT-MCP

TypeScript starter template with example MCP servers is cataloged as an MCP server attributed to kirklin. A TypeScript starter template for MCP applications that includes example stdio and HTTP/SSE servers demonstrating resources, tools, prompts, roots and sampling. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for TypeScript starter template with example MCP servers are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What transports do the example servers use?

The template includes a stdio server for terminal applications and an HTTP with SSE server for remote or web applications.

Is sampling supported?

Sampling utilities are included but marked experimental, covering text completion requests, conversation-based sampling, and model preference controls.

Upstream README

View this exact version on GitHub

README.md · 9f1959fad6db · Fetched 2026-11-13 10:41:13 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

boot-mcp

npm version npm downloads bundle JSDocs License javascript_code style

A comprehensive starter template for building Model Context Protocol (MCP) applications with TypeScript.

What is MCP?

The Model Context Protocol (MCP) lets you build servers that expose data and functionality to LLM applications in a secure, standardized way. Think of it like a web API, but specifically designed for LLM interactions. MCP servers can:

  • Expose data through Resources (think of these sort of like GET endpoints; they are used to load information into the LLM's context)
  • Provide functionality through Tools (sort of like POST endpoints; they are used to execute code or otherwise produce a side effect)
  • Define interaction patterns through Prompts (reusable templates for LLM interactions)
  • Set boundaries with Roots (defining the operational scope for servers)
  • Enable agent behaviors with Sampling (allowing servers to request completions from LLMs)
  • Establish connections via Transports (communication mechanisms between clients and servers)

Installation

# npm
npm install

# pnpm
pnpm install

# yarn
yarn install

Quick Start

This template includes examples of MCP servers with different transports:

  • Stdio transport (for command-line tools and direct integrations)
  • HTTP with SSE transport (for remote servers)

Running the Example Server

# Start the stdio server
pnpm start:basic

# Start the HTTP server
pnpm start:http

Project Structure

boot-mcp/
├── src/
│   ├── index.ts          # Main entry point
│   ├── server/           # MCP server implementations
│   │   ├── basic.ts      # Basic server with common functionality
│   │   └── http.ts       # HTTP with SSE transport server
│   ├── resources/        # Resource implementations
│   │   └── index.ts      # Common resource types and utilities
│   ├── tools/            # Tool implementations
│   │   └── index.ts      # Various tools organized by category
│   ├── prompts/          # Prompt implementations
│   │   └── index.ts      # Common prompt templates and workflows
│   ├── roots/            # Root management
│   │   └── index.ts      # Root definition and utilities
│   ├── transports/       # Transport implementations
│   │   └── index.ts      # Stdio and HTTP/SSE transports
│   └── sampling/         # Sampling utilities (experimental)
│       └── index.ts      # LLM sampling capabilities
├── examples/             # Example usage
│   ├── basic-server.ts   # Basic stdio server example
│   └── http-server.ts    # HTTP server example
└── test/                 # Tests

Features

Resources

  • Text and binary resource support
  • Dynamic resource templates with parameters
  • Standard resource types (files, system info, etc.)
  • Resource content helpers

Tools

  • System operation tools (execute commands, read files, etc.)
  • Data processing tools (JSON parsing, CSV analysis, etc.)
  • Utility tools (random generators, string transformations, etc.)
  • Calculator and basic tools

Prompts

  • Simple greeting and text processing prompts
  • Code review prompts with language detection
  • Multi-step debugging workflows
  • Resource-based prompt templates

Roots

  • File system root management
  • URI validation and filtering
  • Standard root templates

Transports

  • Stdio transport for terminal applications
  • HTTP/SSE transport for web applications
  • Unified configuration interface

Sampling (Experimental)

  • Text completion requests
  • Conversation-based sampling
  • Model preference controls
  • Agent workflow examples

License

MIT License © Kirk Lin

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for TypeScript starter template with example MCP servers from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/boot-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools