Skip to main content
Glama

ping

Check server and backend health status for the ComfyMCP Studio AI game asset generation system.

Instructions

Check if the MCP server and backend are healthy.

Returns: Status message indicating server and backend health

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The 'ping' tool handler. Decorated with @mcp.tool() which registers it in the FastMCP server and defines its schema via function signature and docstring. Executes backend health check and returns JSON status.
    @mcp.tool() async def ping() -> str: """Check if the MCP server and backend are healthy. Returns: Status message indicating server and backend health """ backend_healthy = await backend.health_check() return json.dumps({ "status": "ok", "backend": backend.get_name(), "backend_type": BACKEND_TYPE, "backend_healthy": backend_healthy, "timestamp": datetime.now().isoformat() }, indent=2)

Latest Blog Posts

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/tuannguyen14/ComfyAI-MCP-GameAssets'

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