- Home
- MCP servers
- Ping
Ping
- typescript
0
GitHub Stars
typescript
Language
6 months ago
First Indexed
3 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
You set up a Ping MCP Server to monitor and ping multiple hosts via MCP protocol. This server exposes an SSE endpoint for clients to subscribe to and emits health or reachability events, making it easy to verify that hosts are reachable and responding as expected.
How to use
You can run the Ping MCP Server locally and connect an MCP client to it. Start the server so it listens on a specific host and port, then use an MCP client to subscribe to the SSE feed and observe ping results from configured targets.
Run the Ping MCP Server with the following environment and command to start listening for connections:
FASTMCP_HOST="0.0.0.0" FASTMCP_PORT=1234 uv run ping-mcp-server
Connection methods for the Ping MCP Server
The server can be connected in two ways: via a remote HTTP MCP endpoint or via a local standard input/output (stdio) runtime. The following configurations demonstrate both approaches.
- Remote (HTTP) connection from an MCP client to the local SSE endpoint.
{
"type": "http",
"name": "ping_http",
"url": "http://localhost:1234/sse",
"args": []
}
Notes on usage
If you run tests or want to validate behavior locally, you can also execute tests against the server run configuration.
uv run pytest