Skip to main content
Glama

Basic MCP Server

by Merlin21x

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
-
security - not tested
F
license - not found
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

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.

  1. Recursos útiles
    1. Estructura mínima
      1. Pasos para iniciar
        1. Seguridad y mejores prácticas

          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
            3
            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
            40
            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
            1
            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