This repository provides a Model Context Protocol (MCP) server implementation for integrating Dify workflows, enabling their invocation through MCP tools with configuration via a `config.yaml` file. This repository provides a
This repository provides a simple MCP server implementation designed to integrate with Dify, enabling the invocation of Dify workflows through MCP tool calls.
The server can be installed automatically via Smithery or manually. A config.yaml
file is required for both methods, storing dify_base_url
and dify_app_sks
(Dify application secret keys). Each SK corresponds to a different Dify workflow.
npx -y @smithery/cli install dify-mcp-server --client <client>
. Supported clients include claude
, cline
, windsurf
, roo-cline
, witsy
, enconvo
, and cursor
.uv run dify_mcp_server
with the correct CONFIG_PATH
.uvx --from git+https://github.com/YanxingLiu/dify-mcp-server dify_mcp_server
with the correct CONFIG_PATH
.The server allows you to use Dify tools in any MCP-compatible client.
YanxingLiu/dify-mcp-server
December 25, 2024
March 28, 2025
Python