# Dify API + MCP (slim)

> Dify is an open-source builder for AI workflows, chatflows, agents and knowledge bases from LangGenius. Each published app gets a REST API and can be served as an MCP server, on Dify Cloud or a self-hosted instance.

- Full: https://www.anchorterminal.com/tools/dify.md (~7,200 tokens) · this version ~1,630 tokens · JSON https://www.anchorterminal.com/tools/dify.json · canonical https://www.anchorterminal.com/tools/dify
- Index: https://www.anchorterminal.com/llms.txt · API: https://www.anchorterminal.com/api/v1/index.json · MCP: https://www.anchorterminal.com/mcp · Updated: 2026-11-23 · pricing https://www.anchorterminal.com/tools/dify#pricing · reviews https://www.anchorterminal.com/tools/dify#reviews
- Licence: CC BY 4.0, credit Anchor Terminal and link this page (https://www.anchorterminal.com/terms/#data)

**D · 53.4/100 · rank #1112 of 1654 · #17 in Workflow automation · not agent-ready · confidence medium**


Assessment: 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.

## Facts

- Kind: HTTP API · vendor: LangGenius · category: Workflow automation · legal entity: LangGenius, Inc. · provenance 64/100
- Local only (HTTP, Streamable HTTP): npm `dify-client`
- Auth: API key · pricing: Freemium · x402: no · licence: Dify Open Source License (Apache 2.0 with conditions)
- Benchmark probes: not run yet, so Performance is pending
- Surface listed: The app REST API at api.dify.ai/v1 and the per-app MCP server on Dify Cloud, read from docs.dify.ai, the OpenAPI file, dify.ai and the langgenius/dify repository on 23 November 2026. No account was made and no app was called
- Open-source core and Cloud: Dify Community Edition is the same code, self-hosted with Docker Compose under the Dify Open Source License, with the same API and MCP server at your own address. Dify Cloud is LangGenius's hosted service, and Enterprise adds multiple workspaces, SSO and a commercial licence
- App types: Workflow, Chatflow, Agent, Chatbot and Text Generator apps, each with its own endpoints, plus classic and agent knowledge base APIs
- MCP server: Off by default. Toggled on per app in the Access Point tab, Streamable HTTP, one tool named after the app, no OAuth
- Rate limits: Sandbox 5,000 API calls a month. Paid Cloud plans have no API rate limit per the pricing page. Knowledge requests 10, 100 or 1,000 a minute by plan. Self-hosted concurrency per app is configurable
- Errors: JSON envelope with `code`, `message` and `status`. 429 `too_many_requests` is retryable, 429 `rate_limit_error` is a plan quota
- Triggers: Schedule, webhook and plugin triggers start workflows. Sandbox includes 3,000 trigger events, Professional 20,000 a month
- Human approval: A Human Input node pauses a run and can be answered through the API or sent to Slack, Teams, DingTalk or WeCom
- Legal entity: LangGenius, Inc., a Delaware corporation, per the terms of service
- Prices: Professional plan $49.17 per month (plan); Team plan $132.50 per month (plan)

- Scores: Reliability 40, Performance not tested, Schema & documentation 90, Agent ergonomics 81, Security & auth 58, Payments & pricing 45, Task success not tested, Maintenance & community 85, Transparency & trust 62 · negative events -11
- Why: Reliability, Graded on Dify Cloud's API at api.dify.ai. · Schema & documentation, 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 f… · Agent ergonomics, The MCP server exposes one tool per app, the app itself (25). · Security & auth, 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… · Payments & pricing, No x402, MPP or L402 (0). · Maintenance & community, 1.20.0 tagged on 18 November 2026 (30). · Transparency & trust, Dify Open Source License, Apache 2.0 with conditions that forbid a multi-tenant service without written permission and removing the logo, cl…
- Sources: 13, open questions: 7, both in the full twin
- Capabilities: automation.workflows, automation.webhooks, automation.code, agent.tools, knowledge.search
- JSON: https://www.anchorterminal.com/api/v1/tools/dify.json · card, about 200 tokens, for choosing between listings: https://www.anchorterminal.com/tools/dify.card.md
- Its vendor verifies the listing with `verify_listing` or `POST https://www.anchorterminal.com/api/v1/verify` (the full twin says how); no effect on the grade.
- Support: Discord https://discord.gg/FngNHpbcY7; cloud@dify.ai; https://github.com/langgenius/dify/issues; more in the full twin

## Before you call it

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

## Connect

```bash
git clone https://github.com/langgenius/dify.git && cd dify/docker && docker compose up -d
```

```bash
curl https://api.dify.ai/v1/info -H "Authorization: Bearer $DIFY_API_KEY"
```

```bash
claude mcp add dify-app --transport http https://api.dify.ai/mcp/server/YOUR_SERVER_CODE/mcp
```
Full config and headless snippets are in the full page. Through letme (picks today, calling later): https://letme.dev/dify

## Similar tools

| Tool | Grade | Score | Shared capabilities | Slim |
| --- | --- | --- | --- | --- |
| Pipedream API + MCP | BB | 72.8 | automation.workflows, automation.code, automation.webhooks, agent.tools | https://www.anchorterminal.com/tools/pipedream.min.md |
| Tray.ai API + MCP | C | 59.4 | automation.workflows, automation.code, automation.webhooks, agent.tools | https://www.anchorterminal.com/tools/tray.min.md |
| Activepieces API + MCP | C | 59.3 | automation.workflows, automation.code, automation.webhooks, agent.tools | https://www.anchorterminal.com/tools/activepieces.min.md |
| Kestra | C | 58.9 | automation.workflows, automation.code, automation.webhooks, agent.tools | https://www.anchorterminal.com/tools/kestra.min.md |
| Prismatic | C | 58.2 | automation.workflows, automation.code, automation.webhooks, agent.tools | https://www.anchorterminal.com/tools/prismatic.min.md |


## Panel reviews (0, desk reviews from public material, no calls made)

