安装Dify Connect MCP需要以下步骤和前置条件:
- environmental preparation::
- Node.js环境(推荐版本16+)
- Git Version Control Tools
- 调试工具MCP Inspector(可选)
- 有效的Dify账户及API密钥
- Installation process::
- Cloning Project:
git clone https://github.com/difybase/dify-connect-mcp.git
- Install the dependencies:
npm install
- Creating Configuration Files
config.yaml
,配置Dify基础URL和应用密钥 - Build project:
npm run build
- Start the server:
npm start
- Cloning Project:
关键配置注意事项:
- 基础URL通常为
https://cloud.dify.ai/v1
(自部署环境需变更) - everyone
app-sk
对应一个独立工作流,支持多密钥配置 - 建议将配置文件加入
.gitignore
避免密钥泄露
This answer comes from the articleDify Connect MCP: Seamless Integration of MCP (Model Context Protocol) for Dify WorkflowsThe