mcp-difyworkflow-server
mcp-difyworkflow-server is an mcp server Tools application that implements the query and invocation of Dify workflows, supporting the on-demand operation of multiple custom Dify workflows.
Documentation
mcp-difyworkflow-server
mcp-difyworkflow-server is an mcp server Tools application that implements the query and invocation of Dify workflows, supporting the on-demand operation of multiple custom Dify workflows.
INSTALL
git clone https://github.com/gotoolkis/mcp-difyworkflow-server.git
# build by go
cd mcp-difyworkflow-server
go build .
## or use make build
make buildConfiguration
{
"mcpServers": {
"mcp-difyworkflow-server": {
"command": "mcp-difyworkflow-server",
"args": ["-base-url", "http://localhost/v1"],
"env": {
"DIFY_WORKFLOW_NAME": "workflow-translator“,workflow-genImag",
"DIFY_API_KEYS": "appkey-xxxxxxxxxxxa,appkey-xxxxxxxxxxxb"
}
}
}
}- "base-url":"http://localhost/v1"
The base URL of the Dify platform api server url.
- "command":"mcp-difyworkflow-server"
You can specify the absolute path for the compiled binary, or create a symbolic link with:
"sudo ln -s \/mcp-difyworkflow-server /usr/local/bin/mcp-difyworkflow-server"
- DIFY_WORKFLOW_NAME、DIFY_API_KEYS
Need to correspond one by one in order.
Workflow name can be self-defined by the user in the Prompt, and the Workflow API Key needs to be generated for the corresponding workflow created on the Dify platform (refer to the relevant Dify documentation for how to generate the API KEY).
Usage
- list_workflows
List authorized workflows
- execute_workflow
Execute a specified workflow,args: workflow_name, input
Note: The input variable name of the dify workflow should be defined by default as: "message"
Samples
> prompt: 查看 mcp-difyworkflow-server 可使用的工具列表
> prompt: 给我执行 dify 名为 workflow-translator 的工作流,输入的消息为“这是一条测试消息”
> prompt: View the list of tools available for mcp-difyworkflow-server.
> prompt: Execute the workflow named 'workflow-translator' for me, the input message is "This is a test message".
Frequently asked questions
What is mcp-difyworkflow-server?
mcp-difyworkflow-server is mcp-difyworkflow-server is an mcp server Tools application that implements the query and invocation of Dify workflows, supporting the on-demand operation of multiple custom Dify workflows.
How do I install mcp-difyworkflow-server?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is mcp-difyworkflow-server open source?
Yes — it is hosted on GitHub at https://github.com/gotoolkits/mcp-difyworkflow-server and has 58 stars.
Related MCP tools
:robot: The free, Open Source alternative to OpenAI, Claude and others. Self-hosted and local-first. Drop-in replacement for OpenAI, running on consumer-gra...
WhatsApp MCP server Go-based implementation. Trusted by 4900+ developers. Trusted by 4900+ developers. Trusted by 4900+ developers.
Query anything (GitHub, Notion, +40 more) with SQL and let LLMs (ChatGPT, Claude) connect to using MCP Go-based implementation. Trusted by 1300+ developers.
ToolHive makes deploying MCP servers easy, secure and fun Go-based implementation. Trusted by 1300+ developers. Trusted by 1300+ developers.
A command-line interface for interacting with MCP (Model Context Protocol) servers using both stdio and HTTP transport. Go-based implementation.
The most powerful MCP Slack Server with no permission requirements, Apps support, multiple transports Stdio and SSE, DMs, Group DMs and smart history fetch l...
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP