Any Flow Is Now a Tool
Add one trigger and any Kestra flow registers as a named tool on an MCP server. An agent sends a tool call, Kestra runs the flow with the matched inputs and returns the outputs. No custom API wrapper, no polling loop. Inputs map to the tool's JSON schema automatically, and every agent-initiated execution is tagged by origin and session, so you can audit exactly what your AI touched.
triggers:
- id: mcp
type: io.kestra.plugin.core.trigger.McpToolTrigger
toolName: run-dbt-model
toolDescription: Runs a dbt model in production. Use when a user
asks to refresh a table.























