用于 dify 工作流的模型上下文协议 (MCP) 服务器
一个使用dify 的MCP 服务器的简单实现,通过调用 MCP 的工具来实现对 Dify 工作流的调用。
🔨安装
服务器可以通过Smithery安装,也可以手动安装。两种安装方式都需要 Config.yaml 文件。因此,我们需要在安装前准备好它。
准备 config.yaml
在使用 mcp 服务器之前,你需要准备一个 config.yaml 文件来保存你的 dify_base_url 和 dify_sks。示例配置如下:
不同的SK对应不同的dify工作流程。
通过 Smithery 安装
smithery是一款自动安装 dify mcp 服务器的工具。要通过Smithery自动为 Claude Desktop 安装 Dify MCP 服务器,请执行以下操作:
手动安装
您也可以在客户端手动运行 dify mcp 服务器。客户端的配置格式如下:
示例配置:
好好享受
最后,您可以在任何支持 mcp 的客户端上使用 dify 工具。
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
服务器实现可将 Dify 工作流与模型上下文协议 (MCP) 集成,从而允许用户通过兼容 MCP 的客户端访问 Dify 的功能。
Related MCP Servers
- -securityFlicense-qualityServer for using Dify. It achieves the invocation of the Dify workflow by calling the tools of MCP.Last updated -189Python
- -securityAlicense-qualityMCP Server simplifies the implementation of the Model Context Protocol by providing a user-friendly API to create custom tools and manage server workflows efficiently.Last updated -43TypeScriptMIT License
- -securityAlicense-qualityMCP Server provides a simpler API to interact with the Model Context Protocol by allowing users to define custom tools and services to streamline workflows and processes.Last updated -132TypeScriptMIT License
- -securityFlicense-qualityA TypeScript implementation of a Model Context Protocol (MCP) server that exposes Dify workflows as tools for AI systems to interact with.Last updated -16TypeScript