MCP Hub
Back to servers

mcp-ping

An MCP server providing a ping tool to verify network connectivity and measure latency for hostnames or IP addresses.

Tools
1
Updated
Nov 15, 2025
Validated
Jan 11, 2026

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

Using npx (Recommended)

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

Reviews

No reviews yet

Sign in to write a review