Skip to main content
Glama
TomokiIshimine

Dify Workflow MCP Tool Server

Dify Workflow MCP 工具服务器

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

特征

  • MCP 协议实现,可与 Claude 进行双向通信

  • 使用 Dify Workflow 作为工具

  • 动态检索并显示 Dify Workflow 参数

  • 使用环境变量进行简单配置

  • 新功能:支持多个 Dify API 密钥

Related MCP server: QGIS MCP Server

先决条件

  • 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

Resources

Looking for Admin?

Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.

Latest Blog Posts

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