# Dify MCP Server  [English](README.md) | [中文](README_zh.md) A TypeScript-based MCP (Model Context Protocol)
If you already use Dify, the dify mcp server is the piece that lets your assistant work with it directly. # Dify MCP Server
English | 中文 A TypeScript-based MCP (Model Context Protocol) server that connects the MCP Client to Dify applications. This server dynamically exposes Dify.
This server implements the Model Context Protocol to bridge between MCP Client and Dify applications. It dynamically fetches application specifications from Dify APIs and exposes them as MCP tools. The server allows users to interact with multiple Dify applications through a unified interface within the MCP Client.
The toolset is worth reading before you wire it up, because it tells you what the integration is really for:
Configuration — The Configuration tool exposed by this serverPrerequisites — The Prerequisites tool exposed by this serverSetup — The Setup tool exposed by this serverConfiguration is passed through the environment: AGENT_API_KEYS, BASE_URL, TIMEOUT. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.
Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client.
Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Dify's toolset — Configuration, Prerequisites, Setup — is a fair guide to whether it matches your workflow. It is maintained by zhuzhoulin; worth a glance at recent repository activity before you build anything load-bearing on it.
SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.
| Tool | What it does |
|---|---|
| Configuration | The Configuration tool exposed by this server. |
| Prerequisites | The Prerequisites tool exposed by this server. |
| Setup | The Setup tool exposed by this server. |
| Variable | Description | Required |
|---|---|---|
| AGENT_API_KEYS | Credential the server authenticates with. | Yes |
| BASE_URL | Endpoint or connection string the server talks to. | Yes |
| TIMEOUT | Configuration value read at startup. | Optional |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.