import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'; /** Low-level MCP Server type (avoids deprecated Server import) */ type LowLevelServer = McpServer['server']; import { MemoryBankManager } from '../../core/MemoryBankManager.js'; import { ProgressTracker } from '../../core/ProgressTracker.js'; /** * Single source of truth for all MCP tool definitions. * Used by both the `initialize` handshake (capabilities) and the `tools/list` handler. */ export declare const allTools: ({ name: string; description: string; inputSchema: { type: string; properties: { path?: undefined; verbose?: undefined; filename?: undefined; includeEtag?: undefined; content?: undefined; ifMatchEtag?: undefined; includeEtags?: undefined; maxProgressEntries?: undefined; maxDecisions?: undefined; includeSystemPatterns?: undefined; query?: undefined; files?: undefined; maxResults?: undefined; caseSensitive?: undefined; backupDir?: undefined; listOnly?: undefined; backupId?: undefined; createPreRestoreBackup?: undefined; type?: undefined; summary?: undefined; details?: undefined; tags?: undefined; note?: undefined; category?: undefined; add?: undefined; remove?: undefined; replace?: undefined; stopOnError?: undefined; }; additionalProperties: boolean; required?: undefined; }; } | { name: string; description: string; inputSchema: { type: string; properties: { path: { type: string; description: string; }; verbose?: undefined; filename?: undefined; includeEtag?: undefined; content?: undefined; ifMatchEtag?: undefined; includeEtags?: undefined; maxProgressEntries?: undefined; maxDecisions?: undefined; includeSystemPatterns?: undefined; query?: undefined; files?: undefined; maxResults?: undefined; caseSensitive?: undefined; backupDir?: undefined; listOnly?: undefined; backupId?: undefined; createPreRestoreBackup?: undefined; type?: undefined; summary?: undefined; details?: undefined; tags?: undefined; note?: undefined; category?: undefined; add?: undefined; remove?: undefined; replace?: undefined; stopOnError?: undefined; }; required: string[]; additionalProperties?: undefined; }; } | { name: string; description: string; inputSchema: { type: string; properties: { verbose: { type: string; description: string; default: boolean; }; path?: undefined; filename?: undefined; includeEtag?: undefined; content?: undefined; ifMatchEtag?: undefined; includeEtags?: undefined; maxProgressEntries?: undefined; maxDecisions?: undefined; includeSystemPatterns?: undefined; query?: undefined; files?: undefined; maxResults?: undefined; caseSensitive?: undefined; backupDir?: undefined; listOnly?: undefined; backupId?: undefined; createPreRestoreBackup?: undefined; type?: undefined; summary?: undefined; details?: undefined; tags?: undefined; note?: undefined; category?: undefined; add?: undefined; remove?: undefined; replace?: undefined; stopOnError?: undefined; }; required: never[]; additionalProperties?: undefined; }; } | { name: string; description: string; inputSchema: { type: string; properties: { filename: { type: string; description: string; }; includeEtag: { type: string; description: string; default: boolean; }; path?: undefined; verbose?: undefined; content?: undefined; ifMatchEtag?: undefined; includeEtags?: undefined; maxProgressEntries?: undefined; maxDecisions?: undefined; includeSystemPatterns?: undefined; query?: undefined; files?: undefined; maxResults?: undefined; caseSensitive?: undefined; backupDir?: undefined; listOnly?: undefined; backupId?: undefined; createPreRestoreBackup?: undefined; type?: undefined; summary?: undefined; details?: undefined; tags?: undefined; note?: undefined; category?: undefined; add?: undefined; remove?: undefined; replace?: undefined; stopOnError?: undefined; }; required: string[]; additionalProperties?: undefined; }; } | { name: string; description: string; inputSchema: { type: string; properties: { filename: { type: string; description: string; }; content: { type: string; description: string; }; ifMatchEtag: { type: string; description: string; }; path?: undefined; verbose?: undefined; includeEtag?: undefined; includeEtags?: undefined; maxProgressEntries?: undefined; maxDecisions?: undefined; includeSystemPatterns?: undefined; query?: undefined; files?: undefined; maxResults?: undefined; caseSensitive?: undefined; backupDir?: undefined; listOnly?: undefined; backupId?: undefined; createPreRestoreBackup?: undefined; type?: undefined; summary?: undefined; details?: undefined; tags?: undefined; note?: undefined; category?: undefined; add?: undefined; remove?: undefined; replace?: undefined; stopOnError?: undefined; }; required: string[]; additionalProperties?: undefined; }; } | { name: string; description: string; inputSchema: { type: string; properties: { includeEtags: { type: string; description: string; default: boolean; }; path?: undefined; verbose?: undefined; filename?: undefined; includeEtag?: undefined; content?: undefined; ifMatchEtag?: undefined; maxProgressEntries?: undefined; maxDecisions?: undefined; includeSystemPatterns?: undefined; query?: undefined; files?: undefined; maxResults?: undefined; caseSensitive?: undefined; backupDir?: undefined; listOnly?: undefined; backupId?: undefined; createPreRestoreBackup?: undefined; type?: undefined; summary?: undefined; details?: undefined; tags?: undefined; note?: undefined; category?: undefined; add?: undefined; remove?: undefined; replace?: undefined; stopOnError?: undefined; }; additionalProperties: boolean; required?: undefined; }; } | { name: string; description: string; inputSchema: { type: string; properties: { maxProgressEntries: { type: string; description: string; default: number; }; maxDecisions: { type: string; description: string; default: number; }; includeSystemPatterns: { type: string; description: string; default: boolean; }; path?: undefined; verbose?: undefined; filename?: undefined; includeEtag?: undefined; content?: undefined; ifMatchEtag?: undefined; includeEtags?: undefined; query?: undefined; files?: undefined; maxResults?: undefined; caseSensitive?: undefined; backupDir?: undefined; listOnly?: undefined; backupId?: undefined; createPreRestoreBackup?: undefined; type?: undefined; summary?: undefined; details?: undefined; tags?: undefined; note?: undefined; category?: undefined; add?: undefined; remove?: undefined; replace?: undefined; stopOnError?: undefined; }; additionalProperties: boolean; required?: undefined; }; } | { name: string; description: string; inputSchema: { type: string; properties: { query: { type: string; description: string; }; files: { type: string; items: { type: string; properties?: undefined; required?: undefined; }; description: string; }; maxResults: { type: string; description: string; default: number; }; caseSensitive: { type: string; description: string; default: boolean; }; path?: undefined; verbose?: undefined; filename?: undefined; includeEtag?: undefined; content?: undefined; ifMatchEtag?: undefined; includeEtags?: undefined; maxProgressEntries?: undefined; maxDecisions?: undefined; includeSystemPatterns?: undefined; backupDir?: undefined; listOnly?: undefined; backupId?: undefined; createPreRestoreBackup?: undefined; type?: undefined; summary?: undefined; details?: undefined; tags?: undefined; note?: undefined; category?: undefined; add?: undefined; remove?: undefined; replace?: undefined; stopOnError?: undefined; }; required: string[]; additionalProperties?: undefined; }; } | { name: string; description: string; inputSchema: { type: string; properties: { backupDir: { type: string; description: string; }; listOnly: { type: string; description: string; }; path?: undefined; verbose?: undefined; filename?: undefined; includeEtag?: undefined; content?: undefined; ifMatchEtag?: undefined; includeEtags?: undefined; maxProgressEntries?: undefined; maxDecisions?: undefined; includeSystemPatterns?: undefined; query?: undefined; files?: undefined; maxResults?: undefined; caseSensitive?: undefined; backupId?: undefined; createPreRestoreBackup?: undefined; type?: undefined; summary?: undefined; details?: undefined; tags?: undefined; note?: undefined; category?: undefined; add?: undefined; remove?: undefined; replace?: undefined; stopOnError?: undefined; }; additionalProperties: boolean; required?: undefined; }; } | { name: string; description: string; inputSchema: { type: string; properties: { backupId: { type: string; description: string; }; createPreRestoreBackup: { type: string; description: string; default: boolean; }; path?: undefined; verbose?: undefined; filename?: undefined; includeEtag?: undefined; content?: undefined; ifMatchEtag?: undefined; includeEtags?: undefined; maxProgressEntries?: undefined; maxDecisions?: undefined; includeSystemPatterns?: undefined; query?: undefined; files?: undefined; maxResults?: undefined; caseSensitive?: undefined; backupDir?: undefined; listOnly?: undefined; type?: undefined; summary?: undefined; details?: undefined; tags?: undefined; note?: undefined; category?: undefined; add?: undefined; remove?: undefined; replace?: undefined; stopOnError?: undefined; }; required: string[]; additionalProperties?: undefined; }; } | { name: string; description: string; inputSchema: { type: string; properties: { type: { type: string; enum: string[]; description: string; }; summary: { type: string; description: string; }; details: { type: string; description: string; }; files: { type: string; items: { type: string; properties?: undefined; required?: undefined; }; description: string; }; tags: { type: string; items: { type: string; }; description: string; }; path?: undefined; verbose?: undefined; filename?: undefined; includeEtag?: undefined; content?: undefined; ifMatchEtag?: undefined; includeEtags?: undefined; maxProgressEntries?: undefined; maxDecisions?: undefined; includeSystemPatterns?: undefined; query?: undefined; maxResults?: undefined; caseSensitive?: undefined; backupDir?: undefined; listOnly?: undefined; backupId?: undefined; createPreRestoreBackup?: undefined; note?: undefined; category?: undefined; add?: undefined; remove?: undefined; replace?: undefined; stopOnError?: undefined; }; required: string[]; additionalProperties?: undefined; }; } | { name: string; description: string; inputSchema: { type: string; properties: { note: { type: string; description: string; }; category: { type: string; enum: string[]; description: string; }; path?: undefined; verbose?: undefined; filename?: undefined; includeEtag?: undefined; content?: undefined; ifMatchEtag?: undefined; includeEtags?: undefined; maxProgressEntries?: undefined; maxDecisions?: undefined; includeSystemPatterns?: undefined; query?: undefined; files?: undefined; maxResults?: undefined; caseSensitive?: undefined; backupDir?: undefined; listOnly?: undefined; backupId?: undefined; createPreRestoreBackup?: undefined; type?: undefined; summary?: undefined; details?: undefined; tags?: undefined; add?: undefined; remove?: undefined; replace?: undefined; stopOnError?: undefined; }; required: string[]; additionalProperties?: undefined; }; } | { name: string; description: string; inputSchema: { type: string; properties: { add: { type: string; items: { type: string; }; description: string; }; remove: { type: string; items: { type: string; }; description: string; }; replace: { type: string; items: { type: string; }; description: string; }; path?: undefined; verbose?: undefined; filename?: undefined; includeEtag?: undefined; content?: undefined; ifMatchEtag?: undefined; includeEtags?: undefined; maxProgressEntries?: undefined; maxDecisions?: undefined; includeSystemPatterns?: undefined; query?: undefined; files?: undefined; maxResults?: undefined; caseSensitive?: undefined; backupDir?: undefined; listOnly?: undefined; backupId?: undefined; createPreRestoreBackup?: undefined; type?: undefined; summary?: undefined; details?: undefined; tags?: undefined; note?: undefined; category?: undefined; stopOnError?: undefined; }; additionalProperties?: undefined; required?: undefined; }; } | { name: string; description: string; inputSchema: { type: string; properties: { files: { type: string; items: { type: string; properties?: undefined; required?: undefined; }; description: string; }; includeEtags: { type: string; description: string; default: boolean; }; path?: undefined; verbose?: undefined; filename?: undefined; includeEtag?: undefined; content?: undefined; ifMatchEtag?: undefined; maxProgressEntries?: undefined; maxDecisions?: undefined; includeSystemPatterns?: undefined; query?: undefined; maxResults?: undefined; caseSensitive?: undefined; backupDir?: undefined; listOnly?: undefined; backupId?: undefined; createPreRestoreBackup?: undefined; type?: undefined; summary?: undefined; details?: undefined; tags?: undefined; note?: undefined; category?: undefined; add?: undefined; remove?: undefined; replace?: undefined; stopOnError?: undefined; }; required: string[]; additionalProperties?: undefined; }; } | { name: string; description: string; inputSchema: { type: string; properties: { files: { type: string; items: { type: string; properties: { filename: { type: string; description: string; }; content: { type: string; description: string; }; ifMatchEtag: { type: string; description: string; }; }; required: string[]; }; description: string; }; stopOnError: { type: string; description: string; default: boolean; }; path?: undefined; verbose?: undefined; filename?: undefined; includeEtag?: undefined; content?: undefined; ifMatchEtag?: undefined; includeEtags?: undefined; maxProgressEntries?: undefined; maxDecisions?: undefined; includeSystemPatterns?: undefined; query?: undefined; maxResults?: undefined; caseSensitive?: undefined; backupDir?: undefined; listOnly?: undefined; backupId?: undefined; createPreRestoreBackup?: undefined; type?: undefined; summary?: undefined; details?: undefined; tags?: undefined; note?: undefined; category?: undefined; add?: undefined; remove?: undefined; replace?: undefined; }; required: string[]; additionalProperties?: undefined; }; } | { name: string; description: string; inputSchema: { type: string; properties: { action: { type: string; description: string; }; description: { type: string; description: string; }; updateActiveContext: { type: string; description: string; default: boolean; }; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: string; properties: { tasks: { type: string; items: { type: string; }; description: string; }; issues: { type: string; items: { type: string; }; description: string; }; nextSteps: { type: string; items: { type: string; }; description: string; }; }; }; } | { name: string; description: string; inputSchema: { type: string; properties: { title: { type: string; description: string; }; context: { type: string; description: string; }; decision: { type: string; description: string; }; alternatives: { type: string; items: { type: string; }; description: string; }; consequences: { type: string; items: { type: string; }; description: string; }; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: string; properties: { mode: { type: string; description: string; }; umb: { type: string; description: string; }; umbCommand: { type: string; description: string; }; }; required: never[]; }; } | { name: string; description: string; inputSchema: { type: string; properties: { name: { type: string; description: string; }; entityType: { type: string; description: string; }; attrs: { type: string; description: string; additionalProperties: boolean; }; storeId: { type: string; description: string; }; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: string; properties: { entity: { type: string; description: string; }; text: { type: string; description: string; }; source: { type: string; description: string; }; timestamp: { type: string; description: string; }; storeId: { type: string; description: string; }; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: string; properties: { action: { type: string; enum: string[]; description: string; }; from: { type: string; description: string; }; relationType: { type: string; description: string; }; to: { type: string; description: string; }; storeId: { type: string; description: string; }; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: string; properties: { query: { type: string; description: string; }; limit: { type: string; description: string; }; includeNeighborhood: { type: string; description: string; }; neighborhoodDepth: { type: string; description: string; enum: number[]; }; storeId: { type: string; description: string; }; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: string; properties: { nodes: { type: string; items: { type: string; }; description: string; }; depth: { type: string; description: string; enum: number[]; }; storeId: { type: string; description: string; }; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: string; properties: { entity: { type: string; description: string; }; observationId: { type: string; description: string; }; storeId: { type: string; description: string; }; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: string; properties: { operation: { type: string; enum: string[]; description: string; }; storeId: { type: string; description: string; }; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: "object"; properties: { action?: undefined; path?: undefined; storeId?: undefined; kind?: undefined; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: "object"; properties: { action: { type: string; enum: string[]; description: string; }; path: { type: string; description: string; }; storeId: { type: string; description: string; }; kind: { type: string; enum: string[]; description: string; }; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: string; properties: { thought: { type: string; description: string; }; nextThoughtNeeded: { type: string; description: string; }; thoughtNumber: { type: string; description: string; minimum: number; }; totalThoughts: { type: string; description: string; minimum: number; }; isRevision: { type: string; description: string; }; revisesThought: { type: string; description: string; minimum: number; }; branchFromThought: { type: string; description: string; minimum: number; }; branchId: { type: string; description: string; }; needsMoreThoughts: { type: string; description: string; }; sessionId: { type: string; description: string; }; reset: { type: string; description: string; }; summary?: undefined; decision?: undefined; tasks?: undefined; nextSteps?: undefined; progressEntry?: undefined; }; required: never[]; }; } | { name: string; description: string; inputSchema: { type: string; properties: { summary: { type: string; description: string; }; decision: { type: string; description: string; properties: { title: { type: string; description: string; }; context: { type: string; description: string; }; decision: { type: string; description: string; }; alternatives: { type: string; items: { type: string; }; description: string; }; consequences: { type: string; items: { type: string; }; description: string; }; }; required: string[]; }; tasks: { type: string; description: string; properties: { add: { type: string; items: { type: string; }; description: string; }; remove: { type: string; items: { type: string; }; description: string; }; replace: { type: string; items: { type: string; }; description: string; }; }; }; nextSteps: { type: string; items: { type: string; }; description: string; }; progressEntry: { type: string; description: string; properties: { type: { type: string; enum: string[]; description: string; }; summary: { type: string; description: string; }; details: { type: string; description: string; }; files: { type: string; items: { type: string; }; description: string; }; tags: { type: string; items: { type: string; }; description: string; }; }; required: string[]; }; sessionId: { type: string; description: string; }; thought?: undefined; nextThoughtNeeded?: undefined; thoughtNumber?: undefined; totalThoughts?: undefined; isRevision?: undefined; revisesThought?: undefined; branchFromThought?: undefined; branchId?: undefined; needsMoreThoughts?: undefined; reset?: undefined; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: string; properties: { query: { type: string; description: string; }; maxChars: { type: string; description: string; minimum: number; }; maxFiles: { type: string; description: string; minimum: number; maximum: number; }; graphLimit: { type: string; description: string; minimum: number; maximum: number; }; graphDepth: { type: string; description: string; enum: number[]; }; preferActiveContext: { type: string; description: string; }; entityNameOrId?: undefined; docPath?: undefined; heading?: undefined; note?: undefined; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: string; properties: { entityNameOrId: { type: string; description: string; }; docPath: { type: string; description: string; }; heading: { type: string; description: string; }; note: { type: string; description: string; }; query?: undefined; maxChars?: undefined; maxFiles?: undefined; graphLimit?: undefined; graphDepth?: undefined; preferActiveContext?: undefined; }; required: string[]; }; })[]; /** * Sets up all tool handlers for the MCP server * @param server MCP Server * @param memoryBankManager Memory Bank Manager * @param getProgressTracker Function to get the ProgressTracker */ export declare function setupToolHandlers(server: LowLevelServer, memoryBankManager: MemoryBankManager, getProgressTracker: () => ProgressTracker | null): void; export {}; //# sourceMappingURL=index.d.ts.map