Skip to main content
Glama
c3budiman

MCP Ping Server

by c3budiman

MCP Ping Server

A Model Context Protocol (MCP) server that provides a ping tool to check connectivity and measure latency to websites and hosts.

Features

  • Ping Tool: Ping any hostname or IP address to check connectivity

  • Stdio Transport: Uses standard input/output for MCP communication

  • Cross-platform: Works on macOS, Linux, and Windows

Installation

No installation needed! Use directly with npx:

{
  "mcpServers": {
    "ping": {
      "command": "npx",
      "args": ["@c3budiman/ping"]
    }
  }
}

Local Installation

npm install
npm run build

Publishing to npm

npm run build
npm publish

Usage

As an MCP Server

The server communicates via stdio and can be configured in your MCP client settings:

Using npx (no installation required):

{
  "mcpServers": {
    "ping": {
      "command": "npx",
      "args": ["@c3budiman/ping"]
    }
  }
}

Using globally installed package (binary):

npm install -g @c3budiman/ping

Then configure:

{
  "mcpServers": {
    "ping": {
      "command": "mcp-ping"
    }
  }
}

Using local installation:

{
  "mcpServers": {
    "ping": {
      "command": "node",
      "args": ["/path/to/mcp-ping/dist/index.js"]
    }
  }
}

Development

Run in development mode:

npm run dev

Tools

ping

Pings a hostname or IP address to check connectivity and measure latency.

Parameters:

  • host (string, required): The hostname or IP address to ping (e.g., "google.com", "8.8.8.8")

Example:

{
  "name": "ping",
  "arguments": {
    "host": "google.com"
  }
}

License

MIT

-
security - not tested
A
license - permissive license
-
quality - not tested

Resources

Looking for Admin?

Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.

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

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