Skip to main content
Glama
nickweedon

Skeleton MCP Server

by nickweedon

health_check

Verify the operational status and configuration of the MCP server to ensure it's running correctly and identify any issues.

Instructions

Check the health status of the MCP server.

Returns: A dictionary with the server status and configuration info.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The health_check tool handler function, decorated with @mcp.tool() for registration. It checks the server health and returns status information including whether API is configured.
    @mcp.tool()
    async def health_check() -> dict[str, Any]:
        """
        Check the health status of the MCP server.
    
        Returns:
            A dictionary with the server status and configuration info.
        """
        config = get_client_config()
        return {
            "status": "healthy",
            "server": "Skeleton MCP Server",
            "version": "0.1.0",
            "api_configured": config.get("api_key") is not None,
        }

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/nickweedon/playwritght-proxy-mcp'

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