bc-code-intelligence-mcp
Version:
BC Code Intelligence MCP Server - Complete Specialist Bundle with AI-driven expert consultation, seamless handoffs, and context-preserving workflows
43 lines • 1.63 kB
TypeScript
/**
* MCP Tools for BC Specialist Interactions
*
* Provides a focused set of tools for AI-assisted Business Central development
* through personality-driven specialist consultations.
*/
import { CallToolRequest, CallToolResult, Tool } from '@modelcontextprotocol/sdk/types.js';
import { MultiContentLayerService } from '../services/multi-content-layer-service.js';
import { SpecialistSessionManager } from '../services/specialist-session-manager.js';
import { KnowledgeService } from '../services/knowledge-service.js';
export declare class SpecialistTools {
private readonly layerService;
private readonly sessionManager;
private readonly knowledgeService;
private roleplayEngine;
constructor(layerService: MultiContentLayerService, sessionManager: SpecialistSessionManager, knowledgeService: KnowledgeService);
/**
* Get all specialist tool definitions for MCP registration
*/
getToolDefinitions(): Tool[];
/**
* Handle specialist tool calls
*/
handleToolCall(request: CallToolRequest): Promise<CallToolResult>;
/**
* Find the best specialist for a question
*/
private handleSuggestSpecialist;
/**
* Get advice from a specialist with automatic session management
*/
private handleGetSpecialistAdvice;
/**
* List available specialists with filtering
*/
private handleListSpecialists;
/**
* Find specialist by partial/fuzzy name matching
* Handles cases like "Sam" -> "sam-coder", "Dean" -> "dean-debug", etc.
*/
private findSpecialistByFuzzyName;
}
//# sourceMappingURL=specialist-tools.d.ts.map