complete_umb
Execute the Update Memory Bank (UMB) process on the MCP server with SSH support to manage and update the central knowledge base efficiently.
Instructions
Completes the Update Memory Bank (UMB) process
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/server/tools/ModeTools.ts:192-215 (handler)Main handler function for the complete_umb tool. Checks if UMB mode is active, calls completeUmbMode on MemoryBankManager, and returns success/error response.export function handleCompleteUmb(memoryBankManager: MemoryBankManager) { if (!memoryBankManager.isUmbModeActive()) { return { content: [ { type: 'text', text: 'UMB mode is not active.', }, ], isError: true, }; } memoryBankManager.completeUmbMode(); return { content: [ { type: 'text', text: `${memoryBankManager.getStatusPrefix()} UMB mode deactivated. Memory Bank updates have been completed.`, }, ], }; }
- src/server/tools/index.ts:273-275 (registration)Tool dispatch/registration in the main switch statement for handling tool calls in MCP server.case 'complete_umb': { return handleCompleteUmb(memoryBankManager); }
- src/server/tools/ModeTools.ts:44-50 (schema)Tool schema definition in modeTools array, exported and registered for listing tools.name: 'complete_umb', description: 'Completes the Update Memory Bank (UMB) process', inputSchema: { type: 'object', properties: {}, }, },
- Core helper method called by the handler to complete UMB mode (currently a stub implementation).async completeUmbMode(): Promise<boolean> { logger.debug('MemoryBankManager', 'Completing UMB mode'); return true; }