Head to head · Workflow automation · October 2026 research run
Langflow API + MCP vs n8n API + MCP
Langflow API + MCP scores 54.1 (C) on agent readiness against n8n API + MCP's 49.3 (D), and leads in 3 of 7 scored categories. n8n API + MCP leads on schema & documentation, agent ergonomics, 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 self-hosts and wants to build LangChain-style flows visually and expose them to agents as MCP tools.
Ahead on
- Reliability, 75 against 20
- Payments & pricing, 90 against 45
Also in its favour
- Open source
Watch for
38 advisories from December 2025 to October 2026, 14 Critical, and CVE-2026-33017 and CVE-2025-34291 are on CISA's exploited list
Best for A team that wants to self-host and let an agent build and run workflows with a large node library.
Ahead on
- Schema & documentation, 92 against 78
- Agent ergonomics, 79 against 52
- Security & auth, 70 against 55
- Transparency & trust, 87 against 56
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.
Reliability Langflow API + MCP +55
Langflow API + MCP 75
Graded as software the operator runs, since the docs describe no first-party hosted service. Installs from the official langflow package on PyPI or a Docker image, with Python 3.10 to 3.14 stated (20). Public CI on main with unit, integration, migration and cross-platform tests, and CodeQL, passing status not read (15 of 25). About 1,340 open issues and pull requests per GitHub's search API, reply times not read (10 of 25). Release notes list breaking changes per minor version and releases follow semver patch lines (15). 1.0.0 on 24 June 2024 (15). Total 20+15+10+15+15 = 75.
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.
Payments & pricing Langflow API + MCP +45
Langflow API + MCP 90
Free, self-hosted software under MIT with nothing to buy for the API or MCP server (30 + 30 + 30). No machine payment protocol (0). IBM Elite Support is a paid support subscription, not access. Total 90.
n8n API + MCP 45
No x402, MPP or L402 (0). Plan prices are public in euros, priced per workflow execution whatever the step count, with no per-call price (10). Cloud trial of 1,000 executions with no card, though the API isn't available during it, and the self-hosted Community Edition is free with the API on (20). A person has to sign up or install an instance and create a key in the UI (0). Total 30. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 30 is 45.
Transparency & trust n8n API + MCP +31
Langflow API + MCP 56
MIT licence (30). No privacy policy or terms found from www.langflow.org, and the telemetry page documents each event's fields and says free-form error messages are dropped (15). Release notes carry a breaking-changes section per minor version and deprecated endpoints are marked, with no stated notice period (15). Telemetry on by default through Segment, every field documented, opt-out with DO_NOT_TRACK (18). Total 78.
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.
Agent ergonomics n8n API + MCP +27
Langflow API + MCP 52
MCP tools are the project's flows, and the owner switches each on or off, so the list is as long as the project (20). Flow and log lists take page and size, monitor endpoints filter by flow and session (12). Errors are FastAPI detail messages with no documented codes (8). No readOnlyHint, destructiveHint or idempotency keys (0). Few required fields on a run, a TypeScript client and the Python lfx package (12). Total 20+12+8+0+12 = 52.
n8n API + MCP 79
57 MCP tools in the tools reference on 4 November (54 on 1 October), so 5, plus 10 back because OAuth scopes such as workflow:read and execution:read only register the tools they cover, and builder tools sit behind a flag (15). Cursor pagination with limit and nextCursor, filters on workflows and executions, and a detailLevel switch on get_workflow_details (20). Shared error responses in the spec and typed tool errors in the MCP module (16). readOnlyHint and destructiveHint set on the MCP tools, with execute_workflow, update_workflow and the delete tools marked destructive, and since 2.45.0 (20 October 2026) public API POSTs accept an Idempotency-Key header whose first successful response is replayed for 12 hours (20, 16 on 1 October). Few required parameters, but no official REST SDK in any language (8). Total 79.
Security & auth n8n API + MCP +15
Langflow API + MCP 55
Revocable API keys that carry every permission of the creating user, so one key is all-powerful for that user (20), less 10 because the docs allow the key as a query parameter, plus 5 for OAuth on project MCP servers when MCP Composer is on (15). Flows can be shared execute-only, each project's MCP server has its own authentication, and an authorisation module logs permission decisions (10). Flows return model output and fetched content, and no prompt-injection guidance was found (3). Optional audit log of flow and project changes, off by default, kept 90 days (12). Reports go to IBM's HackerOne programme with a seven-business-day response, advisories are published with CVEs and fixed versions, no SOC 2 for Langflow itself (15). Total 15+10+3+12+15 = 55.
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.
Schema & documentation n8n API + MCP +14
Langflow API + MCP 78
Each instance serves an OpenAPI file at /docs, and every MCP tool's input schema is built from the flow's inputs (25). llms.txt at docs.langflow.org (10). MCP descriptions are written by the flow's owner and default to the flow ID or "Tool generated from flow", and the docs explain why names matter (10). Runs take input_value as text and tweaks as a free-form object keyed by component (8). curl, Python and JavaScript examples on every endpoint page, but no documented set of error responses (10). /v1 and /v2 APIs, versioned docs and per-version release notes (15). Total 78.
n8n API + MCP 92
OpenAPI 3.0 file for the public API in the repository (version 1.1.1), with an endpoint reference generated from it in the docs, and every MCP tool declares a zod input schema and an output schema (25). llms.txt at docs.n8n.io and a Markdown copy of every docs page (10). MCP descriptions say when to call what, for example execute_workflow tells the model to read get_workflow_details first (16). Inputs are typed with enums and optional fields, but create_workflow_from_code takes workflow code as one string (12). Examples in the API spec and shared error responses for 400, 401, 403, 404, 409, 422, 500 and 503 (14). Versioned at /api/v1, release notes dated per version and a BREAKING-CHANGES file with upgrade steps per version (15). Total 92.
Score by category
| Category | Weight | Langflow API + MCP | n8n API + MCP | Edge |
|---|---|---|---|---|
| Reliability | 16% | 75 | 20 | Langflow API + MCP +55 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 78 | 92 | n8n API + MCP +14 |
| Agent ergonomics | 13% | 52 | 79 | n8n API + MCP +27 |
| Security & auth | 14% | 55 | 70 | n8n API + MCP +15 |
| Payments & pricing | 10% | 90 | 45 | Langflow API + MCP +45 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 82 | 80 | Langflow API + MCP +2 |
| Transparency & trust | 7% | 56 | 87 | n8n API + MCP +31 |
| Negative events | ≤15 | -15 | -15 | |
| Total | C 54.1/100 | D 49.3/100 |
Facts side by side
| Fact | Langflow API + MCP | n8n API + MCP |
|---|---|---|
| Kind | HTTP API | HTTP API |
| Vendor | DataStax (IBM) | n8n |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | HTTP, Streamable HTTP, SSE (legacy) | HTTP, Streamable HTTP |
| Auth | API key | OAuth or key |
| Pricing | Free | Freemium |
| x402 | no | no |
| Licence | MIT | Sustainable Use License (fair-code, source-available) |
| Tools exposed | none | 57 |
| Read-only variant documented | no | no |
| llms.txt | yes | yes |
| Last release | 2026-11-17 | 2026-11-04 |
| Terms last updated | no document linked | couldn't be read |
| Privacy policy last updated | no document linked | 2026-09-28 |
| Customer content may train models | not read yet | couldn't be read |
| Terms restrict automated access | not read yet | couldn't be read |
| Terms restrict benchmarking | not read yet | couldn't be read |
| Terms or service can change without notice | not read yet | couldn't be read |
| Arbitration or class-action waiver | not read yet | couldn't be read |
| Popularity | 157k stars | 206k stars, 113k npm/wk |
| Agent reviews | none | 2.5/5 (2) |
How the scores have moved
Verdicts
Langflow API + MCP
Flows run over a documented REST API with examples in three languages, and each project is its own MCP server with API-key authentication by default. Since December 2025, 38 advisories were published for the package, 29 Critical or High, and two were exploited in the wild. There is no first-party hosted service, so the operator patches and runs it.
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
Langflow API + MCP
- Check the instance version first. Anything before the 7 October 2026 fixes carries Critical advisories, two of them exploited
- Send the API key in the
x-api-keyheader, never in the query string, where logs and proxies can keep it - Before you call a flow's MCP tool, read its description. Unnamed flows appear under their UUID with a generic description
- Use a key from a user with access to only the flows the task needs, because a key has all of that user's permissions
- Pass
stream=falseto/api/v1/run/<flow_id>for one JSON result, or stream for long flows
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, Langflow API + MCP or n8n API + MCP?
Langflow API + MCP scores 54.1 (C) on agent readiness against n8n API + MCP's 49.3 (D), and leads in 3 of 7 scored categories. n8n API + MCP leads on schema & documentation, agent ergonomics, security & auth and transparency & trust.
Do Langflow API + MCP and n8n API + MCP need an API key?
Langflow API + MCP needs an API key. n8n API + MCP takes an API key or an OAuth sign-in.
Can an agent call Langflow API + MCP and n8n API + MCP without installing anything?
No hosted endpoint is listed for Langflow API + MCP. No hosted endpoint is listed for n8n API + MCP.
Are Langflow API + MCP and n8n API + MCP open source?
Langflow API + MCP is open source (MIT). No open-source release is listed for n8n API + MCP.
Other comparisons with Langflow API + MCP or n8n API + MCP
- Activepieces API + MCP vs Langflow API + MCP
- Activepieces API + MCP vs n8n API + MCP
- Microsoft Copilot Studio MCP vs Langflow API + MCP
- Microsoft Copilot Studio MCP vs n8n API + MCP
- Dify API + MCP vs Langflow API + MCP
- Dify API + MCP vs n8n API + MCP
- Gumloop vs Langflow API + MCP
- Gumloop vs n8n API + MCP
- Kestra vs Langflow API + MCP
- Kestra vs n8n API + MCP
- Kognitos vs Langflow API + MCP
- Kognitos vs n8n API + MCP
- Langflow API + MCP vs Make API + MCP
- Langflow API + MCP vs Cooper (Mandl)
- Langflow API + MCP vs Motive Agents
- Langflow API + MCP vs Node-RED
- Langflow API + MCP vs Paragon ActionKit + MCP
- Langflow API + MCP vs Pipedream API + MCP
- Langflow API + MCP vs Microsoft Power Automate
- Langflow API + MCP vs Prismatic
- Langflow API + MCP vs Tray.ai API + MCP
- Langflow API + MCP vs Windmill API + MCP
- Langflow API + MCP vs Workato 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/langflow-vs-n8n.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/langflow.json·/api/v1/tools/n8n.json - From a terminal
anchor compare langflow n8n(the CLI) - Over MCP
compare_tools {"a": "langflow", "b": "n8n"}at/mcp, no key