Class McpBpmConfig

java.lang.Object
com.ssgllc.fish.config.mcp.McpBpmConfig

@Configuration public class McpBpmConfig extends Object
MCP tool configuration for BPM (Business Process Management) operations.

Provides:

  • list-deployed-process-definitions — list process definitions deployed to the engine
  • list-deployed-form-definitions — list form definitions deployed to the engine
  • get-process-definition-bpmn — fetch the BPMN 2.0 XML for a deployed process
  • get-bpm-model-by-key — fetch a BPM model by key + type code
  • get-bpm-model-for-editor — fetch the latest editable model version by model id
  • upsert-bpm-model-definition — create/update a model definition (new version)
  • import-bpm-model-from-bpmn — import a process model from BPMN 2.0 XML
  • set-bpm-model-active — activate/archive a model
  • deploy-bpm-model — deploy a model to the Flowable engine so its process can run
  • preview-bpm-model-deployment — preflight a deploy (bundled + missing references)

Deployed decision (DMN) definitions are intentionally out of scope for the list tools: they are gated by a separate admin permission and are not wired through BpmProcessDefinitionService. Add a dedicated tool if that inventory is needed.

Note: the write tools above (upsert-*, import-*) only create/version the BpmModel row; a process is not runnable until deploy-bpm-model pushes it to the Flowable engine.

The write tools (upsert-bpm-model-definition, import-bpm-model-from-bpmn, set-bpm-model-active) accept an optional featureBranch param recorded in the configuration audit trail via ConfigBranchContext, mirroring the entity write tools in McpEntityConfig.

Active only when spring.ai.mcp.server.enabled=true.

See Also:
  • McpToolsSupport
  • Constructor Details

    • McpBpmConfig

      public McpBpmConfig()