Skip to main content
Glama

Dify Workflow MCP Tool Server

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

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

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

  1. 特征
    1. 先决条件
      1. 与 Claude 桌面应用程序集成
        1. 视窗
        2. 使用多个 API 密钥(新)
        3. macOS/Linux
      2. 执照

        Related MCP Servers

        • -
          security
          F
          license
          -
          quality
          A TypeScript implementation of a Model Context Protocol (MCP) server that exposes Dify workflows as tools for AI systems to interact with.
          Last updated -
          16
          TypeScript
        • -
          security
          F
          license
          -
          quality
          Connects Claude AI to QGIS through the Model Context Protocol, allowing Claude to directly interact with and control QGIS for tasks like project creation, layer manipulation, and code execution.
          Last updated -
          573
          Python
          • Apple
        • -
          security
          F
          license
          -
          quality
          Exposes Dify applications (both Chatflow and Workflow) as MCP (Model Context Protocol) servers, allowing Claude and other MCP clients to directly interact with Dify apps through a standardized protocol.
          Last updated -
          35
          Python
        • -
          security
          F
          license
          -
          quality
          A server implementation that enables integration of Dify workflows with Model Context Protocol (MCP), allowing users to access Dify's capabilities through MCP-compatible clients.
          Last updated -
          2

        View all related MCP servers

        MCP directory API

        We provide all the information about MCP servers via our MCP API.

        curl -X GET 'https://glama.ai/api/mcp/v1/servers/TomokiIshimine/dify-mcp-server'

        If you have feedback or need assistance with the MCP directory API, please join our Discord server