Automation
Kestra 2.1: Governed MCP Server, Approval Tasks, and Execution Artifacts for Agentic Workflows
Released on December 1, 2026, Kestra 2.1 embeds a governed MCP Server (up to 79 tools in Enterprise) directly into the orchestrator alongside native Approval tasks, Execution Artifacts, and Script Checkpoints. Here is how it secures agentic workflows and where preview/edition boundaries sit.
8 min read
Kestra 2.1: Governed MCP Server, Approval Tasks, and Execution Artifacts for Agentic Workflows
Executive Summary
- Native MCP Server inside the orchestrator: Released on December 1, 2026 (
v2.1.0), Kestra 2.1 embeds a Kestra MCP Server directly into the platform (OSS and Enterprise Edition), giving MCP-compatible clients such as Claude Code, Codex, and Cursor governed access to read/edit flows, manage executions, query logs, and update KV state—expanding to 79 tools in Enterprise Edition (Kestra Blog; The Futurum Group). - Governance-first defaults: The MCP Server is disabled by default, requires authentication, supports tenant-scoped instructions, and in Enterprise Edition executes every agent tool call under the human caller's existing RBAC permissions and audit-log identity (Kestra Blog; The Futurum Group).
- Native human-in-the-loop and resumable execution: Kestra 2.1 replaces binary
Pause-or-kill workarounds with a dedicatedApprovaltask (io.kestra.plugin.core.flow.Approval) that routes explicit Approve/Deny branches, alongside Execution Artifacts for data lineage (JDBC, Airbyte, Fivetran, dbt), Script Checkpoints (beta), and 60 new plugin repositories (Kestra Blog; Kestra Flow Plugin). - Operational takeaway: Platform teams can let coding or ops agents diagnose failed runs and request sandboxed infrastructure without granting direct root access to Terraform, Proxmox, or production databases—provided they audit Enterprise vs. OSS boundaries and 2.1 breaking RBAC/API changes before upgrading (Kestra Blog; Kestra Blog).
What Changed: Kestra 2.1 Architecture and Core Mechanisms
Prior to 2.1, connecting AI agents to workflow orchestrators typically meant either embedding an LLM task inside a static DAG or wrapping an external CLI with an ad-hoc MCP server that lacked unified audit trails (Kestra Blog). Kestra 2.1 inverts that model by turning the orchestrator itself into a governed MCP control plane while keeping deterministic execution and human sign-off inside declarative YAML flows (Kestra Blog).
| Capability | Edition Availability | Status (Dec 2026) | Core Operational Mechanism |
|---|---|---|---|
| Kestra MCP Server | OSS & Enterprise (79 tools in EE) | GA (off by default) | Exposes flows, executions, logs, KV, and EE apps/tests to MCP clients under caller RBAC (Kestra Blog; The Futurum Group) |
| Approval Task | OSS & Enterprise | GA | Pauses execution for explicit Approve/Deny decision with reviewer comments and form fields (Kestra Blog) |
| Execution Artifacts | OSS & Enterprise | GA | Surfaces compiled SQL, table stats, and dbt/Airbyte/Fivetran/JDBC lineage in an Artifacts tab (Kestra Blog) |
| Script Checkpoints | OSS & Enterprise | Beta | Saves intermediate state so long-running scripts resume from failure point (The Futurum Group) |
Assets, Leases & TtlTrigger |
Enterprise & Cloud | GA | Tracks resource ownership, deployment relations, and automated TTL expiry cleanup (Kestra Blog) |
| 60 New Plugin Repos | OSS & EE (Network automation in EE) | GA | Adds Firecrawl, Browser Use, Playwright, Qdrant/Milvus, Pub/Sub, SQS, and Arista/Cisco/Palo Alto/Fortinet (Kestra Blog; The Futurum Group) |
Enabling the Kestra MCP Server Safely
Enabling the platform MCP server requires explicit opt-in configuration, where administrators can pin allowed tenants and inject standing operational guardrails (Kestra Blog):
kestra:
mcp:
platform-server:
enabled: true
tenants: [dev]
instructions: "Only restart executions in the dev tenant."
In Enterprise Edition, every MCP tool invocation authenticates as the human user behind the client (e.g., Claude Code or Cursor), meaning an agent cannot read namespaces, modify flows, or restart jobs that the caller's role is not already permitted to touch (The Futurum Group). In Kestra's reference debugging workflow, Claude Code diagnoses a failed nightly sync by querying execution logs via MCP, identifying a missing KV store key, creating that key, and restarting the failed run in a single reasoning loop (The Futurum Group).
Approval Tasks, Infrastructure Sandboxes, and Asset Leases
Previously, human-in-the-loop pauses relied on the Pause task—where rejecting a run meant killing the execution entirely (Kestra Blog). The new io.kestra.plugin.core.flow.Approval task lets workflows branch cleanly on Approve vs. Deny, capture structured reviewer inputs (and render via ApprovalReview blocks inside Kestra Apps), and trigger deterministic cleanup regardless of outcome (Kestra Blog; Kestra Docs).
In Kestra's infrastructure sandbox blueprint, an agent such as Claude Code requests a temporary Proxmox VE, VMware, or Nutanix environment; a manager approves or rejects the request directly in Slack via the Approval task; and the flow guarantees teardown with a resource usage report however the run ends (Kestra Blog). For Enterprise and Cloud environments, Kestra 2.1 pairs this with Asset ownership, statuses, and leases: relations map a deployment to its underlying resources (such as a VM to its load balancer), and TtlTrigger can warn an owner a week before lease expiration and automatically clean up orphaned infrastructure afterward (Kestra Blog). Kestra 2.1 also extends Cases to link incidents with Jira, ServiceNow, GitHub, GitLab, Linear, and Zendesk, and upgrades Apps with multi-column Grid layouts, embedded dashboard charts, and Assets blocks (Kestra Blog).
sequenceDiagram
participant Agent as MCP Client (Claude Code / Cursor)
participant MCP as Kestra 2.1 MCP Server (RBAC-Scoped)
participant Flow as Kestra Flow & Approval Task
participant Human as Reviewer (Slack / Kestra App)
participant Infra as Sandbox / Data Stack
Agent->>MCP: Request execution or inspect failed logs
MCP->>MCP: Verify caller auth & tenant policy
MCP->>Flow: Trigger / restart flow under caller identity
Flow->>Human: Pause at Approval task (inputs + comment)
Human-->>Flow: Approve or Deny
alt Approved
Flow->>Infra: Provision sandbox / run dbt or SQL task
Infra-->>Flow: Return Execution Artifacts & usage report
else Denied
Flow->>Infra: Skip provision & run deterministic cleanup
end
Flow-->>Agent: Return final status & audit trailReliability, Cost, and Performance Analysis
Evaluating Kestra 2.1 for production automation requires examining both its reliability primitives and the enterprise demand metrics cited in external research:
- Resuming Long-Running Scripts Without Full Re-Runs: Script Checkpoints (beta in 2.1) allow compute-heavy Python or shell tasks to resume from the last checkpoint after a transient failure rather than re-executing from scratch, cutting wasted compute on long ETL or ML prep jobs (The Futurum Group).
- Searchable Execution Indexing: Adding
searchable: trueto flow inputs or outputs indexes business identifiers (such asorderIds) directly on the Executions page, eliminating slow log-grep debugging across thousands of runs (Kestra Blog):
outputs:
- id: orderIds
type: ARRAY
value: "{{ outputs.parse.values.orderIds }}"
searchable: true
- Queue Backends and Lock-Contention Positioning: Kestra 2.1 adds queue backends including Google Cloud Pub/Sub, NATS JetStream, Amazon SQS/SNS, and Azure Event Hubs (The Futurum Group). The Futurum Group notes that hyperscaler platforms such as Microsoft Fabric suffered lock contention under machine-speed agent writes and unpredictable shared-capacity overage billing—an operational gap Kestra targets with explicit RBAC, tenant isolation, and self-hosted queue scaling.
- Ecosystem Velocity and Enterprise Demand: Kestra's October 2026 Hacktober event generated 471 first-time contributors, 3,091 merged pull requests, and roughly 500 new plugin tasks (The Futurum Group). Meanwhile, Futurum's 1H 2026 survey (
n=818data decision-makers) found 50.9% named generative and agentic AI tools a top investment priority, while 41.6% cited improving data workflow efficiency as a primary driver (The Futurum Group). - Open-Source Parity vs. Enterprise Lock-In: Kestra 2.1 unlocks all Copilot LLM providers (OpenAI, Anthropic, Google Gemini, Azure OpenAI, Bedrock, Mistral, DeepSeek, Ollama) for the open-source edition plus a free hosted tier (The Futurum Group). However, caller-identity RBAC impersonation, SAML 2.0, Assets/Leases (
TtlTrigger), and network-vendor plugins (Arista, Cisco, Palo Alto, Fortinet) remain gated to Enterprise Edition (Kestra Blog; The Futurum Group).
Practical Implementation & Upgrade Trade-Offs
Before upgrading an existing Kestra 2.0 cluster to v2.1.0, platform teams must account for two documented breaking changes in the release notes (Kestra Blog):
- Concurrency Limit API Change: The concurrency limit API now expects the
scopeparameter in the request body rather than previous request formats, and its search results are paginated—requiring updates to any CI/CD or Terraform scripts querying concurrency limits (Kestra Blog). - Enterprise RBAC Tightening: Several role permissions were removed, and roles bound to a namespace can now only grant namespace-level permissions (existing bindings are migrated automatically during upgrade, but custom provisioning scripts should be audited) (Kestra Blog).
When to Choose Kestra 2.1 vs. Alternatives
- Choose Kestra 2.1 when you need declarative YAML orchestration spanning data pipelines (
dbt, Airbyte, Fivetran), infrastructure/network automation, and governed MCP access where coding agents diagnose failures or trigger pre-approved blueprints under strict RBAC and humanApprovalgates (Kestra Blog; Kestra Blog). - Choose Temporal when your core requirement is code-first, ultra-long-running application state (days/weeks of deterministic event-sourced replay in Go/TypeScript/Python) rather than YAML-driven data/infra orchestration and plugin ecosystems.
- Choose n8n when your primary workload is SaaS webhook glue and lightweight business-app automations rather than heavy data-lineage artifacts, Terraform/Proxmox infrastructure blueprints, or enterprise network automation.
Frequently Asked Questions (FAQ)
Is the Kestra 2.1 MCP Server enabled by default?
No. The Kestra MCP Server is disabled by default and requires explicit configuration (kestra.mcp.platform-server.enabled: true) plus authentication (Kestra Blog; The Futurum Group). Administrators can also restrict which tenants are exposed and supply standing instructions to bound agent actions (Kestra Blog).
What is the difference between the OSS and Enterprise Kestra MCP Server?
Both OSS and Enterprise Edition include the Kestra MCP Server for reading/editing flows, managing executions, and querying logs (Kestra Blog). Enterprise Edition expands the surface to 79 total tools (covering apps, test suites, groups, and announcement banners) and runs every agent call under the human caller's RBAC identity for full auditability (The Futurum Group).
How does the new Approval task differ from Kestra's Pause task?
Previously, using a Pause task for human review meant the only way to reject a step was to kill the entire execution (Kestra Blog). The new Approval task (io.kestra.plugin.core.flow.Approval) supports explicit Approve and Deny branches, reviewer comments, custom form fields, and guaranteed post-decision cleanup flows (Kestra Blog; Kestra Flow Plugin).
Are Script Checkpoints production-ready in Kestra 2.1?
Script Checkpoints—which let long-running scripts resume from their last saved checkpoint after a failure—shipped in beta in Kestra 2.1 (The Futurum Group). Teams should test checkpoint behavior in staging before relying on it for critical production pipelines.
What breaking changes should teams check before upgrading to Kestra 2.1?
Check two areas: (1) any automation calling Kestra's concurrency limit API, which now takes scope in the request body and returns paged results; and (2) Enterprise Edition RBAC roles, where namespace-bound roles can no longer grant instance-wide permissions (Kestra Blog).
Sources
- Kestra Blog (December 1–2, 2026) — Kestra 2.1: Let AI Agents Manage Your Flows, plus Approvals and Searchable Executions (Primary)
- Kestra Blog (December 1–2, 2026) — Kestra MCP Server: Let Any Coding Assistant Run Your Workflows, With Approvals Built In (Primary)
- Kestra GitHub Releases (December 1, 2026) — Kestra v2.1.0 Release Notes (Primary)
- Kestra Plugin Docs (December 1, 2026) — Core Flow Plugin (
Approval) (Primary) - The Futurum Group (December 2, 2026) — Kestra 2.1 Puts AI Agents in the Orchestration Seat (Secondary)