MCP Ping Server
A server implementation that provides ping functionality to Claude Desktop through MCP (Model Context Protocol). This server allows Claude to perform network connectivity tests and ping operations.
certified by MCPHub
Get it from MCPhub.com: https://mcphub.com/mcp-servers/sadeghtkd/ping-mcp-server
Features
ping_host: Ping any host with customizable packet countcheck_connectivity: Quick internet connectivity check using Google's DNS (8.8.8.8)- Cross-platform support (Windows, Linux, MacOS)
- Asynchronous operation using FastMCP and Starlette
- Server-Sent Events (SSE) for real-time communication
Requirements
- Python 3.12+
- Dependencies (automatically installed through pip):
- httpx
- mcp[cli]
- uvicorn
- starlette
Installation
- Clone the repository
- Install dependencies using pip:
pip install .
Usage
Starting the Server
Run the server using Python:
python main.py [--host HOST] [--port PORT]
Default settings:
- Host: 0.0.0.0 (accessible from any network interface)
- Port: 8080
Claude Desktop Configuration
To use this server with Claude Desktop, add the following configuration to your Claude Desktop's configuration file (claude_desktop_config.json):
{
"mcpServers": {
"ping": {
"command": "npx",
"args": [
"mcp-remote",
"http://localhost:8080/sse"
]
}
}
}
Sample test with Claude desktop :

Available Tools
-
ping_host- Purpose: Ping a specified host
- Parameters:
host: Hostname or IP address to pingcount: Number of ping packets (1-20, default: 4)
-
check_connectivity- Purpose: Check internet connectivity
- Parameters:
host: Target host (default: 8.8.8.8)
Security Note
The server is designed for local use with Claude Desktop. Be cautious when exposing it to public networks.
License
This project is open-source. Feel free to modify and distribute as needed.
Recommend MCP Servers 💡
ai-wes/version_checker_mcp
A MCP server for React Native/Expo projects to analyze dependencies, check compatibility, and review changelogs.
node-code-sandbox-mcp
A Node.js–based Model Context Protocol server that spins up disposable Docker containers to execute arbitrary JavaScript.
mcp-system-health
Provides real-time health and performance metrics for remote Linux servers via SSH, integrating with AI assistants like Claude through the MCP protocol.
TBXark/mcp-proxy
An MCP proxy server that aggregates and serves multiple MCP resource servers through a single HTTP server, supporting SSE/HTTP streaming.
claude-debugs-for-you
Enable any LLM (e.g. Claude) to interactively debug any language for you via MCP and a VS Code Extension
@peakmojo/mcp-server-headless-gmail
A MCP server that provides get, send Gmails without local credential or token setup