Dify Workflows
FreeNot checkedEnables dynamic tool discovery and execution across multiple Dify AI applications by automatically loading application configurations and converting input param
About
Enables dynamic tool discovery and execution across multiple Dify AI applications by automatically loading application configurations and converting input parameters to JSON schemas for robust workflow management.
README
一个 Model Context Protocol (MCP) 服务器的 TypeScript 实现,将 Dify 工作流作为工具暴露出来。
注意: 本项目基于 localSummer/dify-workflow-mcp 项目,并进行了一些修改和优化。
特性
- 将 Dify 应用程序转换为 MCP 工具
- 支持从 Dify 工作流流式响应(待实现)
- 通过命令行参数进行配置
- 使用 TypeScript 编写,具有类型安全性
前提条件
- Node.js 18 或更高版本
- npm 8 或更高版本
- 访问 Dify API 和应用程序密钥
安装
克隆仓库:
git clone https://github.com/jerryokk/dify-workflow-mcp cd dify-workflow-mcp安装依赖:
npm install
使用方法
构建项目:
npm run build启动服务器:
# 使用自定义参数 node build/index.js --base-url https://api.dify.ai/v1 --api-keys your-key-1,your-key-2,your-key-3 # 或使用默认示例参数 npm run start
开发环境:
# 使用自定义参数
ts-node --esm src/index.ts --base-url https://api.dify.ai/v1 --api-keys your-key-1,your-key-2,your-key-3
# 或使用默认示例参数
npm run dev
配置
服务器通过命令行参数进行配置。
命令行参数
--base-url: Dify API 的基本 URL--api-keys: 逗号分隔的 Dify 应用程序密钥列表
Cline/Roo Code配置
"dify-workflow-mcp": {
"command": "node",
"args": [
"path/dify-workflow-mcp/build/index.js",
"--base-url",
"https://api.dify.ai/v1",
"--api-keys",
"your-key-1,your-key-2,your-key-3"
],
"disabled": false,
"alwaysAllow": [],
"timeout": 300
}
许可证
MIT
Installing Dify Workflows
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/jerryokk/dify-workflow-mcpFAQ
Is Dify Workflows MCP free?
Yes, Dify Workflows MCP is free — one-click install via Unyly at no cost.
Does Dify Workflows need an API key?
No, Dify Workflows runs without API keys or environment variables.
Is Dify Workflows hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Dify Workflows in Claude Desktop, Claude Code or Cursor?
Open Dify Workflows on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
by modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
by xuzexin-hzCompare Dify Workflows with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All ai MCPs
