This ticket is to improve the healthcheck tool for the memory-core server to match the more comprehensive implementation of the knowledge-base server. This involves updating the healthService.mjs to check for the existence and status of both the memories and summaries collections, and updating the openapi.yaml to reflect the richer response schema.
Acceptance Criteria
- The
buildHealthResponse function in ai/mcp/server/memory-core/services/healthService.mjs is updated.
- The health check now verifies the existence and document count of both the
memories and summaries collections.
- The
HealthCheckResponse schema in ai/mcp/server/memory-core/openapi.yaml is updated to include the detailed database and collection status, matching the structure of the knowledge-base server's schema.
- A successful health check call returns the new, richer status object.
This ticket is to improve the
healthchecktool for thememory-coreserver to match the more comprehensive implementation of theknowledge-baseserver. This involves updating thehealthService.mjsto check for the existence and status of both thememoriesandsummariescollections, and updating theopenapi.yamlto reflect the richer response schema.Acceptance Criteria
buildHealthResponsefunction inai/mcp/server/memory-core/services/healthService.mjsis updated.memoriesandsummariescollections.HealthCheckResponseschema inai/mcp/server/memory-core/openapi.yamlis updated to include the detailed database and collection status, matching the structure of the knowledge-base server's schema.