Bootstrap MCP Server
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:
pnpm installBuild the project:
pnpm run buildStart the MCP server:
./start_mcp.shTo 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 developmentAvailable 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
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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