MCP Básico para GitHub Copilot
Este proyecto implementa un servidor básico Model Context Protocol (MCP) en TypeScript, siguiendo las mejores prácticas y la especificación oficial. Está diseñado para ser utilizado y depurado con GitHub Copilot y otros clientes MCP compatibles.
Recursos útiles
Estructura mínima
- Servidor MCP básico en TypeScript
- Configuración para stdio (recomendado para integración local con VS Code y Copilot)
- Archivos de configuración para VS Code y MCP
Pasos para iniciar
- Instala Node.js 16+ y npm.
- Instala las dependencias:
- Compila el servidor:
- Ejecuta el servidor MCP:
- Configura tu cliente MCP (por ejemplo, Claude Desktop, VS Code Copilot) para conectar con este servidor usando stdio.
Seguridad y mejores prácticas
- No escribas en stdout desde el servidor, solo usa stderr para logs.
- Consulta la guía de seguridad MCP para detalles sobre autenticación y autorización.
Este proyecto es un punto de partida. Personalízalo según tus necesidades y consulta la documentación oficial para aprovechar todo el potencial de MCP.
local-only server
The server can only run on the client's local machine because it depends on local resources.
Tools
A basic TypeScript implementation of the Model Context Protocol (MCP) server designed as a starting point for MCP development. Provides a minimal foundation for building custom MCP servers with stdio configuration for local integration with VS Code and GitHub Copilot.
Related MCP Servers
- AsecurityFlicenseAqualityA template for creating Model Context Protocol (MCP) servers in TypeScript, offering features like container-based dependency injection, a service-based architecture, and integration with the LLM CLI for architectural design feedback through natural language.Last updated -137
- AsecurityAlicenseAqualityA TypeScript-based template for building Model Context Protocol servers, featuring fast testing, automated version management, and a clean structure for MCP tool implementations.Last updated -1404MIT License
- -securityFlicense-qualityA TypeScript framework for building Model Context Protocol (MCP) servers with automatic discovery and loading of tools, resources, and prompts.Last updated -0
- AsecurityAlicenseAqualityA simple TypeScript library for creating Model Context Protocol (MCP) servers with features like type safety, parameter validation, and a minimal code API.Last updated -111MIT License