health_check
Verify the French Tax MCP Server is responsive and operational for calculating French income tax and retrieving current tax brackets using official government data.
Instructions
Simple health check to verify the server is responsive
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ctx | No |
Implementation Reference
- french_tax_mcp/server.py:473-493 (handler)The main handler function that implements the logic for the health_check tool, returning server status and available tools list.async def health_check(ctx: Optional[Context] = None) -> Dict: """Simple health check to verify the server is responsive. Returns: Dict: Status information about the server """ if ctx: await ctx.info("Health check requested") return { "status": "success", "message": "French Tax MCP Server is running", "timestamp": datetime.now().isoformat(), "available_tools": [ "calculate_income_tax", "get_tax_brackets", "get_scheme_details", "calculate_pinel_benefit", "calculate_lmnp_benefit" ] }
- french_tax_mcp/server.py:469-472 (registration)Tool registration using the @mcp.tool decorator, specifying the name 'health_check' and its description.@mcp.tool( name="health_check", description="Simple health check to verify the server is responsive", )