Skip to main content
Glama
Basic MCP Server

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

Related MCP server: MCP Server TypeScript Template

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.

Available Tools

1 tool
hello_worldC

Devuelve un saludo básico.

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3/5.0

    Scored across 1 tool

    Disambiguation5/5

    With only one tool, there is no possibility of confusion or overlap between tools. The tool 'hello_world' has a single, clear purpose that cannot be mistaken for any other functionality.

    Naming Consistency5/5

    The single tool name 'hello_world' follows a common snake_case pattern, and since there is only one tool, consistency is inherently perfect. There are no other tools to compare against, so no inconsistencies can arise.

    Tool Count2/5

    A single tool is too few for most practical server purposes, as it severely limits functionality and scope. While it might be appropriate for a minimal demo, it feels thin and inadequate for any real-world application or domain coverage.

    Completeness1/5

    The server's purpose is unclear from the single tool, but for any inferred domain (e.g., greetings or basic interactions), the surface is severely incomplete. With only a 'hello_world' tool, there are obvious gaps in operations like customization, querying, or other related actions, making it impossible to perform meaningful workflows.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      D
      quality
      D
      maintenance
      A minimal Model Context Protocol server in TypeScript that demonstrates MCP-compliant resources and tools for LLMs, featuring simple resources and a basic tool that echoes messages or returns greetings.
      1
      5
      Apache 2.0
    • A
      license
      Not graded
      quality
      D
      maintenance
      A demonstration MCP server built in TypeScript that shows how to implement stdio-based communication for integration with MCP clients. Serves as a template for building custom MCP servers with strong typing and maintainability.
      ISC
    • A
      license
      Not graded
      quality
      D
      maintenance
      A TypeScript-based test implementation for the Model Context Protocol (MCP) with example configurations and Jest test cases. Provides a development foundation for building and testing MCP server functionality.
      MIT
    • A
      license
      B
      quality
      Not graded
      maintenance
      A demonstration TypeScript MCP server that showcases basic MCP concepts with simple tools (greeting, calculator), text resources, and prompt templates for learning the Model Context Protocol.
      2
      MIT