UNPKG

bc-webclient-mcp

Version:

Model Context Protocol (MCP) server for Microsoft Dynamics 365 Business Central via WebUI protocol. Enables AI assistants to interact with BC through the web client protocol, supporting Card, List, and Document pages with full line item support and server

26 lines 1.06 kB
/** * Factory for creating BC WebSocket client services. * * This factory will be implemented incrementally: * - Week 2: BCAuthenticationService, BCHandlerEventEmitter, minimal BCProtocolAdapter * - Week 3: BCWebSocketManager, complete BCProtocolAdapter * - Week 4: BCSessionManager, BCFilterMetadataCache, final wiring */ /** * Create full BC client with all services wired together. * * NOTE: Implementation will be added incrementally over weeks 2-4. * * @param config BC connection configuration * @param username Username for authentication * @param password Password for authentication * @param tenantId Optional tenant ID (default: '') * @param timeouts Optional timeout configuration * @returns Fully configured BC client * * @throws {Error} Not yet implemented - will be implemented in Week 2-4 */ export function createBCClient(config, username, password, tenantId = '', timeouts) { throw new Error('createBCClient not yet implemented - will be implemented during refactoring Week 2-4'); } //# sourceMappingURL=factory.js.map