ping
Check server responsiveness and health status to verify connectivity with enterprise systems. Returns 'pong' when the server is active and reachable.
Instructions
Simple ping/pong health check. Returns 'pong' if the server is responsive.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/my_mcp_server/server.py:558-561 (handler)The 'ping' tool is implemented as a function decorated with @mcp.tool() in src/my_mcp_server/server.py.
@mcp.tool() def ping() -> str: """Simple ping/pong health check. Returns 'pong' if the server is responsive.""" return "pong"