health_check
Check if the mu-mcp server and email indexer are operational, ensuring query capability.
Instructions
Health check for the MCP server.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |
Implementation Reference
- mu_mcp/mu_mcp.py:13-13 (registration)The 'health_check' tool is registered with the MCP server via the @mcp.tool('health_check') decorator.
@mcp.tool("health_check") - mu_mcp/mu_mcp.py:14-16 (handler)The handler function that implements the health check tool logic. It simply returns the string 'ok'.
def health_check() -> str: """Health check for the MCP server.""" return "ok"