health_check
Verify the MCP Test MCP server's operational status and retrieve server information to confirm it's running correctly.
Instructions
Health check endpoint that verifies the server is running.
Returns: Dictionary with status and server information
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- The health_check tool handler function. Decorated with @mcp.tool() for automatic registration in FastMCP. Performs a simple health check and returns status information.@mcp.tool() async def health_check(ctx: Context) -> Dict[str, Any]: """ Health check endpoint that verifies the server is running. Returns: Dictionary with status and server information """ await ctx.info("Health check requested") return { "status": "healthy", "server": "mcp-test-mcp", "version": "0.1.6", "transport": "stdio" }