Skip to main content
Glama

MCP Ping

Pings a host and returns the result.

NOTE

This MCP server was made predominantly todemonstrate how to use FastMCP.

Usage

mcp-ping

Related MCP server: Ping MCP Server

Configuration

Server supports the following environment variables:

Name

Description

HTTP_PROXY

URL of HTTP proxy to use (optional)

MCP Server Profile

{
  "prompts": [],
  "resources": [],
  "tools": [
    {
      "annotations": {
        "openWorldHint": false,
        "readOnlyHint": true,
        "title": "Ping"
      },
      "description": "Pings a host and returns the result",
      "inputSchema": {
        "$schema": "http://json-schema.org/draft-07/schema#",
        "additionalProperties": false,
        "properties": {
          "host": {
            "description": "The hostname or URL to ping (e.g., 'google.com' or 'https://google.com')",
            "type": "string"
          }
        },
        "required": ["host"],
        "type": "object"
      },
      "name": "ping"
    }
  ]
}

Tools

ping tool example response

Ping results for glama.ai:

PING glama.ai (37.16.29.120): 56 data bytes
64 bytes from 37.16.29.120: icmp_seq=0 ttl=55 time=11.273 ms
64 bytes from 37.16.29.120: icmp_seq=1 ttl=55 time=11.353 ms
64 bytes from 37.16.29.120: icmp_seq=2 ttl=55 time=11.455 ms
64 bytes from 37.16.29.120: icmp_seq=3 ttl=55 time=12.634 ms

--- glama.ai ping statistics ---
4 packets transmitted, 4 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 11.273/11.679/12.634/0.555 ms

Testing

npm run test

Available Tools

1 tool
pingA
Read-only

Pings a host and returns the result

Inputs: host (required).

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A4.2/5.0

    Scored across 1 tool

    Disambiguation5/5

    Only one tool exists, so no possibility for confusion. The tool's purpose is clearly distinct.

    Naming Consistency5/5

    With a single tool, naming consistency is inherently perfect. The verb-style name matches the action.

    Tool Count4/5

    A single tool is minimal, but for a dedicated ping utility it is acceptable and not excessive. It borders on thin but works for its narrow purpose.

    Completeness5/5

    The tool covers the core functionality of pinging a host. Given the server's apparent single-purpose scope, there are no obvious missing operations.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides a ping tool to check connectivity and measure latency to any hostname or IP address across platforms.
      4 npm
      MIT
    • 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
    • F
      license
      A
      quality
      D
      maintenance
      Minimal MCP server that enables network connectivity testing via ping commands from VS Code Chat. Features cross-platform support and secure execution using execFile with input validation to prevent command injection.
      1
      -