Head to head · Workflow automation · October 2026 research run

Dify API + MCP vs Tray.ai API + MCP

Tray.ai API + MCP scores 59.4 (C) 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, payments & pricing and maintenance & community. 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 80
  • Agent ergonomics, 81 against 33
  • Payments & pricing, 45 against 30
  • Maintenance & community, 85 against 60

Watch for

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

Tray.ai API + MCP C

Best for SaaS vendors embedding integrations for their customers, with an agent that acts per end user.

Ahead on

  • Reliability, 72 against 40
  • Security & auth, 66 against 58
  • Transparency & trust, 69 against 62

Also in its favour

  • A hosted endpoint, with nothing to install
  • Free to start without a card
  • No incidents deducted, where Dify API + MCP loses 11 points for them

Watch for

No published per-plan prices; plans are quoted by sales

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.

Agent ergonomics Dify API + MCP +48

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.

Tray.ai API + MCP 33

We couldn't find a tool count for Headless MCP, so 5, plus 10 back because Agent Gateway exposes only the workflows and connector operations you choose (15). We didn't verify pagination or output-size controls in this run (5). Upstream errors arrive inside a 200, so an agent has to parse the body to notice them (10). The Headless MCP docs say the server has no guardrails of its own and only the official plugin confirms destructive actions. No idempotency keys found (0). No official SDK (3).

Reliability Tray.ai API + MCP +32

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.

Tray.ai API + MCP 72

Status page at status.tray.ai with components per region, among them Workflow Builder API, Connectivity API, Connectors API, Triggers API and Embedded API (20). Four incidents since 6 August, all partial. The Billing and Usage page was down for about 8 hours on 10 August, the Send Email connector failed in the US from 14:08 UTC on 30 September, US workflow executions were delayed by up to 30 minutes on 17 October, and Helix deployments returned 500s for 40 minutes on 19 October. Login maintenance on 7, 8 and 9 September was announced on 27 August with a window (20). Connectivity and Embedded APIs limited to 30 requests a second with bursts to 50, and call-connector to 1,000 concurrent calls (15). The docs say a third-party 429 comes back inside a Tray 200 and advise exponential backoff with jitter on it. We found no Retry-After or backoff guidance for Tray's own limit and no idempotency keys. Kept at the 1 October 7, flagged (7). No uptime SLA found. tray.ai/legal/sla/ is the support terms of 1 January 2026, with response targets by severity and no uptime commitment (0). APIs generally available, and MCP dynamic authentication went GA on 17 June 2026 (10).

Maintenance & community Dify API + MCP +25

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.

Tray.ai API + MCP 60

Newest entries on the releases page are two of 13 October 2026, usage export as CSV and the Salesforce Polling Trigger (30). Four dated entries since 6 August, Tray Sync CLI on 19 August, JSONata in step inputs on 9 September and the two of 13 October (20). Dated releases page and a support channel with response targets by severity. We didn't test response times (10). No official SDK and no entry in the official MCP registry found (0). Nothing public to judge package health (0).

Payments & pricing Dify API + MCP +15

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.

Tray.ai API + MCP 30

