Utilizes esbuild for quick compilation and fast build processes during development.
Configured with ESLint for code quality and consistency when developing MCP tools.
Built for Node.js v24+ as the runtime environment for the MCP server.
Uses pnpm as the package manager for dependency installation and script execution.
Integrated with Prettier for code formatting to maintain consistent style across the MCP server codebase.
Provides full TypeScript support with strict type checking for implementing MCP tools and request handlers.
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
- Install dependencies:
- Build the project:
- Start the MCP server:
- To reload the server during development:
Project Structure
Available Tools
The bootstrap includes three example tools:
- hello_world: Simple greeting tool
- echo: Echo back messages
- get_time: Get current timestamp
Development Workflow
- Make changes to
src/server.ts
- Run
./reload_mcp.sh
to rebuild and restart - The proxy maintains the Claude connection during restart
- Check
/tmp/bootstrap-mcp-debug.log
for debugging
Adding New Tools
- Add tool definition to
TOOLS
array inserver.ts
- Implement handler method in
BootstrapMCPServer
class - Add case in
CallToolRequestSchema
handler - Reload the server
Scripts
pnpm run dev
: Development mode with tsx watchpnpm run build
: Build TypeScript to JavaScriptpnpm run typecheck
: Type checking onlypnpm run lint
: Run ESLintpnpm run format
: Format code with Prettier
Requirements
- Node.js v24+
- pnpm package manager
This server cannot be installed
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.
Related MCP Servers
- AsecurityAlicenseAqualityA 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 -3936JavaScriptApache 2.0
- AsecurityAlicenseAqualityA 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 -142TypeScriptMIT License
- -security-license-qualityA 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 -1TypeScript
- -securityFlicense-qualityA TypeScript framework for building Model Context Protocol (MCP) servers with automatic discovery and loading of tools, resources, and prompts.Last updated -67TypeScript