Skip to main content
Glama

MCP Ping Server

by c3budiman

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

-
security - not tested
A
license - permissive license
-
quality - not tested

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.

  1. Features
    1. Installation
      1. Using npx (Recommended)
      2. Local Installation
      3. Publishing to npm
    2. Usage
      1. As an MCP Server
      2. Development
    3. Tools
      1. ping
    4. License

      MCP directory API

      We provide all the information about MCP servers via our MCP API.

      curl -X GET 'https://glama.ai/api/mcp/v1/servers/c3budiman/mcp-ping'

      If you have feedback or need assistance with the MCP directory API, please join our Discord server