Related MCP Server Resources

Explore more AI models, providers, and integration options:

  • Explore AI Models
  • Explore AI Providers
  • Explore MCP Servers
  • LangDB Pricing
  • Documentation
  • AI Industry Blog
  • MCP Framework
  • MCP Server for ArangoDB
  • Snyk MCP Server
  • mcp-data-extractor
  • argocd-mcp
Back to MCP Servers
MCP Boilerplate

MCP Boilerplate

Public
jhon2c/mcp-boilerplate

A modern, lightning-fast starter template for building Model Context Protocol applications with Bun, enabling developers to create MCP servers with TypeScript support, validation, and environment configuration.

Verified
typescript
0 tools
May 30, 2025
Updated May 30, 2025

MCP Banner

šŸš€ MCP Boilerplate

Powered by Bun ⚔

A modern, lightning-fast boilerplate for Model Context Protocol (MCP) applications


šŸ”„ Features

  • Blazing-fast MCP with Bun
  • Modern TypeScript-first architecture
  • MCP SDK integration out-of-the-box (@modelcontextprotocol/sdk)
  • Express 5.x server with proper TypeScript support
  • Robust validation using Zod schemas
  • Smart logging with Morgan
  • Environment configuration support
  • CLI-ready implementation

šŸ› ļø Prerequisites

  • Bun 1.0+ or Node.js 20+
  • Package manager (bun, npm, pnpm, or yarn)

⚔ Quick Start

# Clone repository git clone https://github.com/jhon2c/mcp-boilerplate.git cd mcp-boilerplate # Install dependencies (with Bun) [Recommended] bun install # OR with npm npm install # Start development server bun run dev

šŸš„ Development Scripts

CommandDescription
bun run devStart dev server with hot reload
bun run buildCompile TypeScript
mcp-boilerplateRun compiled CLI

🌐 Environment Setup

Create .env file:

PORT=3000 MCP_API_KEY=your_api_key_here DEBUG=mcp:*

✨ Setup the MCP server on Cursor

  1. Install and run the server
  2. Go to Cursor MCP Settings Files > Preferences > Cursor Settings > MCP
  3. Add a new MCP server + Add new global MCP server
  4. Paste the setup JSON
{ "mcpServers": { "mcp-boilerplate": { "url": "http://localhost:3001/sse" } } }

šŸ“‚ Project Structure

mcp-boilerplate/
ā”œā”€ā”€ src/
│ ā”œā”€ā”€ index.ts
│ ā”œā”€ā”€ config/
│ ā”œā”€ā”€ services/
│ └── types/
└── build/

šŸ“¦ Key Dependencies

Runtime:

  • @modelcontextprotocol/sdk
  • express@5
  • zod
  • ky

Dev:

  • tsx

šŸ¤ Contributing Fork repo

  1. Create feature branch
  2. Commit changes
  3. Push branch
  4. Open PR

šŸ“„ License MIT - See LICENSE

Happy Coding!

Publicly Shared Threads0

Discover shared experiences

Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!

Share your threads to help others
Related MCPs5
  • MCP Framework
    MCP Framework

    A TypeScript framework for building Model Context Protocol (MCP) servers with automatic discovery an...

    Added May 30, 2025
  • MCP Server for ArangoDB
    MCP Server for ArangoDB

    A TypeScript-based server to interact with ArangoDB using the Model Context Protocol, enabling datab...

    7 tools
    Added May 30, 2025
  • Snyk MCP Server
    Snyk MCP Server

    A standalone server enabling Snyk security scanning through the Model Context Protocol, with support...

    Added May 30, 2025
  • mcp-data-extractor
    mcp-data-extractor

    A Model Context Protocol server that extracts embedded data (such as i18n translations or key/value ...

    2 tools
    Added May 30, 2025
  • argocd-mcp
    argocd-mcp

    An MCP (Model Context Protocol) server that integrates with the ArgoCD API, enabling AI assistants a...

    Added May 30, 2025