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
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/skeleton_mcp/server.py:70-85 (handler)The health_check tool handler function, which performs a simple health check by returning server status and configuration info. It is registered using the @mcp.tool() decorator.@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, }