Skip to main content
Glama

prueba_mcp

Servidor MCP minimo para usar desde VS Code Chat con una sola tool: ping_host.

Idea

Este proyecto vive fuera del repo prueba_skills, pero el workspace de prueba_skills lo referencia mediante .vscode/mcp.json. Asi puedes seguir en este prompt y dejar que el host de chat descubra la herramienta.

Related MCP server: Code MCP Server

Tool disponible

  • ping_host: hace ping a un host o IP indicado por el usuario.

Instalar

npm install

Ejecutar manualmente

npm start

Nota: al ser un servidor MCP por stdio, no debes escribir logs a stdout. Si necesitas depurar, usa stderr.

Uso esperado desde chat

Una vez que VS Code cargue el servidor MCP del workspace, deberias poder pedir algo como:

Usa la herramienta ping_host para hacer ping a 8.8.8.8

o

Hace ping a github.com con 2 intentos

Seguridad y limites

  • La tool usa execFile, no shell, para evitar inyeccion de comandos.

  • El host se valida como nombre de host o IP simple.

  • El numero de intentos se limita a un rango chico.

  • En Windows usa ping -n; en Unix usa ping -c.

Available Tools

1 tool
ping_hostPing a un hostB
Read-onlyIdempotent

Hace ping a un host o direccion IP usando el comando del sistema.

Inputs: host (required), count, timeoutMs. Returns: ok, command, stdout, stderr, +1 more

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 1 tool

    Disambiguation5/5

    With only one tool, there is no possibility of ambiguity or overlap between tools. The tool 'ping_host' has a clearly defined and singular purpose.

    Naming Consistency5/5

    There is only one tool, so naming consistency is inherently perfect. The tool name 'ping_host' follows a clear verb_noun pattern.

    Tool Count2/5

    A single tool is generally too few for most server purposes, making the set feel thin and potentially incomplete. For a 'Ping Host MCP', one tool might suffice, but it limits functionality and could indicate a narrow scope.

    Completeness3/5

    The tool 'ping_host' covers the basic action implied by the server name, but there are notable gaps. For example, no tools for checking multiple hosts, setting ping parameters, or handling network diagnostics beyond a simple ping.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that allows users to ping other hosts to check network connectivity and diagnostic information. It enables LLMs to perform network latency tests and host availability checks through a standardized interface.
      MIT
    • A
      license
      C
      quality
      D
      maintenance
      An experimental MCP server that enables AI assistants to interact with VS Code workspaces through file operations, code execution, and Git management. It also provides tools for Docker integration, project scaffolding, and secure command execution using project-specific configurations.
      76
      13 npm
      3
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      A simple, extensible MCP server implementation for local use with tools like Copilot Chat, enabling context management and protocol-compliant communication.
      1
      3
      MIT