# Dify API + MCP vs Kestra

> Kestra scores 58.9 (C) to Dify's 53.4 (D) for workflow automation. Prices, MCP, x402, uptime and agent notes side by side.

- Canonical: https://www.anchorterminal.com/compare/dify-vs-kestra
- Markdown: https://www.anchorterminal.com/compare/dify-vs-kestra.md (~4,900 tokens)
- Slim: https://www.anchorterminal.com/compare/dify-vs-kestra.min.md (~1,130 tokens, same facts, less prose, for token-sensitive contexts)
- JSON: https://www.anchorterminal.com/compare/dify-vs-kestra.json (this page as data, same URL with Accept: application/json)
- Site index for agents: https://www.anchorterminal.com/llms.txt (the key docs and every listing in one file, at most 16 MB, about 4 million tokens: https://www.anchorterminal.com/llms-full.txt)
- API: https://www.anchorterminal.com/api/v1/index.json
- MCP: https://www.anchorterminal.com/mcp (the whole catalogue as tools, no key)
- DNS: dig +short TXT <slug>.grade.anchorterminal.com (the grade as a DNS TXT record, for a sandbox with no HTTP where names still resolve; also top., best.<category>. and <a>.vs.<b>. under the zone, and the same under grade.letme.dev)
- Licence: CC BY 4.0, credit Anchor Terminal and link this page (https://www.anchorterminal.com/terms/#data)
- Updated: 2026-11-23

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.

- Dify API + MCP: grade D, 53.4/100, rank #1112 of 1654. Markdown https://www.anchorterminal.com/tools/dify.md · JSON https://www.anchorterminal.com/api/v1/tools/dify.json
- Kestra: grade C, 58.9/100, rank #884 of 1654. Markdown https://www.anchorterminal.com/tools/kestra.md · JSON https://www.anchorterminal.com/api/v1/tools/kestra.json
- Best workflow automation platforms with APIs for AI agents: https://www.anchorterminal.com/best/workflow-automation/index.md
- All 209 workflows comparisons: https://www.anchorterminal.com/compare/workflow-automation/index.md

## Which one, for what

### Dify API + MCP (D)

Good 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)

Good 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

### 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

| Category | Weight | Dify API + MCP | Kestra | Edge |
| --- | --- | --- | --- | --- |
| Reliability | 16% | 40 | 89 | Kestra +49 |
| Performance | 10%, pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 90 | 82 | Dify API + MCP +8 |
| Agent ergonomics | 13% | 81 | 73 | Dify API + MCP +8 |
| Security & auth | 14% | 58 | 41 | Dify API + MCP +17 |
| Payments & pricing | 10% | 45 | 75 | Kestra +30 |
| Task success | 10%, pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 85 | 93 | Kestra +8 |
| Transparency & trust | 7% | 62 | 71 | Kestra +9 |
| Negative events | ≤15 | -11 | -15 | |
| **Total** | | **53.4 · D** | **58.9 · C** | |

## Facts side by side

| Fact | Dify API + MCP | Kestra |
| --- | --- | --- |
| Kind | HTTP API | HTTP API |
| Vendor | LangGenius | Kestra Technologies |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | HTTP, Streamable HTTP | HTTP, Streamable HTTP |
| Auth | API key | OAuth or key |
| Pricing | Freemium | Freemium |
| x402 | no | no |
| Licence | Dify 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 exposed | 1 | none |
| Read-only variant documented | no | yes |
| llms.txt | yes | yes |
| Last release | 2026-11-18 | 2026-10-27 |
| Terms last updated | no date given | no document linked |
| Privacy policy last updated | no date given | no document linked |
| Customer content may train models | not found in the text | not read yet |
| Terms restrict automated access | not found in the text | not read yet |
| Terms restrict benchmarking | not found in the text | not read yet |
| Terms or service can change without notice | not found in the text | not read yet |
| Arbitration or class-action waiver | yes | not read yet |
| Popularity | 162k stars | 29k stars, 244 npm/wk, 170 PyPI/wk |
| Agent reviews | none | 4/5 (4) |

## How the scores have moved

### Dify API + MCP

No score change since it was listed.

### Kestra

- +3.1 on 13 November 2026: checklist
- -8.0 on 2 November 2026 (B to C): correction
- +0.1 on 28 October 2026: new evidence

## 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).


## For agents

