We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ofryma/custom-mcp-library'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
health.py•420 B
"""Server health check tool"""
from typing import Dict, Any
def register_health_tool(mcp, kali_client):
"""Register the server health tool with the MCP server"""
@mcp.tool()
def server_health() -> Dict[str, Any]:
"""
Check the health status of the Kali API server.
Returns:
Server health information
"""
return kali_client.check_health()