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

28 lines 1.07 kB
/** * Resource Registry * * Centralized registry for all MCP resources. * Provides factory function to build the list of resources for MCPServer. */ import type { IMCPResource, ILogger } from '../core/interfaces.js'; /** * Context for resource factory. */ export interface ResourceFactoryContext { readonly logger?: ILogger; } /** * Builds the list of resources to register with MCPServer. * * This function creates all available MCP resources with the provided context. * Resources are stateless and can be safely shared across requests. * * @param ctx - Optional context with logger * @returns Array of IMCPResource implementations */ export declare function buildResources(ctx?: ResourceFactoryContext): IMCPResource[]; export { WorkflowPatternsDocResource } from './docs-workflow-patterns-resource.js'; export { BCSchemaPagesResource } from './schema-pages-resource.js'; export { BCSessionStateResource } from './session-current-resource.js'; export { BCWorkflowAllResource } from './workflow-all-resource.js'; //# sourceMappingURL=index.d.ts.map