mcpField
M
MCP Ping Server

MCP Ping Server

Local
github.com/sadeghtkdDeveloper Tools1Updated 66w ago

About MCP Ping Server

MCP Ping Server is an MCP server for network connectivity tests from Claude. It provides host ping and internet connectivity tools and supports Windows, Linux, and macOS.

Key features

  1. 01Ping a specified host
  2. 02Set the packet count
  3. 03Check internet connectivity
  4. 04Support Windows, Linux, and macOS
  5. 05Communicate over SSE

Use cases

  1. 01Check whether a host is reachable
  2. 02Quickly verify internet connectivity
  3. 03Run network connectivity tests from Claude

MCP support

The server exposes host ping and connectivity-check tools to Claude through MCP, with SSE communication.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

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 count
  • check_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

  1. Clone the repository
  2. 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 :

Claude desktop

Available Tools
  1. ping_host

    • Purpose: Ping a specified host
    • Parameters:
      • host: Hostname or IP address to ping
      • count: Number of ping packets (1-20, default: 4)
  2. 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.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.