MCP Boilerplate

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)
🔥 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
Gestor de paquetes (
bun,npm,pnpmoyarn)
⚡ 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 |
| Iniciar el servidor de desarrollo con recarga activa |
| Compilar TypeScript |
| 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
Instalar y ejecutar el servidor
Vaya a
Files > Preferences > Cursor Settings > MCPAgregar un nuevo servidor MCP
+ Add new global MCP serverPegue 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
Crear rama de características
Confirmar cambios
Empujar rama
Relaciones públicas abiertas
📄 Licencia MIT - Ver LICENCIA
¡Feliz codificación!
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
- anirbanbasu-pymcpOAuth
Primarily to be used as a template repository for developing MCP servers with FastMCP in Python, P…
A simple Typescript MCP server built using the official MCP Typescript SDK and smithery/cli. This…
A TypeScript MCP server for Home Assistant, enabling programmatic management of entities, automati…
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Related MCP Servers
- AlicenseCqualityDmaintenanceA production-ready template for building Model Context Protocol servers in TypeScript, offering fast development with Bun, Biome linting, and automated version management.189MIT
- FlicenseNot gradedqualityDmaintenanceA 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.
- AlicenseNot gradedqualityDmaintenanceA TypeScript-based template for rapidly developing MCP servers with modular tool architecture, built-in validation using Zod schemas, and comprehensive error handling.13MIT
- FlicenseNot gradedqualityDmaintenanceA 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.10
Appeared in Searches
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/jhon2c/mcp-boilerplate'
If you have feedback or need assistance with the MCP directory API, please join our Discord server