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: MCP Ping 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
Install Server
A
license - permissive license
A
quality
D
maintenance

Maintenance

Maintainers
Response time
6moRelease cycle
2Releases (12mo)
Commit activity

Tools

Latest Blog Posts

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/punkpeye/mcp-ping'

If you have feedback or need assistance with the MCP directory API, please join our Discord server