Skip to content

Publish flows and snippets from an AI client ​

Enable the flow or snippet authoring tools in Workspace > Settings > MCP to let an AI client manage publication:

  • publish_flow publishes the current flow draft as a new version.
  • unpublish_flow disables the published flow while preserving its draft and version history.
  • publish_snippet publishes the current snippet draft as a new version.
  • unpublish_snippet removes the active published snippet while preserving its draft and version history.

Publication tools require update access. Before publishing, the client reads the current source and submits its exact content_updated_at value. Puppetflow rejects publication if the draft changed in the meantime.

Library-managed flows and snippets must be duplicated before they can be published through MCP.

Disabling a publication tool also blocks the equivalent publication option in flow and snippet writing tools. Snippet creation produces an unpublished draft unless publication is explicitly requested and publish_snippet is enabled.

For the complete tool list, see the MCP API reference.