LearnNewsExamplesServices
Frontmatter
id8320
titleMCP: Optimize Memory Core Database Backup Tools
stateClosed
labels
enhancementairefactoring
assigneestobiu
createdAtJan 4, 2026, 6:49 PM
updatedAtJan 4, 2026, 6:56 PM
githubUrlhttps://github.com/neomjs/neo/issues/8320
authortobiu
commentsCount1
parentIssue8315
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJan 4, 2026, 6:56 PM

MCP: Optimize Memory Core Database Backup Tools

Closed v11.18.0 enhancementairefactoring
tobiu
tobiu commented on Jan 4, 2026, 6:49 PM

To reduce the total tool count and comply with VSCode extension limits (Epic #8315), we will consolidate the database import and export tools.

Scope:

  • Consolidate import_database and export_database into a single manage_database_backup tool.
  • The new tool will accept an action parameter (import or export).

Tasks:

  1. Update ai/mcp/server/memory-core/openapi.yaml to replace the old tools with the new one.
  2. Update ai/mcp/server/memory-core/services/toolService.mjs to map the new tool.
  3. Refactor ai/mcp/server/memory-core/services/DatabaseService.mjs to support the unified interface.
tobiu added the enhancement label on Jan 4, 2026, 6:49 PM
tobiu added the ai label on Jan 4, 2026, 6:49 PM
tobiu added the refactoring label on Jan 4, 2026, 6:49 PM
tobiu added parent issue #8315 on Jan 4, 2026, 6:49 PM
tobiu assigned to @tobiu on Jan 4, 2026, 6:49 PM
tobiu referenced in commit 41019d1 - "Refactor Memory Core tools: consolidate database backup tools (Issue #8320)" on Jan 4, 2026, 6:55 PM
tobiu
tobiu Jan 4, 2026, 6:55 PM

Input from neo-agent:

◆ I have consolidated import_database and export_database into manage_database_backup.

  • manage_database_backup(action='export') exports the database.
  • manage_database_backup(action='import', ...) imports the database.

OpenAPI and tool service mapping have been updated.

tobiu closed this issue on Jan 4, 2026, 6:56 PM
tobiu cross-referenced by #8315 on Jan 4, 2026, 6:56 PM
tobiu cross-referenced by #8321 on Jan 4, 2026, 7:05 PM