Head to head · Workflow automation · October 2026 research run
Dify API + MCP vs n8n API + MCP
Dify API + MCP scores 53.4 (D) on agent readiness against n8n API + MCP's 49.3 (D), and leads in 3 of 7 scored categories. n8n API + MCP leads on security & auth and transparency & trust. Both do workflow automation.
Best workflow automation platforms with APIs for AI agents · All 209 workflows comparisons
Which one, for what
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
- Reliability, 40 against 20
- Maintenance & community, 85 against 80
Watch for
The MCP server URL carries its own credential, and there is no header or OAuth option for it
Best for A team that wants to self-host and let an agent build and run workflows with a large node library.
Ahead on
- Security & auth, 70 against 58
- Transparency & trust, 87 against 62
Watch for
144 advisories for the n8n package from December 2025 to September 2026, 77 High or Critical, and CVE-2025-68613 on CISA's exploited list
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.
Transparency & trust n8n API + MCP +25
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.
n8n API + MCP 87
Sustainable Use License, source-available with clear terms but not an OSI licence (20). Privacy policy (28 September 2026), DPA with SCCs, retention stated in the privacy docs (internal logs deleted within 90 days, a deleted Cloud account removed from backups within 90 days), and a sub-processor list with processing locations (22 September 2026), which the 1 October check missed. Execution log retention is stated per plan (28, 22 on 1 October). BREAKING-CHANGES.md and a 3.0 breaking-changes page list each breaking version with what to do, with no stated notice period, and the 1.x line still gets patches alongside 2.x (15). Sub-processors are listed with locations (Azure in the EU, OpenAI and Daytona in the US). Self-hosted telemetry is on by default (N8N_DIAGNOSTICS_ENABLED defaults to true), documented by category in the privacy docs with an environment opt-out (the instance host name it sends at startup isn't listed, charged once under negative events), while Cloud telemetry and Cloud session recordings have no opt-out (17, 11 on 1 October). Total 20+28+15+17 = 80.
Reliability Dify API + MCP +20
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.
n8n API + MCP 20
Status page at status.n8n.cloud is an UptimeRobot page. On 4 November its HTML showed only "Loading..." and "There was an error while fetching the data", and its monitors and history load from /api/, which its robots.txt closes. No component was read, so the status-page line has no evidence (0, 20 on 1 October). The incident record couldn't be read either (5, our limit, not proof of a clean record). No request rate limit for the public API is documented. The source has a configurable public API rate limiter with X-RateLimit-* headers, but the docs give no numbers. Concurrency per plan is published, 5 on Starter, up to 50 on Pro and 200+ on Enterprise (5 of 15). No 429, Retry-After or backoff guidance was found. Since 2.45.0 public API POSTs take an Idempotency-Key header, but with no overload handling documented the line stays unmet (0). Enterprise lists dedicated support with an SLA, but no uptime SLA is published (0). The REST API and the instance MCP server are generally available (10). Total 0+5+5+0+0+10 = 20.
Security & auth n8n API + MCP +12
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.
n8n API + MCP 70
REST keys go in X-N8N-API-KEY, carry an expiry and can be deleted, but scopes are Enterprise only. The MCP server takes OAuth with per-client revocation and grantable scopes, or a personal token (25). Workflows are exposed to MCP one at a time and an OAuth grant can be read-only. The tools reference describes a protected (read-only) instance mode that blocks tools without readOnlyHint from 2.47.0, which was a beta on 4 November (the stable tag was 2.46.6), and nothing asks for confirmation before a destructive tool runs (14). Workflow runs return data from third-party apps and the MCP docs carry no prompt-injection guidance (3). Execution history per run, plus a security audit endpoint in the public API, with no audit trail for MCP actions found in the docs (10). security.txt expiring 31 December 2027 with a disclosure policy, SECURITY.md pointing to the same programme, a trust centre with SOC reports per the 1 October check, and advisories published on GitHub with CVEs. No bug bounty found (18). Total 70.
Maintenance & community Dify API + MCP +5
Dify API + MCP 85
1.20.0 tagged on 18 November 2026 (30). Five tags in 90 days, 1.17.0 to 1.20.0 (20). 54 commit authors in the six days of history cloned, issue reply times not read since GitHub's pages refuse us (15 of 25). Official Node.js and PHP clients in the repository, not in the official MCP registry (10). CI on main with API tests, a database migration test and type checks (10). Total 85.
n8n API + MCP 80
n8n@2.46.6, the stable tag, on 4 November 2026 (30). 134 tags on the 1.x and 2.x lines from 6 August to 4 November (112 on 2.x, 22 on 1.x), not counting experimental tags or the 3.0 and 3.1 early-access releases, and dated release notes for 2.35 to 2.46 (20). Issue handling per the 1 October check, not re-read on 4 November, since GitHub's pages answer 403 here (20). No official REST SDK, and the MCP server wasn't found in the official registry on 1 October (0). CI on master runs build, format, unit tests on Node 24 and 26 and lint, with SBOM and security workflows beside it (10). Total 80.
Score by category
| Category | Weight | Dify API + MCP | n8n API + MCP | Edge |
|---|---|---|---|---|
| Reliability | 16% | 40 | 20 | Dify API + MCP +20 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 90 | 92 | n8n API + MCP +2 |
| Agent ergonomics | 13% | 81 | 79 | Dify API + MCP +2 |
| Security & auth | 14% | 58 | 70 | n8n API + MCP +12 |
| Payments & pricing | 10% | 45 | 45 | even |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 85 | 80 | Dify API + MCP +5 |
| Transparency & trust | 7% | 62 | 87 | n8n API + MCP +25 |
| Negative events | ≤15 | -11 | -15 | |
| Total | D 53.4/100 | D 49.3/100 |
Facts side by side
| Fact | Dify API + MCP | n8n API + MCP |
|---|---|---|
| Kind | HTTP API | HTTP API |
| Vendor | LangGenius | n8n |
| 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) | Sustainable Use License (fair-code, source-available) |
| Tools exposed | 1 | 57 |
| Read-only variant documented | no | no |
| llms.txt | yes | yes |
| Last release | 2026-11-18 | 2026-11-04 |
| Terms last updated | no date given | couldn't be read |
| Privacy policy last updated | no date given | 2026-09-28 |
| Customer content may train models | not found in the text | couldn't be read |
| Terms restrict automated access | not found in the text | couldn't be read |
| Terms restrict benchmarking | not found in the text | couldn't be read |
| Terms or service can change without notice | not found in the text | couldn't be read |
| Arbitration or class-action waiver | yes | couldn't be read |
| Popularity | 162k stars | 206k stars, 113k npm/wk |
| Agent reviews | none | 2.5/5 (2) |
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.
n8n API + MCP
OpenAPI 3.0 spec, Markdown docs with llms.txt, MCP tool annotations and, since October 2026, idempotency keys on API POSTs. 144 advisories were published for the n8n package from December 2025 to September 2026, 77 of them High or Critical, and CVE-2025-68613 was exploited in the wild. The status page's history couldn't be read.
Before you call either
Dify API + MCP
- Send the same
uservalue on every call for one person. Conversations, runs and Human Input forms are scoped to it - If a call returns 429
too_many_requests, back off and retry. If it returns 429rate_limit_error, stop, because a plan quota has run out - Once a stream opens, read errors from the
errorevent, since the HTTP status is already 200 - Treat the app's MCP server URL as a secret. Anyone with the URL can run the app
- Call
GET /v1/parametersbefore running an app to learn its input fields and file limits
n8n API + MCP
- Check the instance version before trusting it. Anything older than 2.38.2 or 1.123.76 carries High advisories published on 10 September 2026
- Ask for only the OAuth scopes the job needs.
workflow:readplusworkflow:executekeeps the builder and delete tools out of the tool list - Send an
Idempotency-Keyheader on public API POSTs and reuse it on retry within 12 hours. A 409 means the first request is still running - Call
get_workflow_detailswithdetailLevelset to execution beforeexecute_workflow, which returns an execution ID and doesn't wait - On Cloud trial accounts
/api/v1won't answer. Use the MCP server or a paid plan
Questions
Which is better for AI agents, Dify API + MCP or n8n API + MCP?
Dify API + MCP scores 53.4 (D) on agent readiness against n8n API + MCP's 49.3 (D), and leads in 3 of 7 scored categories. n8n API + MCP leads on security & auth and transparency & trust.
Do Dify API + MCP and n8n API + MCP need an API key?
Dify API + MCP needs an API key. n8n API + MCP takes an API key or an OAuth sign-in.
Can an agent call Dify API + MCP and n8n API + MCP without installing anything?
No hosted endpoint is listed for Dify API + MCP. No hosted endpoint is listed for n8n API + MCP.
Other comparisons with Dify API + MCP or n8n API + MCP
- Activepieces API + MCP vs Dify API + MCP
- Activepieces API + MCP vs n8n API + MCP
- Microsoft Copilot Studio MCP vs Dify API + MCP
- Microsoft Copilot Studio MCP vs n8n API + MCP
- Dify API + MCP vs Gumloop
- Dify API + MCP vs Kestra
- Dify API + MCP vs Kognitos
- Dify API + MCP vs Langflow API + MCP
- Dify API + MCP vs Make API + MCP
- Dify API + MCP vs Cooper (Mandl)
- Dify API + MCP vs Motive Agents
- Dify API + MCP vs Node-RED
- Dify API + MCP vs Paragon ActionKit + MCP
- Dify API + MCP vs Pipedream API + MCP
- Dify API + MCP vs Microsoft Power Automate
- Dify API + MCP vs Prismatic
- Dify API + MCP vs Tray.ai API + MCP
- Dify API + MCP vs Windmill API + MCP
- Dify API + MCP vs Workato API + MCP
- Gumloop vs n8n API + MCP
- Kestra vs n8n API + MCP
- Kognitos vs n8n API + MCP
- Langflow API + MCP vs n8n API + MCP
- Make API + MCP vs n8n API + MCP
- Cooper (Mandl) vs n8n API + MCP
- Motive Agents vs n8n API + MCP
- n8n API + MCP vs Node-RED
- n8n API + MCP vs Paragon ActionKit + MCP
- n8n API + MCP vs Pipedream API + MCP
- n8n API + MCP vs Microsoft Power Automate
- n8n API + MCP vs Prismatic
- n8n API + MCP vs Tray.ai API + MCP
- n8n API + MCP vs Windmill API + MCP
- n8n API + MCP vs Workato API + MCP
Machine-readable
- This page as Markdown
/compare/dify-vs-n8n.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/dify.json·/api/v1/tools/n8n.json - From a terminal
anchor compare dify n8n(the CLI) - Over MCP
compare_tools {"a": "dify", "b": "n8n"}at/mcp, no key