This ticket covers the implementation of the healthcheck service for the AI Knowledge Base MCP server. This service will provide a vital endpoint to confirm that the server is operational and, more importantly, that it can connect to its ChromaDB dependency.
Acceptance Criteria
- A new
ai/mcp/server/knowledge-base/services/healthService.mjs file is created.
- The service contains a function that attempts to connect to the ChromaDB server.
- If the connection is successful, it should check for the existence of the knowledge base collection (e.g.,
neo-knowledge-base).
- The function returns a status object indicating:
- Overall server status (
healthy or unhealthy).
- ChromaDB connection status (
connected or disconnected).
- (Optional) The number of items in the collection if it exists.
- The
toolService.mjs serviceMapping is updated to point the healthcheck operationId to the new service function.
This ticket covers the implementation of the
healthcheckservice for the AI Knowledge Base MCP server. This service will provide a vital endpoint to confirm that the server is operational and, more importantly, that it can connect to its ChromaDB dependency.Acceptance Criteria
ai/mcp/server/knowledge-base/services/healthService.mjsfile is created.neo-knowledge-base).healthyorunhealthy).connectedordisconnected).toolService.mjsserviceMappingis updated to point thehealthcheckoperationId to the new service function.