ping
Check Graphistry MCP server health status to verify connectivity and operational state for graph visualization and analytics.
Instructions
Health check for Graphistry MCP server.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ctx | No |
Implementation Reference
- The ping tool handler: performs a health check, sends 'pong' via context if available, and returns status 'ok' with Graphistry version.async def ping(ctx: Optional[Context] = None) -> Dict[str, Any]: """Health check for Graphistry MCP server.""" if ctx: await ctx.info("pong") return {"status": "ok", "graphistry_version": getattr(graphistry, "__version__", "unknown")}
- src/graphistry_mcp_server/server.py:50-50 (registration)The @mcp.tool() decorator registers the ping function as an MCP tool.@mcp.tool()