Skip to main content
Glama
jhon2c

MCP Boilerplate

by jhon2c

Bandera del MCP

Texto estándar de MCP

Desarrollado por Bun ⚡

Un código repetitivo moderno y ultrarrápido para aplicaciones del Protocolo de Contexto de Modelo (MCP)

Node.js Bollo Licencia Mecanografiado


🔥 Características

  • MCP ultrarrápido con Bun

  • Arquitectura moderna basada en TypeScript

  • Integración del SDK de MCP lista para usar ( @modelcontextprotocol/sdk )

  • Servidor Express 5.x con soporte adecuado para TypeScript

  • Validación robusta utilizando esquemas Zod

  • Registro inteligente con Morgan

  • Soporte de configuración del entorno

  • Implementación lista para CLI


Related MCP server: MCP Server Starter (TypeScript)

🛠️ Requisitos previos


⚡ Inicio rápido

# 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

🚄 Scripts de desarrollo

Dominio

Descripción

bun run dev

Iniciar el servidor de desarrollo con recarga activa

bun run build

Compilar TypeScript

mcp-boilerplate

Ejecutar CLI compilado


🌐 Configuración del entorno

Crear archivo .env:

PORT=3000 
MCP_API_KEY=your_api_key_here
DEBUG=mcp:*

✨ Configurar el servidor MCP en Cursor

  1. Instalar y ejecutar el servidor

  2. Vaya a Files > Preferences > Cursor Settings > MCP

  3. Agregar un nuevo servidor MCP + Add new global MCP server

  4. Pegue el JSON de configuración

{
    "mcpServers": {
        "mcp-boilerplate": {
            "url": "http://localhost:3001/sse"
        }
    }
}

📂 Estructura del proyecto

mcp-boilerplate/
├── src/
│ ├── index.ts
│ ├── config/
│ ├── services/
│ └── types/
└── build/

Dependencias clave

Tiempo de ejecución:

Desarrollador:


🤝 Repositorio de bifurcación contribuyente

  1. Crear rama de características

  2. Confirmar cambios

  3. Empujar rama

  4. Relaciones públicas abiertas

📄 Licencia MIT - Ver LICENCIA

¡Feliz codificación!

Related MCP Connectors

Related MCP Servers

  • A
    license
    C
    quality
    D
    maintenance
    A production-ready template for building Model Context Protocol servers in TypeScript, offering fast development with Bun, Biome linting, and automated version management.
    1
    37 npm
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    A minimal, production-ready TypeScript starter template for building Model Context Protocol (MCP) servers with auto-loading architecture for tools, resources, and prompts. Provides boilerplate code, generators, and examples to quickly create MCP servers that can connect AI applications to any data source or tool.
    -
  • F
    license
    Not graded
    quality
    D
    maintenance
    A Model Context Protocol (MCP) server template designed for building structured tools, prompts, and resources with built-in support for HTTP and STDIO transports. It provides a standardized framework for developers to create and deploy AI-driven services using TypeScript and Zod schema validation.
    8 npm
    -
  • A
    license
    Not graded
    quality
    D
    maintenance
    A production-ready template for building Model Context Protocol servers using TypeScript and Bun runtime, including schema validation, structured logging, and retry utilities.
    9 npm
    MIT