/** * Tool registry for NeuBird MCP Server * Central place to register all MCP tools and their handlers */ import { Tool } from '@modelcontextprotocol/sdk/types.js'; import { AuthenticationService } from '../services/auth.service.js'; import { ProjectService } from '../services/project.service.js'; import { SessionService } from '../services/session.service.js'; import { ConnectionService } from '../services/connection.service.js'; import { GuidanceService } from '../services/guidance.service.js'; import { HttpClient } from '../utils/http-client.js'; /** * Services required by tool handlers */ export interface ToolServices { authService: AuthenticationService; projectService: ProjectService; sessionService: SessionService; connectionService: ConnectionService; guidanceService: GuidanceService; httpClient: HttpClient; investigationStreamService: import('../services/investigation-stream.js').InvestigationStreamService; } /** * Tool handler function signature */ export type ToolHandler = (services: ToolServices, args: unknown) => Promise; /** * Tool definition with handler */ export interface ToolDefinition { tool: Tool; handler: ToolHandler; } /** * Get all tool definitions */ export declare function getToolDefinitions(): ToolDefinition[];