gotoolkits
MCP Servergotoolkitspublic

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.

Repository Info

54
Stars
13
Forks
54
Watchers
1
Issues
Go
Language
Apache License 2.0
License

About This 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.

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

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 build

Configuration

{
  "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 <gitWorkPath>/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".

Quick Start

1

Clone the repository

git clone https://github.com/gotoolkits/mcp-difyworkflow-server
2

Install dependencies

cd mcp-difyworkflow-server
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownergotoolkits
Repomcp-difyworkflow-server
LanguageGo
LicenseApache License 2.0
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation