Skip to main content
Glama
Bootstrap MCP Server

Bootstrap MCP Server

by currentspace

Bootstrap MCP Server

A minimal MCP (Model Context Protocol) server template with hot reload support for development.

Features

  • Hot Reload Proxy: Maintains connection with Claude while allowing server restarts

  • Common Tool Patterns: Example implementations of typical MCP tools

  • TypeScript Support: Full TypeScript with strict type checking

  • Fast Build System: Uses esbuild for quick compilation

  • Development Ready: Configured with ESLint and Prettier

Related MCP server: MCP Template

Quick Start

  1. Install dependencies:

    pnpm install
  2. Build the project:

    pnpm run build
  3. Start the MCP server:

    ./start_mcp.sh
  4. To reload the server during development:

    ./reload_mcp.sh

Project Structure

bootstrap_mcp/
├── src/
│   ├── server.ts    # Main MCP server implementation
│   └── proxy.ts     # Hot reload proxy
├── dist/            # Compiled JavaScript output
├── build.mjs        # Build configuration
├── tsconfig.json    # TypeScript configuration
├── package.json     # Project dependencies
├── start_mcp.sh     # Start script with proxy
└── reload_mcp.sh    # Reload script for development

Available Tools

The bootstrap includes three example tools:

  1. hello_world: Simple greeting tool

  2. echo: Echo back messages

  3. get_time: Get current timestamp

Development Workflow

  1. Make changes to src/server.ts

  2. Run ./reload_mcp.sh to rebuild and restart

  3. The proxy maintains the Claude connection during restart

  4. Check /tmp/bootstrap-mcp-debug.log for debugging

Adding New Tools

  1. Add tool definition to TOOLS array in server.ts

  2. Implement handler method in BootstrapMCPServer class

  3. Add case in CallToolRequestSchema handler

  4. Reload the server

Scripts

  • pnpm run dev: Development mode with tsx watch

  • pnpm run build: Build TypeScript to JavaScript

  • pnpm run typecheck: Type checking only

  • pnpm run lint: Run ESLint

  • pnpm run format: Format code with Prettier

Requirements

  • Node.js v24+

  • pnpm package manager

Available Tools

3 tools
echoB

Echo back the provided message

Inputs: message (required).

get_timeB

Get the current time

Inputs: no named parameters.

hello_worldD

A simple hello world tool

Inputs: name (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.7/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool has a clearly distinct and non-overlapping purpose: echo returns a message, get_time provides the current time, and hello_world outputs a greeting. There is no ambiguity or confusion between these simple, well-defined functions.

    Naming Consistency4/5

    The naming follows a consistent verb-based pattern (echo, get_time, hello_world), with all tools using snake_case. The minor deviation is that 'hello_world' is more of a phrase than a verb-noun pair, but it still fits the overall readable style.

    Tool Count3/5

    With only 3 tools, this server feels thin for a general-purpose 'Bootstrap' server, as it lacks depth in any specific domain. However, for a minimal or demo server, the count is reasonable but borderline in terms of providing substantial utility.

    Completeness2/5

    As a 'Bootstrap' server, the toolset is severely incomplete, covering only trivial echo, time, and greeting functions without any meaningful domain coverage or CRUD operations. It lacks obvious extensions for common bootstrap tasks like configuration or setup utilities.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      A hot-reload development tool that enables real-time development of MCP (Model Context Protocol) servers by automatically reloading tools as they're modified without requiring manual restarts.
      10 npm
      11
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      A production-ready Model Context Protocol server template in TypeScript that enables building MCP servers with dynamic tool registration, dual transport (stdio + HTTP), and pluggable authentication.
      7 npm
      MIT
    • F
      license
      C
      quality
      D
      maintenance
      A Model Context Protocol (MCP) server template built with mcp-framework, providing a foundation for creating custom tools and publishing npm packages.
      2
      -
    • A
      license
      A
      quality
      D
      maintenance
      A simple Model Context Protocol server that provides a hello world greeting tool, serving as a boilerplate template for quickly creating new MCP servers.
      1
      9 npm
      MIT