Head to head · Workflow automation · October 2026 research run

Dify API + MCP vs Langflow API + MCP

Langflow API + MCP and Dify API + MCP score within a point of each other on agent readiness, 54.1 (C) and 53.4 (D). Dify API + MCP leads on schema & documentation, agent ergonomics and transparency & trust. 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 78
  • Agent ergonomics, 81 against 52
  • Transparency & trust, 62 against 56

Watch for

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

Langflow API + MCP C

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 40
  • 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

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.

Payments & pricing Langflow API + MCP +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.

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.

Reliability Langflow API + MCP +35

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.

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.

Agent ergonomics Dify API + MCP +29

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.

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.

Schema & documentation Dify API + MCP +12

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.

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.

Transparency & trust Dify API + MCP +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.

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.

Score by category

CategoryWeightDify API + MCPLangflow API + MCPEdge
Reliability16%4075Langflow API + MCP +35
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%9078Dify API + MCP +12
Agent ergonomics13%8152Dify API + MCP +29
Security & auth14%5855Dify API + MCP +3
Payments & pricing10%4590Langflow API + MCP +45
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8582Dify API + MCP +3
Transparency & trust7%6256Dify API + MCP +6
Negative events≤15-11-15
TotalD 53.4/100C 54.1/100

Facts side by side

FactDify API + MCPLangflow API + MCP
KindHTTP APIHTTP API
VendorLangGeniusDataStax (IBM)
Hosted endpointno (local only)no (local only)
TransportsHTTP, Streamable HTTPHTTP, Streamable HTTP, SSE (legacy)
AuthAPI keyAPI key
PricingFreemiumFree
x402nono
LicenceDify Open Source License (Apache 2.0 with conditions)MIT
Tools exposed1none
Read-only variant documentednono
llms.txtyesyes
Last release2026-11-182026-11-17
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 stars157k stars

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.

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.

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

Langflow API + MCP

  1. Check the instance version first. Anything before the 7 October 2026 fixes carries Critical advisories, two of them exploited
  2. Send the API key in the x-api-key header, never in the query string, where logs and proxies can keep it
  3. Before you call a flow's MCP tool, read its description. Unnamed flows appear under their UUID with a generic description
  4. 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
  5. Pass stream=false to /api/v1/run/<flow_id> for one JSON result, or stream for long flows

Questions

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

Langflow API + MCP and Dify API + MCP score within a point of each other on agent readiness, 54.1 (C) and 53.4 (D). Dify API + MCP leads on schema & documentation, agent ergonomics and transparency & trust.

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

Both need an API key.

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

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

Are Dify API + MCP and Langflow API + MCP open source?

No open-source release is listed for Dify API + MCP. Langflow API + MCP is open source (MIT).

Other comparisons with Dify API + MCP or Langflow API + MCP

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.