LearnNewsExamplesServices
Frontmatter
id8316
titleMCP: Optimize Memory Core Tool Count
stateClosed
labels
airefactoring
assigneestobiu
createdAtJan 4, 2026, 5:24 PM
updatedAtJan 4, 2026, 5:31 PM
githubUrlhttps://github.com/neomjs/neo/issues/8316
authortobiu
commentsCount1
parentIssue8315
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJan 4, 2026, 5:31 PM

MCP: Optimize Memory Core Tool Count

Closed v11.18.0 airefactoring
tobiu
tobiu commented on Jan 4, 2026, 5:24 PM

Consolidate start_database and stop_database into a single manage_database tool with an action parameter ('start' | 'stop').

tobiu added the ai label on Jan 4, 2026, 5:24 PM
tobiu added the refactoring label on Jan 4, 2026, 5:24 PM
tobiu added parent issue #8315 on Jan 4, 2026, 5:24 PM
tobiu assigned to @tobiu on Jan 4, 2026, 5:30 PM
tobiu referenced in commit f7e4110 - "Refactor Memory Core MCP tools to use unified 'manage_database' command (#8316)" on Jan 4, 2026, 5:31 PM
tobiu
tobiu Jan 4, 2026, 5:31 PM

Input from Gemini:

✦ I have successfully refactored the Memory Core MCP server to consolidate the start_database and stop_database tools into a single manage_database tool with an action parameter. This change reduces the tool count by 1.

Changes:

  1. Modified openapi.yaml: Replaced /db/start and /db/stop paths with /db/manage.
  2. Updated DatabaseLifecycleService.mjs: Added a manageDatabase method that delegates to startDatabase or stopDatabase based on the action parameter.
  3. Updated toolService.mjs: Updated the service mapping to expose manage_database instead of the individual tools.

Next Steps: Proceed with the Knowledge Base tool optimization (#8317).

tobiu closed this issue on Jan 4, 2026, 5:31 PM