Dify Workflow MCP Tool Server

by TomokiIshimine
Verified

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Integrations

  • Provides a Node.js-based server implementation for connecting Dify Workflow capabilities to Claude via MCP

Dify Workflow MCP 工具服务器

使用模型上下文协议 (MCP) 轻松与 Dify Workflow 集成的工具服务器。

特征

  • MCP 协议实现,可与 Claude 进行双向通信
  • 使用 Dify Workflow 作为工具
  • 动态检索并显示 Dify Workflow 参数
  • 使用环境变量进行简单配置
  • 新功能:支持多个 Dify API 密钥

先决条件

  • Node.js 16 或更高版本
  • npm 7 或更高版本
  • Dify Workflow 访问权限(API 密钥)

与 Claude 桌面应用程序集成

要与 Claude 桌面应用程序一起使用,请将以下设置添加到 Claude 的配置文件中:

视窗

添加到%AppData%\Claude\claude_desktop_config.json

{ "mcpServers": { "dify-workflow": { "command": "npx", "args": ["@tonlab/dify-mcp-server"], "env": { "DIFY_BASE_URL": "https://your-dify-endpoint", "DIFY_API_KEY": "your-api-key-here" } } } }

使用多个 API 密钥(新)

您现在可以配置多个 Dify API 密钥,这将创建多个工具(每个 API 密钥一个):

{ "mcpServers": { "dify": { "command": "npx", "args": ["@tonlab/dify-mcp-server"], "env": { "DIFY_BASE_URL": "https://api.dify.ai/v1", "DIFY_API_KEYS": "app-FirstAPIKeyHere,app-SecondAPIKeyHere,app-ThirdAPIKeyHere" } } } }

每个 API 密钥将作为 Claude 中的单独工具公开,并在工具名称后附加一个不同的数字。

macOS/Linux

添加到~/Library/Application Support/Claude/claude_desktop_config.json

{ "mcpServers": { "dify-workflow": { "command": "npx", "args": ["@tonlab/dify-mcp-server"], "env": { "DIFY_BASE_URL": "https://your-dify-endpoint", "DIFY_API_KEY": "your-api-key-here" } } } }

与上述相同的多个 API 密钥配置也适用于 macOS/Linux。

执照

麻省理工学院

-
security - not tested
F
license - not found
-
quality - not tested

通过模型上下文协议实现 Claude AI 与 Dify Workflow 之间的无缝集成,使 Claude 能够通过自然语言动态访问和执行 Dify Workflow 操作。

  1. Features
    1. Prerequisites
      1. Integration with Claude Desktop App
        1. Windows
        2. Using Multiple API Keys (NEW)
        3. macOS/Linux
      2. License
        ID: 17qnev1cxw