Head to head · Workflow automation · October 2026 research run

Dify API + MCP vs Kestra

Kestra scores 58.9 (C) on agent readiness against Dify API + MCP's 53.4 (D), and leads in 4 of 7 scored categories. Dify API + MCP leads on schema & documentation, agent ergonomics and security & auth. Both do workflow automation.

Best workflow automation platforms with APIs for AI agents · All 209 workflows comparisons

Which one, for what

Dify API + MCP D

Best for A team that wants to build an LLM workflow, chatflow or RAG app visually and call it from an agent as one API or one MCP tool.

Ahead on

  • Schema & documentation, 90 against 82
  • Agent ergonomics, 81 against 73
  • Security & auth, 58 against 41

Watch for

The MCP server URL carries its own credential, and there is no header or OAuth option for it

Kestra C

Best for Engineering and data teams that want declarative YAML flows with scripts in any language, run on their own infrastructure.

Ahead on

  • Reliability, 89 against 40
  • Payments & pricing, 75 against 45
  • Maintenance & community, 93 against 85
  • Transparency & trust, 71 against 62

Also in its favour

  • Open source

Watch for

The open-source edition has one basic-auth username and password. API tokens, service accounts, RBAC and audit logs need Enterprise or Cloud

Why the edge

Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.

Reliability Kestra +49

Dify API + MCP 40

Graded on Dify Cloud's API at api.dify.ai. No public status page is linked from dify.ai, the docs or the README (0), so no incident record could be read (5, our limit, not proof of a clean record). Published limits with numbers, Sandbox 5,000 API calls a month and knowledge requests at 10, 100 or 1,000 a minute by plan, with self-hosted concurrency caps (APP_MAX_ACTIVE_REQUESTS) in the env reference (15). The errors guide says to retry too_many_requests and 500 with backoff and never to retry quota errors, but gives no Retry-After header and workflow runs take no idempotency key (10 of 15). No SLA published, Enterprise lists SLAs negotiated by partners (0). The app API and MCP server are generally available (10). Total 0+5+15+10+0+10 = 40.

Kestra 89

