MCP Ping Server
@sadeghtkd
About MCP Ping Server
This mcp server allows Claude to perform network connectivity tests and ping operations.
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"ping-mcp-server": {
"command": "python",
"args": [
"main.py",
"[--host",
"HOST]",
"[--port",
"PORT]"
]
}
}
}Tools
4Ping a specified host
`host`: Hostname or IP address to ping
Check internet connectivity
`host`: Target host (default: 8.8.8.8)
Overview
What is MCP Ping Server?
MCP Ping Server is an implementation that provides ping functionality to Claude Desktop through the Model Context Protocol (MCP). It allows Claude to perform network connectivity tests and ping operations, such as checking if a host is reachable or verifying internet connectivity.
How to use MCP Ping Server?
Install dependencies with pip install . after cloning the repository. Start the server by running python main.py with optional --host and --port arguments (defaults: 0.0.0.0, port 8080). Then configure Claude Desktop by adding the provided JSON snippet to its claude_desktop_config.json, pointing to the server’s SSE endpoint.
Key features of MCP Ping Server
- Provides
ping_hostandcheck_connectivitytools - Cross-platform support (Windows, Linux, MacOS)
- Asynchronous operation using FastMCP and Starlette
- Real‑time communication via Server‑Sent Events (SSE)
- Customizable packet count (1–20, default 4)
- Default internet connectivity check against Google DNS (8.8.8.8)
Use cases of MCP Ping Server
- Testing network connectivity directly from within Claude Desktop
- Checking if a specific host or IP address is reachable
- Quick internet availability verification
- AI‑assisted network troubleshooting
FAQ from MCP Ping Server
What are the default host and port?
The server binds to 0.0.0.0 and listens on port 8080 by default.
How do I configure Claude Desktop to use this server?
Add the "ping" entry under "mcpServers" in claude_desktop_config.json with the command npx mcp-remote http://localhost:8080/sse.
Is it safe to expose the server to a public network?
The server is designed for local use with Claude Desktop. Be cautious when exposing it to public networks.
What dependencies are required?
Python 3.12 or later, plus the packages httpx, mcp[cli], uvicorn, and starlette (installed automatically via pip).
What parameters does the ping_host tool accept?
It accepts a host (hostname or IP address) and an optional count (number of ping packets, between 1 and 20, default 4).
More Other MCP servers
Awesome Mcp Servers
punkpeyeA collection of MCP servers.
Servers
modelcontextprotocolModel Context Protocol Servers
Unity MCP ✨
justinpbarnettUnity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.
Codelf
unbugA search tool helps dev to solve the naming things problem.
🚀 Model Context Protocol (MCP) Curriculum for Beginners
microsoftThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
Comments