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
Related MCP server: MCP Server Starter
Quick Start
Install dependencies:
pnpm installBuild the project:
pnpm run buildStart the MCP server:
./start_mcp.shTo reload the server during development:
./reload_mcp.sh
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.tsRun
./reload_mcp.shto rebuild and restartThe proxy maintains the Claude connection during restart
Check
/tmp/bootstrap-mcp-debug.logfor debugging
Adding New Tools
Add tool definition to
TOOLSarray inserver.tsImplement handler method in
BootstrapMCPServerclassAdd case in
CallToolRequestSchemahandlerReload 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