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.09 kB
TypeScript
/**
* All Workflows Resource
*
* Provides introspection into all active and completed workflows.
* This resource helps AI assistants discover workflows and understand workflow state.
*
* For accessing a specific workflow by ID, use the get_workflow_state tool instead.
*/
import type { Result } from '../core/result.js';
import type { BCError } from '../core/errors.js';
import type { IMCPResource, ILogger } from '../core/interfaces.js';
/**
* BCWorkflowAllResource exposes all workflows in the system.
*/
export declare class BCWorkflowAllResource implements IMCPResource {
private readonly logger?;
readonly uri = "bc://workflow/all";
readonly name = "All BC Workflows";
readonly description = "All active and completed workflows with their current state, operations, and errors.";
readonly mimeType = "application/json";
constructor(logger?: ILogger | undefined);
/**
* Reads all workflows.
* @returns JSON snapshot of all workflows
*/
read(): Promise<Result<string, BCError>>;
}
//# sourceMappingURL=workflow-all-resource.d.ts.map