Skip to main content
Glama

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

  1. Instala Node.js 16+ y npm.

  2. Instala las dependencias:

    npm install @modelcontextprotocol/sdk zod npm install -D typescript @types/node
  3. Compila el servidor:

    npx tsc
  4. Ejecuta el servidor MCP:

    node build/index.js
  5. 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.

Deploy Server
A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

Related MCP Servers

  • A
    security
    F
    license
    A
    quality
    A 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 -
    1
    7
    7
  • A
    security
    A
    license
    A
    quality
    A 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 -
    1
    39
    4
    MIT License
  • -
    security
    F
    license
    -
    quality
    A TypeScript framework for building Model Context Protocol (MCP) servers with automatic discovery and loading of tools, resources, and prompts.
    Last updated -
    0
    • Apple
  • A
    security
    A
    license
    A
    quality
    A simple TypeScript library for creating Model Context Protocol (MCP) servers with features like type safety, parameter validation, and a minimal code API.
    Last updated -
    1
    4
    1
    MIT License

View all related MCP servers

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/Merlin21x/MCPInitial'

If you have feedback or need assistance with the MCP directory API, please join our Discord server