Skip to main content
Glama

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

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
-
security - not tested
F
license - not found
-
quality - not tested

A minimal MCP server template with hot reload support that helps developers quickly set up and build Model Context Protocol servers with example tool implementations.

  1. Features
    1. Quick Start
      1. Project Structure
        1. Available Tools
          1. Development Workflow
            1. Adding New Tools
              1. Scripts
                1. Requirements

                  Related MCP Servers

                  • A
                    security
                    A
                    license
                    A
                    quality
                    A beginner-friendly Model Context Protocol (MCP) server that helps users understand MCP concepts, provides interactive examples, and lists available MCP servers. This server is designed to be a helpful companion for developers working with MCP. Also comes with a huge list of servers you can install.
                    Last updated -
                    3
                    9
                    36
                    JavaScript
                    Apache 2.0
                  • A
                    security
                    A
                    license
                    A
                    quality
                    A TypeScript-based template for building Model Context Protocol servers, featuring fast testing, automated version management, and a clean structure for MCP tool implementations.
                    Last updated -
                    1
                    4
                    2
                    TypeScript
                    MIT License
                  • -
                    security
                    -
                    license
                    -
                    quality
                    A specialized server that helps users create new Model Context Protocol (MCP) servers by providing tools and templates for scaffolding projects with various capabilities.
                    Last updated -
                    1
                    TypeScript
                  • -
                    security
                    F
                    license
                    -
                    quality
                    A TypeScript framework for building Model Context Protocol (MCP) servers with automatic discovery and loading of tools, resources, and prompts.
                    Last updated -
                    67
                    TypeScript
                    • Apple

                  View all related MCP servers

                  MCP directory API

                  We provide all the information about MCP servers via our MCP API.

                  curl -X GET 'https://glama.ai/api/mcp/v1/servers/currentspace/bootstrap_mcp'

                  If you have feedback or need assistance with the MCP directory API, please join our Discord server