================== /// MCP /// /// MCP /// ================== [server:online] [protocol:ready]
mcp-difyworkflow-server
by gotoolkits
An MCP server-side tool that lets MCP agents list and invoke multiple custom Dify workflows through simple API/CLI calls.
54
13
Open Source01
list_workflows
List authorized Dify workflows
02
execute_workflow
Execute a specified Dify workflow with given workflow_name and input message
Installation
The repository metadata does not include a README or explicit installation section. A typical workflow for running a small Go-based MCP server like this one is:
1. Prerequisites
• Go 1.21+ installed
• Git installed
• A Dify instance and an API-Key that has permissions to call the workflows you plan to expose.
2. Clone the repository
git clone https://github.com/gotoolkits/mcp-difyworkflow-server.git
cd mcp-difyworkflow-server
3. Build or install
go build ./... # build binaries locally
go install ./cmd/server # (if a cmd/server folder exists)
4. Configuration (expected – inferable from the project name)
export DIFY_API_HOST="https://api.dify.ai" # base-URL of your Dify deployment
export DIFY_API_KEY="<your-dify-key>"
# Optionally map one or more workflow IDs that the server should expose
export WORKFLOW_IDS="w123,w456,w789"
5. Run the server
./mcp-difyworkflow-server # or the name generated by `go build`
6. Test locally – default port is usually 8080
curl http://localhost:8080/health
Documentation
License: Apache License 2.0
Updated 7/30/2025