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.

ParametersJSON Schema
NameRequiredDescriptionDefault
hostYes
countNo
timeoutMsNo

Output Schema

ParametersJSON Schema
NameRequiredDescription
okYes
commandYes
stdoutYes
stderrYes
messageNo

TDQS

B3.4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true and idempotentHint=true, indicating safe, repeatable operations. The description adds that it uses system commands, which provides useful context about implementation, but doesn't disclose additional behavioral traits like execution time, error conditions, or output format.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that directly states the tool's function without unnecessary words. It's appropriately sized and front-loaded with the core action.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's low complexity (simple ping operation), rich annotations (readOnlyHint, idempotentHint), and existence of an output schema, the description is reasonably complete. It could benefit from more behavioral context, but the structured fields cover most needs.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description doesn't add any parameter-specific information beyond what the schema provides (host, count, timeoutMs). However, the schema fully documents parameters with types, constraints, and defaults, so the baseline 3 is appropriate as the schema carries the burden.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Hace ping') and target ('a un host o direccion IP'), specifying it uses system commands. It's specific about what the tool does, though it doesn't need to distinguish from siblings since none exist.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives or in what context it's appropriate. The description only states what it does, not when it should be used.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

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

  1. 1 tool updatev0.1.0
    • First observedping_host

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.

Maintenance

ActivityInactive
ResponsivenessSyncing

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
    8 npm
    3
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    An educational MCP server that exposes system tools (like IP, hostname, file operations, ping) for AI agents to execute via HTTP.
    261 npm
    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