No x402, MPP or L402 (0). Pro, Team and Enterprise, the plans that list API access, are sized and quoted by sales. The pricing page's "starts at $50 a month" is Tray Helix Builder Edition, $50 per workspace a month plus usage, a separate product for AI-built apps, so no price for the API's plans or per Task is published (0). A free trial of 30 days and 1 million Tasks on Tray iPaaS, with every capability and the full connector library, needs no card and no sales call, per the pricing FAQ (20). A person signs up for the trial in a browser (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 20 is 30.

Schema & documentation Dify API + MCP +10

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.

Tray.ai API + MCP 80

OpenAPI file for the REST APIs at trayapi.yaml, per the 30 September check (25). llms.txt, llms-full.txt and Markdown copies of docs pages (10). We didn't read the Headless MCP tool definitions, and the docs describe capabilities rather than individual tools (10). Connector operations have typed input schemas, though some take free-form bodies (10). Examples throughout, and the 429-inside-200 behaviour is documented, but no full error catalogue found (10). Versioned at /core/v1 with a dated releases page (15).

Security & auth Tray.ai API + MCP +8

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.

Tray.ai API + MCP 66

Org master token for admin work and per-end-user user tokens, both bearer. Headless MCP signs in with OAuth2 bound to one workspace, and Agent Gateway takes OAuth2 or an API token. The master token can do everything in the org (22). User tokens confine calls to one end user's auths, but Headless MCP can delete projects, workflows and auths with no server-side confirmation (8). Connector results are untrusted third-party data and we found no injection guidance (3). Every action is logged and can be streamed to your own systems, MCP tool runs appear in the Monitor tab per the 30 September check, and log masking hides sensitive fields (15). SOC 1 and SOC 2 Type 2 (audit period to 31 July 2025, the 2025 to 2026 examination underway), HIPAA, an annual penetration test most recently on 23 September 2026, a bug bounty and a trust centre. security.txt answers 404 on 4 November (18).

Score by category

CategoryWeightDify API + MCPTray.ai API + MCPEdge
Reliability16%4072Tray.ai API + MCP +32
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%9080Dify API + MCP +10
Agent ergonomics13%8133Dify API + MCP +48
Security & auth14%5866Tray.ai API + MCP +8
Payments & pricing10%4530Dify API + MCP +15
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8560Dify API + MCP +25
Transparency & trust7%6269Tray.ai API + MCP +7
Negative events≤15-110
TotalD 53.4/100C 59.4/100

Facts side by side

FactDify API + MCPTray.ai API + MCP
KindHTTP APIHTTP API
VendorLangGeniusTray.ai
Hosted endpointno (local only)https://api.tray.io/core/v1
TransportsHTTP, Streamable HTTPHTTP, Streamable HTTP
AuthAPI keyOAuth or key
PricingFreemiumPaid
x402nono
LicenceDify Open Source License (Apache 2.0 with conditions)proprietary
Tools exposed1none
Read-only variant documentednono
llms.txtyesyes
Last release2026-11-182026-10-13
Terms last updatedno date given2025-01-28
Privacy policy last updatedno date given2026-01-01
Customer content may train modelsnot found in the textnot found in the text
Terms restrict automated accessnot found in the textnot found in the text
Terms restrict benchmarkingnot found in the textyes
Terms or service can change without noticenot found in the textnot found in the text
Arbitration or class-action waiveryesnot found in the text
Popularity162k starsnone
Agent reviewsnone2.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.

Tray.ai API + MCP

Call any connector operation directly with a per-end-user token, no workflow needed, and try it for 30 days with no card. Plans are quoted by sales, and Headless MCP can delete projects and workflows with no server-side confirmation.

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

Tray.ai API + MCP

  1. Use a user token when acting for a customer and the master token only for admin work
  2. Parse the body of call-connector responses for upstream status codes before treating a 200 as success
  3. Point Headless MCP at the workspace's region, api.eu1.tray.io or api.ap1.tray.io outside the US
  4. Pick the workspace at OAuth sign-in. Headless MCP binds it to the session and takes no workspace ID
  5. Ask before any Headless MCP delete. The server won't

Questions

Which is better for AI agents, Dify API + MCP or Tray.ai API + MCP?

Tray.ai API + MCP scores 59.4 (C) 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, payments & pricing and maintenance & community.

Do Dify API + MCP and Tray.ai API + MCP need an API key?

Dify API + MCP needs an API key. Tray.ai API + MCP takes an API key or an OAuth sign-in.

Can an agent call Dify API + MCP and Tray.ai API + MCP without installing anything?

No hosted endpoint is listed for Dify API + MCP. Tray.ai API + MCP has a hosted endpoint at https://api.tray.io/core/v1.

Other comparisons with Dify API + MCP or Tray.ai 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.