health_check
Monitor HashPilot MCP server health and status to verify operational functionality and check version, tool availability, and optimization settings.
Instructions
Check HashPilot MCP server health and status. Returns version, tool count, and optimization level.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| verbose | No | Include detailed status |
Implementation Reference
- src/index.ts:81-91 (handler)The handler function that implements the core logic of the 'health_check' tool. It returns a static health status object with server version, tool count, and optimization details.async function healthCheck(): Promise<{ success: boolean; data: any }> { return { success: true, data: { status: 'healthy', version: '0.2.0-optimized', toolCount: 31, optimization: 'MCP Best Practices Compliant + M3 Composite Integrations', }, }; }
- src/index.ts:104-112 (schema)The tool schema definition including name, description, and inputSchema for the 'health_check' tool.name: 'health_check', description: 'Check HashPilot MCP server health and status. Returns version, tool count, and optimization level.', inputSchema: { type: 'object' as const, properties: { verbose: { type: 'boolean', description: 'Include detailed status' }, }, }, },
- src/index.ts:561-563 (registration)The switch case registration that maps the 'health_check' tool name to its handler function execution.case 'health_check': result = await healthCheck(); break;
- src/index.ts:541-546 (registration)The request handler for listing tools, which includes the 'health_check' tool in the optimizedToolDefinitions array.server.setRequestHandler(ListToolsRequestSchema, async () => { // Return all optimized tools including M3 integrations return { tools: optimizedToolDefinitions, }; });