health-check
Monitor the operational status of Meilisearch servers to ensure uptime and performance. Use this tool to verify server health and diagnose potential issues efficiently.
Instructions
Check Meilisearch server health
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/meilisearch_mcp/server.py:546-553 (handler)The handler logic for the 'health-check' tool within the call_tool function. It performs a health check on the Meilisearch client and returns a text content indicating availability.elif name == "health-check": is_healthy = self.meili_client.health_check() return [ types.TextContent( type="text", text=f"Meilisearch is {is_healthy and 'available' or 'unavailable'}", ) ]
- src/meilisearch_mcp/server.py:96-104 (registration)Registration of the 'health-check' tool in the list_tools handler, including its name, description, and input schema (empty object).types.Tool( name="health-check", description="Check Meilisearch server health", inputSchema={ "type": "object", "properties": {}, "additionalProperties": False, }, ),
- src/meilisearch_mcp/server.py:99-103 (schema)The input schema for the 'health-check' tool, which requires no parameters (empty object).inputSchema={ "type": "object", "properties": {}, "additionalProperties": False, },