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:
Local Installation
Publishing to npm
Usage
As an MCP Server
The server communicates via stdio and can be configured in your MCP client settings:
Using npx (no installation required):
Using globally installed package (binary):
Then configure:
Using local installation:
Development
Run in development mode:
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:
License
MIT
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Provides a ping tool to check connectivity and measure latency to any hostname or IP address across platforms.