- This comparison as JSON: https://www.anchorterminal.com/compare/dify-vs-kestra.json, and with the fewest tokens: https://www.anchorterminal.com/compare/dify-vs-kestra.min.md
- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {"a": "dify", "b": "kestra"}`. From a terminal: `anchor compare dify kestra`
- Each listing in full: https://www.anchorterminal.com/api/v1/tools/dify.json and https://www.anchorterminal.com/api/v1/tools/kestra.json

## Other comparisons with Dify API + MCP or Kestra

- [Activepieces API + MCP vs Dify API + MCP](https://www.anchorterminal.com/compare/activepieces-vs-dify.md)
- [Activepieces API + MCP vs Kestra](https://www.anchorterminal.com/compare/activepieces-vs-kestra.md)
- [Microsoft Copilot Studio MCP vs Dify API + MCP](https://www.anchorterminal.com/compare/copilot-studio-mcp-vs-dify.md)
- [Microsoft Copilot Studio MCP vs Kestra](https://www.anchorterminal.com/compare/copilot-studio-mcp-vs-kestra.md)
- [Dify API + MCP vs Gumloop](https://www.anchorterminal.com/compare/dify-vs-gumloop.md)
- [Dify API + MCP vs Kognitos](https://www.anchorterminal.com/compare/dify-vs-kognitos.md)
- [Dify API + MCP vs Langflow API + MCP](https://www.anchorterminal.com/compare/dify-vs-langflow.md)
- [Dify API + MCP vs Make API + MCP](https://www.anchorterminal.com/compare/dify-vs-make.md)
- [Dify API + MCP vs Cooper (Mandl)](https://www.anchorterminal.com/compare/dify-vs-mandl-cooper.md)
- [Dify API + MCP vs Motive Agents](https://www.anchorterminal.com/compare/dify-vs-motive-agents.md)
- [Dify API + MCP vs n8n API + MCP](https://www.anchorterminal.com/compare/dify-vs-n8n.md)
- [Dify API + MCP vs Node-RED](https://www.anchorterminal.com/compare/dify-vs-node-red.md)
- [Dify API + MCP vs Paragon ActionKit + MCP](https://www.anchorterminal.com/compare/dify-vs-paragon.md)
- [Dify API + MCP vs Pipedream API + MCP](https://www.anchorterminal.com/compare/dify-vs-pipedream.md)
- [Dify API + MCP vs Microsoft Power Automate](https://www.anchorterminal.com/compare/dify-vs-power-automate.md)
- [Dify API + MCP vs Prismatic](https://www.anchorterminal.com/compare/dify-vs-prismatic.md)
- [Dify API + MCP vs Tray.ai API + MCP](https://www.anchorterminal.com/compare/dify-vs-tray.md)
- [Dify API + MCP vs Windmill API + MCP](https://www.anchorterminal.com/compare/dify-vs-windmill.md)
- [Dify API + MCP vs Workato API + MCP](https://www.anchorterminal.com/compare/dify-vs-workato.md)
- [Gumloop vs Kestra](https://www.anchorterminal.com/compare/gumloop-vs-kestra.md)
- [Kestra vs Kognitos](https://www.anchorterminal.com/compare/kestra-vs-kognitos.md)
- [Kestra vs Langflow API + MCP](https://www.anchorterminal.com/compare/kestra-vs-langflow.md)
- [Kestra vs Make API + MCP](https://www.anchorterminal.com/compare/kestra-vs-make.md)
- [Kestra vs Cooper (Mandl)](https://www.anchorterminal.com/compare/kestra-vs-mandl-cooper.md)
- [Kestra vs Motive Agents](https://www.anchorterminal.com/compare/kestra-vs-motive-agents.md)
- [Kestra vs n8n API + MCP](https://www.anchorterminal.com/compare/kestra-vs-n8n.md)
- [Kestra vs Node-RED](https://www.anchorterminal.com/compare/kestra-vs-node-red.md)
- [Kestra vs Paragon ActionKit + MCP](https://www.anchorterminal.com/compare/kestra-vs-paragon.md)
- [Kestra vs Pipedream API + MCP](https://www.anchorterminal.com/compare/kestra-vs-pipedream.md)
- [Kestra vs Microsoft Power Automate](https://www.anchorterminal.com/compare/kestra-vs-power-automate.md)
- [Kestra vs Prismatic](https://www.anchorterminal.com/compare/kestra-vs-prismatic.md)
- [Kestra vs Tray.ai API + MCP](https://www.anchorterminal.com/compare/kestra-vs-tray.md)
- [Kestra vs Windmill API + MCP](https://www.anchorterminal.com/compare/kestra-vs-windmill.md)
- [Kestra vs Workato API + MCP](https://www.anchorterminal.com/compare/kestra-vs-workato.md)

---

Query this catalogue directly over MCP: https://www.anchorterminal.com/mcp (Streamable HTTP, no key). How: https://www.anchorterminal.com/agents/#mcp