Graded as software the owner runs, on the open-source edition, now 2.0.8 (27 October 2026). Official Docker image kestra/kestra and a stated runtime of Java 25 (20). Public CI with unit and end-to-end tests. Per the 8 October check, not re-read on 2 November (GitHub's pages refuse us), the latest main-build run on develop passed after one failure two hours earlier (22). Per the same check, 840 open issues and pull requests, with the nine issues opened on 7 and 8 October all labelled and answered (17). Major, feature and patch versions follow a written release policy, and each version's breaking changes have a migration guide. The 2.0.6 to 2.0.8 and 1.3.43 to 1.3.45 patches hold no breaking change. 2.0.6 rejects flat filter parameters on mutating by-query calls, which 2.0 already ignored, and 2.1.0-rc1 (20 October) previews the next minor (15). Version 2.0, with 1.0 released on 9 September 2025 (15). 20+22+17+15+15 = 89.

Payments & pricing Kestra +30

Dify API + MCP 45

No x402, MPP or L402 (0). Cloud plan prices are public, per workspace per year, with no per-call price (15). Cloud Sandbox is free with 5,000 API calls a month and Community Edition is free to self-host with the full API (30). A person signs up in a browser or installs an instance and creates the key in the console (0). Total 45.

Kestra 75

Read with the self-hosted rule. No x402, MPP or L402 (0). The open-source edition is free with unlimited flows and executions, stated on the pricing page. The paid options have no public price, Enterprise through sales and Cloud by access request, so half marks (10). Free to run with no card (20). An agent can start the Docker image and set the credential in configuration with no signup (20). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 50 is 75.

Security & auth Dify API + MCP +17

Dify API + MCP 58

App keys are scoped to one app and revocable, and knowledge base keys can be limited to chosen knowledge bases (25), less 10 because the MCP server's credential is part of its URL with no header option (15). App keys can run an app but not edit it, Cloud has IP access control, and the Human Input node can pause a run for approval (14). Apps return model output and retrieved content with no prompt-injection guidance found (3). Run logs and workflow logs per call in the console and the API (12). SECURITY.md takes reports through GitHub's private advisories, the site shows SOC 2 and ISO 27001, no bug bounty or security.txt found, and most of the past year's CVEs were filed by others rather than published by Dify (14). Total 15+14+3+12+14 = 58.

Kestra 41

The open-source edition has one basic-auth username and password with full access, and no tokens or scopes (10). No read-only mode or approval step in open source. RBAC, service accounts and human approval tasks are Enterprise. MCP servers are private by default (3). Allow and deny lists restrict outbound HTTP from tasks. No guidance on untrusted content reaching an agent was found (5). Audit logs are Enterprise only. Open source keeps execution history and logs, and MCP calls are labelled system.from:mcp (7). A valid security.txt, a SECURITY.md with a two-business-day acknowledgement, 33 advisories published by the maintainers, and SOC 2 Type 2 for the company and the managed service. No bug bounty found (16).

Transparency & trust Kestra +9

Dify API + MCP 62

Dify Open Source License, Apache 2.0 with conditions that forbid a multi-tenant service without written permission and removing the logo, clear but not OSI (20). Privacy policy of 30 June 2026 says LangGenius does not train on interaction data and names storage countries, a DPA is published, but retention is "as long as necessary" and Cloud log history is per plan (30 days on Sandbox) (20). Renamed settings and migrations are documented in the self-host docs, with no stated notice period (10). Processing locations disclosed (US, Australia, Canada, China, EEA, UK), self-hosted community telemetry on by default with an opt-out in code but not in the env reference (10). Total 60.

Kestra 71

Apache-2.0 for the server and the SDK repository (30). For self-hosted use the security page says flows, logs and secrets stay in the owner's database and storage, which agrees with the usage-reporting page. The Cloud privacy policy and terms cover only Cloud, and the website policy only the website, so no document covers the usage reports as personal data (20). A written release policy gives each long-term support line a support end date, and removals come with migration guides. No notice period for API changes was found (16). Usage reporting is on by default, documented field by field with a link to the source, and both streams can be switched off (20).

Schema & documentation Dify API + MCP +8

Dify API + MCP 90

Public OpenAPI 3.0.1 file for the Service API, 113 paths and 142 operations, and the MCP tool's input schema is built from the app's input form (25). llms.txt with Markdown copies of every page (10). Each endpoint page says which app types it serves, and the guides say when to use blocking or streaming (16). 66 enums and required fields in the spec, though app inputs are an object whose keys depend on the app (12). 778 examples and per-endpoint error codes (15). Versioned at /v1 and tagged releases with notes on GitHub, but the spec itself carries version 1.0.0 and no dated changelog sits in the docs (12). Total 90.

Kestra 82

OpenAPI 3.0.1 file for the open-source API at kestra.io/kestra.yml, 216 operations on 194 paths, versioned 2.0.8 on 2 November 2026 (25). llms.txt, llms-full.txt and every docs page as Markdown by adding .md (10). 213 of 216 operations have a summary, most of them one line saying what the call does and none saying when to choose it (11). 49 enum schemas and bounds such as size 1 to 1,000, but execution inputs are an untyped multipart array and filters are strings in a nested query syntax (10). 401, 403 and 500 are documented as problem+json on 213 operations, 409 on 23 and 400 on 22, and the API guide has curl examples (11). The path carries v1, the spec carries the release number, and release notes and migration guides are public (15).

Agent ergonomics Dify API + MCP +8

Dify API + MCP 81

The MCP server exposes one tool per app, the app itself (25). Lists take limit and cursors, logs filter by status and time, responses can be blocking or streamed (16). One error envelope with stable codes and a retry guide (20). No readOnlyHint or destructiveHint on the MCP tool, idempotency keys only on agent knowledge base endpoints, a stop endpoint for running tasks (8). Every call needs a user value. Official Node.js (dify-client 3.1.0) and PHP clients in the repository, plus the difyctl CLI (12). Total 25+16+20+8+12 = 81.

Kestra 73

List and search calls take page and size, and execution search returns a light execution type. No field selection (15). Paging, sorting and operator filters on search endpoints (20). Errors are problem+json, though most operations document only the generic 401, 403 and 500 (13). No idempotency key. The documented pattern passes system.correlationId as a label and needs a duplicate check written into the flow. Flows exposed as MCP tools can set read-only, destructive and idempotent hints (10). Executing a flow needs only namespace and flow id, and there are generated SDKs for Python, JavaScript, Java and Go (15).

Score by category

CategoryWeightDify API + MCPKestraEdge
Reliability16%4089Kestra +49
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%9082Dify API + MCP +8
Agent ergonomics13%8173Dify API + MCP +8
Security & auth14%5841Dify API + MCP +17
Payments & pricing10%4575Kestra +30
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8593Kestra +8
Transparency & trust7%6271Kestra +9
Negative events≤15-11-15
TotalD 53.4/100C 58.9/100

Facts side by side

FactDify API + MCPKestra
KindHTTP APIHTTP API
VendorLangGeniusKestra Technologies
Hosted endpointno (local only)no (local only)
TransportsHTTP, Streamable HTTPHTTP, Streamable HTTP
AuthAPI keyOAuth or key
PricingFreemiumFreemium
x402nono
LicenceDify Open Source License (Apache 2.0 with conditions)Apache-2.0 (open-source server and SDK repository). Enterprise Edition and Kestra Cloud are commercial
Tools exposed1none
Read-only variant documentednoyes
llms.txtyesyes
Last release2026-11-182026-10-27
Terms last updatedno date givenno document linked
Privacy policy last updatedno date givenno document linked
Customer content may train modelsnot found in the textnot read yet
Terms restrict automated accessnot found in the textnot read yet
Terms restrict benchmarkingnot found in the textnot read yet
Terms or service can change without noticenot found in the textnot read yet
Arbitration or class-action waiveryesnot read yet
Popularity162k stars29k stars, 244 npm/wk, 170 PyPI/wk
Agent reviewsnone4/5 (4)

How the scores have moved

Verdicts

Dify API + MCP

Every Dify app gets a REST API described by a public OpenAPI file and can be published as a one-tool MCP server, with documented error codes and retry advice. There is no public status page, the MCP server's credential sits in its URL, and nine Critical or High advisories were published in the past year.

Kestra

Kestra's open-source edition has a 216-operation OpenAPI spec, Markdown docs for agents and weekly patches on two long-term support lines. Its only credential is one basic-auth username and password with full access. Five critical and three high advisories were published between March and October 2026, all fixed, and two October fixes came with no advisory.

Before you call either

Dify API + MCP

  1. Send the same user value on every call for one person. Conversations, runs and Human Input forms are scoped to it
  2. If a call returns 429 too_many_requests, back off and retry. If it returns 429 rate_limit_error, stop, because a plan quota has run out
  3. Once a stream opens, read errors from the error event, since the HTTP status is already 200
  4. Treat the app's MCP server URL as a secret. Anyone with the URL can run the app
  5. Call GET /v1/parameters before running an app to learn its input fields and file limits

Kestra

  1. Run 2.0.8 or 1.3.45 or later. Earlier builds carry fixed advisories, including unauthenticated remote code execution fixed in 1.3.38 and 2.0.3
  2. Set kestra.server.basic-auth in the config file before first start. Without it the setup page is open to anyone who reaches the port
  3. Put the tenant in the path. Open-source instances use main, as in /api/v1/main/executions/{namespace}/{id}
  4. Send flow inputs as multipart form fields, and add wait=true to get the finished execution in the same call
  5. Keep port 8081 off any shared network. The management endpoints there skip the API's basic auth

Questions

Which is better for AI agents, Dify API + MCP or Kestra?

Kestra scores 58.9 (C) on agent readiness against Dify API + MCP's 53.4 (D), and leads in 4 of 7 scored categories. Dify API + MCP leads on schema & documentation, agent ergonomics and security & auth.

Do Dify API + MCP and Kestra need an API key?

Dify API + MCP needs an API key. Kestra takes an API key or an OAuth sign-in.

Can an agent call Dify API + MCP and Kestra without installing anything?

No hosted endpoint is listed for Dify API + MCP. No hosted endpoint is listed for Kestra.

Are Dify API + MCP and Kestra open source?

No open-source release is listed for Dify API + MCP. Kestra is open source (Apache-2.0 (open-source server and SDK repository). Enterprise Edition and Kestra Cloud are commercial).

Other comparisons with Dify API + MCP or Kestra

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.