# Dify MCP Server  [English](README.md) | [中文](README_zh.md) A TypeScript-based MCP (Model Context Protocol)
Dify MCP Server !Dify Logo English | 中文 A TypeScript-based MCP (Model Context Protocol) server that
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.
Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.
{
"mcpServers": {
"dify-mcp-server": {
"command": "node",
"args": [
"/path/to/dify-mcp-server/build/index.js"
],
"env": {
"AGENT_API_KEYS": "YOUR_AGENT_API_KEYS",
"BASE_URL": "https://api.dify.ai",
"TIMEOUT": "60000"
}
}
}
}From the project documentation. Replace placeholders and example paths before connecting.
| Variable | Description | Required |
|---|---|---|
| AGENT_API_KEYS | Declared in the maintainer’s client configuration. | Check documentation |
| BASE_URL | Declared in the maintainer’s client configuration. | Check documentation |
| TIMEOUT | Declared in the maintainer’s client configuration. | Check documentation |
Read, search and edit files inside allowed directories with the Model Context Protocol reference Filesystem server.
Retrieve version-aware library documentation and code examples with Context7 MCP, using resolve-library-id and query-docs.
MCP server for Google Apps Script: CommonJS module system, ad-hoc code execution, Unix-inspired commands (cat, grep, ls), and AI-assisted development
Provides a basic implementation of a Model Context Protocol server using the official MCP SDK.
MCP server for querying Knife4j / Swagger multi-module API docs
A middleware server that enables multiple isolated instances of the same MCP servers to coexist independently with unique namespaces and