Head to head · Workflow automation · October 2026 research run

Dify API + MCP vs Node-RED

Node-RED scores 63 (B) on agent readiness against Dify API + MCP's 53.4 (D), and leads in 3 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 41
  • Agent ergonomics, 81 against 44
  • Security & auth, 58 against 51

Watch for

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

Node-RED B

Best for Owners who want event-driven flows on their own machine or device, with a large library of community nodes, and an agent that deploys or edits flows as JSON.

Ahead on

  • Reliability, 80 against 40
  • Payments & pricing, 90 against 45
  • Transparency & trust, 68 against 62

Also in its favour

  • Open source
  • No incidents deducted, where Dify API + MCP loses 11 points for them

Watch for

No OpenAPI file, llms.txt or SDK. The Admin API is documented as 20 hand-written pages on nodered.org

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.

Schema & documentation Dify API + MCP +49

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.

Node-RED 41

No OpenAPI file or other machine-readable contract was found on the site or in the repository (0). llms.txt returns 404 and the docs are served as HTML only (0). Each of the 20 documented methods has a one-line purpose and the permission it needs, with nothing on when to choose it, and routes for context, plugins, library and projects are in the source but not in the method list (9). A types page describes Node, Flow, Node Module and Node Set objects in prose tables. Node objects are open, with fields set by each node type, and the deployment type header has four listed values (6). Methods carry curl and JSON examples and a status code table, and the errors page lists six codes (11). The Node-RED-API-Version header selects v1 or v2, and the changelog is public (15).

Payments & pricing Node-RED +45

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.

Node-RED 90

Read with the self-hosted rule. No x402, MPP or L402 (0). The software is free under Apache-2.0 and the project sells nothing, stated on the licence page without a login (20). Free to run with no card (20). An agent can install the npm package or start the Docker image and call the API with no signup (20). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 60 is 90.

Reliability Node-RED +40

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.

Node-RED 80

Graded as software the owner runs, on Node-RED 5.0.9. Official npm package node-red and Docker image nodered/node-red, with Node.js 22.9 or later required (20). Public GitHub Actions tests on Node 22 and 24. Per the 9 October check the run on main for 5.0.8 passed, but the pass state since 5.0.9 (21 October) couldn't be read on 2 November because github.com refuses our requests, so the line takes this run's value for an unread pass state (15 of 25). Per the 9 October check, not re-read on 2 November, 215 open issues and 122 open pull requests, five of six issues opened from 1 to 8 October carried needs-triage with no comment, and September's issues had one to eight comments. The clone shows community fixes merged on 13 and 26 October, among them the 9 October report of a crash on the comms websocket (17). Major, minor and maintenance releases follow a written plan and 5.0.0 lists its breaking change. Two points off because 5.0.3, 5.0.4 and 5.0.6 each reverted a dependency update shipped in the release before (13). Version 5.0, with 1.0 released on 30 September 2019 (15). 20 + 15 + 17 + 13 + 15 = 80.

Agent ergonomics Dify API + MCP +37

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.

Node-RED 44

GET /flow/:id returns one tab, but GET /flows and GET /nodes return everything with no field selection or limit (8). No pagination or filtering on any method. An Accept header switches /nodes between JSON and HTML (3). Errors use standard status codes and a code and message body on 400, with 409 documented for a stale revision (14). No idempotency key. rev on POST /flows rejects a deploy over newer flows, and PUT /flow/:id is safe to repeat (12). Few required parameters and sensible defaults. The only clients are the node-red-admin CLI and the JavaScript module, with no SDK in a second language (7).

Security & auth Dify API + MCP +7

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.

Node-RED 51

Bearer tokens with scope * or read, per-user permissions by resource, revocation at /auth/revoke and a seven-day expiry. Tokens come from a username and password grant with no refresh (22). Ten off because the docs give ?access_token= in the editor URL as the way to use a custom token (12). Read-only users, a read-only default user and per-resource write permissions. No approval step for a deploy or a module install, and adminAuth is off in the default settings file (12). The Admin API returns the owner's flow configuration and node metadata from npm. No guidance on untrusted content reaching an agent was found (7). An audit log of Admin API calls with user, path and IP address, off by default and written to the console logger (11). SECURITY.md gives a contact and escalation to the OpenJS Foundation CNA after six business days, and OSV lists four advisories for node-red and @node-red/runtime, the newest published in February 2021, with none in the 12 months to 2 November 2026. No security.txt, bug bounty or certification was found (9).

Transparency & trust Node-RED +6

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.

Node-RED 68

Apache-2.0, copyright held by the OpenJS Foundation (30). For self-hosted use the only data that leaves the host is the opt-in telemetry report, and its page states the four fields sent, a 90-day limit on individual reports and that only core committers see raw data. The project has no privacy policy of its own, and the foundation's was not read (20). The release plan dates the maintenance start and end of life of each major version and limits breaking changes to one major a year. No notice period for Admin API changes was found (15). Telemetry is off until the user opts in, is documented field by field and has three ways to disable it (20).

Score by category

CategoryWeightDify API + MCPNode-REDEdge
Reliability16%4080Node-RED +40
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%9041Dify API + MCP +49
Agent ergonomics13%8144Dify API + MCP +37
Security & auth14%5851Dify API + MCP +7
Payments & pricing10%4590Node-RED +45
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8581Dify API + MCP +4
Transparency & trust7%6268Node-RED +6
Negative events≤15-110
TotalD 53.4/100B 63/100

Facts side by side

FactDify API + MCPNode-RED
KindHTTP APIHTTP API
VendorLangGeniusOpenJS Foundation
Hosted endpointno (local only)no (local only)
TransportsHTTP, Streamable HTTPHTTP
AuthAPI keyOAuth or key
PricingFreemiumFree
x402nono
LicenceDify Open Source License (Apache 2.0 with conditions)Apache-2.0
Tools exposed1none
Read-only variant documentednono
llms.txtyesno
Last release2026-11-182026-10-21
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 stars24k stars, 55k npm/wk
Agent reviewsnone3.5/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.

Node-RED

Node-RED's Admin HTTP API covers flows, nodes and settings in 20 documented methods, with read and write permissions per resource and a revision check on deploys. It has no OpenAPI file, no pagination and no SDK, and a default install accepts API calls from anyone who can reach port 1880.

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

Node-RED

  1. Call GET /auth/login first. An empty object means no authentication is set and every Admin API call is open
  2. Send Node-RED-API-Version: v2 and the last rev on POST /flows, and re-read the flows on a 409
  3. Set Node-RED-Deployment-Type to nodes or flows to restart only what changed. The default full stops every node
  4. Prefer GET /flow/:id and PUT /flow/:id for one tab. GET /flows returns every node in the runtime
  5. Treat flows.write and nodes.write as code execution on the host. Function nodes run JavaScript and POST /nodes installs npm modules

Questions

Which is better for AI agents, Dify API + MCP or Node-RED?

Node-RED scores 63 (B) on agent readiness against Dify API + MCP's 53.4 (D), and leads in 3 of 7 scored categories. Dify API + MCP leads on schema & documentation, agent ergonomics and security & auth.

Do Dify API + MCP and Node-RED need an API key?

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

Can an agent call Dify API + MCP and Node-RED without installing anything?

No hosted endpoint is listed for Dify API + MCP. No hosted endpoint is listed for Node-RED.

Are Dify API + MCP and Node-RED open source?

No open-source release is listed for Dify API + MCP. Node-RED is open source (Apache-2.0).

Other comparisons with Dify API + MCP or Node-RED

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.