LearnNewsExamplesServices
Frontmatter
id7520
titleEpic: Migrate Memory Server to stdio-based MCP
stateClosed
labels
epicai
assigneestobiu
createdAtOct 17, 2025, 1:22 PM
updatedAtOct 17, 2025, 2:44 PM
githubUrlhttps://github.com/neomjs/neo/issues/7520
authortobiu
commentsCount1
parentIssuenull
subIssues
7521 Scaffold Memory Core MCP Server
7522 Refactor Memory Core OpenAPI for MCP
7523 Implement Memory Core toolService
7524 Remove Legacy Express Server from Memory Core
7525 Enhance Memory Core Health Check
7526 Refactor dbService to use chromaManager
7527 Refactor Health Service to Remove Redundant Try/Catch
7528 Use Centralized AI Config in Memory Core Services
subIssuesCompleted8
subIssuesTotal8
blockedBy[]
blocking[]
closedAtOct 17, 2025, 2:44 PM

Epic: Migrate Memory Server to stdio-based MCP

Closed v11.0.0 epicai
tobiu
tobiu commented on Oct 17, 2025, 1:22 PM

This epic covers the migration of the Express-based memory server to a stdio-only MCP server, aligning its architecture with the other MCP servers. The core tasks are to refactor the existing openapi.yaml for MCP tool compatibility, scaffold the new stdio entry point, and wire it up to the existing, well-structured services.

Top-Level Items

Phase 1: Scaffolding & API Refactoring

  • Goal: Prepare the new server structure and refactor the API definition for MCP compatibility.
  • Sub-Tasks:
    • ticket-mc-scaffold-server.md: Scaffold the new memory-core server structure.
    • ticket-mc-refactor-openapi.md: Refactor the existing openapi.yaml to use a flat structure with operationId for each tool.

Phase 2: Implementation

  • Goal: Implement the new stdio-based server and refactor for consistency.
  • Sub-Tasks:
    • ticket-mc-implement-tool-service.md: Implement the local toolService.mjs to connect OpenAPI operationIds to existing service functions.
    • ticket-mc-enhance-healthcheck.md: Enhance the healthcheck tool to provide detailed collection status.
    • ticket-mc-refactor-dbservice.md: Refactor dbService to use the shared chromaManager.
    • ticket-mc-use-central-config.md: Update all services to use the centralized aiConfig.
    • ticket-mc-refactor-healthservice-try-catch.md: Refactor healthService to remove redundant try...catch blocks.

Phase 3: Cleanup

  • Goal: Deprecate and remove the old Express server.
  • Sub-Tasks:
    • ticket-mc-remove-express.md: Remove the old index.mjs and any Express-related files and dependencies.
tobiu assigned to @tobiu on Oct 17, 2025, 1:22 PM
tobiu added the epic label on Oct 17, 2025, 1:22 PM
tobiu added the ai label on Oct 17, 2025, 1:22 PM
tobiu added sub-issue #7521 on Oct 17, 2025, 1:23 PM
tobiu added sub-issue #7522 on Oct 17, 2025, 1:24 PM
tobiu added sub-issue #7523 on Oct 17, 2025, 1:25 PM
tobiu added sub-issue #7524 on Oct 17, 2025, 1:26 PM
tobiu referenced in commit 76835af - "#7520 tickets as md files" on Oct 17, 2025, 1:27 PM
tobiu added sub-issue #7525 on Oct 17, 2025, 2:06 PM
tobiu added sub-issue #7526 on Oct 17, 2025, 2:14 PM
tobiu added sub-issue #7527 on Oct 17, 2025, 2:19 PM
tobiu added sub-issue #7528 on Oct 17, 2025, 2:24 PM
tobiu
tobiu Oct 17, 2025, 2:44 PM

resolved.

tobiu closed this issue on Oct 17, 2025, 2:44 PM