MCP.so
登录

Dify MCP Server

@zhuzhoulin

基本信息

分类

其他

许可证

MIT

传输方式

stdio

作者

zhuzhoulin

提交者

zhoulin zhu

关于 Dify MCP Server

暂无概览

Dify MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "dify-mcp-server": {
      "command": "node",
      "args": [
        "/path/to/dify-mcp-server/build/index.js"
      ],
      "env": {
        "AGENT_API_KEYS": "key1,key2,key3",
        "BASE_URL": "https://api.dify.ai",
        "TIMEOUT": "60000"
      }
    }
  }
}

Dify MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Dify MCP Server?

A TypeScript-based MCP server that connects MCP clients to Dify applications, dynamically exposing Dify apps as tools. It is intended for developers using MCP-compatible clients like Windsurf IDE.

How to use Dify MCP Server?

Install dependencies with npm install, build with npm run build, then configure environment variables (AGENT_API_KEYS, BASE_URL, TIMEOUT) and add the server configuration to your MCP settings (e.g., Windsurf IDE). The server will automatically fetch Dify application metadata and expose each app as a tool named dify_app_info_{application_name}.

Key features of Dify MCP Server

  • Connects to multiple Dify applications via API keys
  • Automatically fetches application metadata and parameters
  • Dynamically generates tool interfaces from Dify specs
  • Supports text, paragraph, and select input types
  • Robust error handling with request retries
  • Configurable base URL, timeout, and response mode

Use cases of Dify MCP Server

  • Interact with multiple Dify applications from a single MCP client
  • Use Dify workflows as tools within Windsurf IDE
  • Automate tasks by calling Dify apps programmatically via MCP
  • Test and debug Dify applications through an MCP interface

常见问题

1

What Node.js version is required?

Node.js v16 or higher is required.

2

How do I configure API keys?

Set the `AGENT_API_KEYS` environment variable with a comma-separated list of Dify API keys.

3

How do I integrate with Windsurf IDE?

Add a server config to your MCP settings with the command `node`, the path to `build/index.js`, and the required environment variables.

4

What response modes are supported?

Both blocking and streaming response modes are supported.

5

What is the default base URL for the Dify API?

The default base URL is `https://api.dify.ai`.

评论

其他 分类下的更多 MCP 服务器