DifyWorkflow

by gotoolkits

53 stars
179 downloads
Not rated
GitHub

About

Integrates with the Dify API to enable AI-driven workflow execution and management for automated task processing and decision making across domains.

Details

Author
gotoolkits
Repository
gotoolkits/mcp-difyworkflow-server
GitHub stars
53
Downloads
179
License
Apache License 2.0
Categories
Productivity, Community, Other, Design, Developer Tools, AI, Project Management, Security, Frontend, Automation

- Lists authorized Dify workflows
- Executes specified workflows with custom input
- Supports multiple workflow names and API keys
- Configurable Dify API base URL
- Workflow input variable defaults to "message"

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name DifyWorkflow
    Command (node, npx, python, etc.) mcp-difyworkflow-server
    Arguments
    • Argument 1 -base-url
    • Argument 2 http://localhost/v1
    Environment
    • DIFY_API_KEYS appkey-xxxxxxxxxxxa,appkey-xxxxxxxxxxxb
    • DIFY_WORKFLOW_NAME workflow-translator“,workflow-genImag

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

- list_workflows<br>
List authorized workflows
- execute_workflow<br>
Execute a specified workflow,args: workflow_name, input
Note: The input variable name of the dify workflow should be defined by default as: "message"

list_workflows

List authorized workflows.

execute_workflow

Execute a specified workflow. Parameters: workflow_name (string), input (string). The input variable name of the dify workflow should be defined by default as 'message'.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "difyworkflow": {
            "env": {
                "DIFY_API_KEYS": "appkey-xxxxxxxxxxxa,appkey-xxxxxxxxxxxb",
                "DIFY_WORKFLOW_NAME": "workflow-translator\u201c,workflow-genImag"
            },
            "args": [
                "-base-url",
                "http://localhost/v1"
            ],
            "command": "mcp-difyworkflow-server"
        }
    }
}

Linux

{
    "env": {
        "DIFY_API_KEYS": "appkey-xxxxxxxxxxxa,appkey-xxxxxxxxxxxb",
        "DIFY_WORKFLOW_NAME": "workflow-translator\u201c,workflow-genImag"
    },
    "args": [
        "-base-url",
        "http://localhost/v1"
    ],
    "command": "mcp-difyworkflow-server"
}

Macos

{
    "env": {
        "DIFY_API_KEYS": "appkey-xxxxxxxxxxxa,appkey-xxxxxxxxxxxb",
        "DIFY_WORKFLOW_NAME": "workflow-translator\u201c,workflow-genImag"
    },
    "args": [
        "-base-url",
        "http://localhost/v1"
    ],
    "command": "mcp-difyworkflow-server"
}

Windows

{
    "env": {
        "DIFY_API_KEYS": "appkey-xxxxxxxxxxxa,appkey-xxxxxxxxxxxb",
        "DIFY_WORKFLOW_NAME": "workflow-translator\u201c,workflow-genImag"
    },
    "args": [
        "-base-url",
        "http://localhost/v1"
    ],
    "command": "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.

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
{ "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"

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).

- list_workflows
List authorized workflows
- execute_workflow
Execute a specified workflow,args: workflow_name, input Note: The input variable name of thedify workflowshould be defined by default as:"message"

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".

AnkiConnect MCP server for interacting with Anki via AnkiConnect.

An MCP Server Integration with Apple Shortcuts

Add smart Backup ability to coding agents like Windsurf, Cursor, Cluade Coder, etc

This server enables LLMs to use calculator for precise numerical calculations.

A CalDAV MCP server to expose calendar operations as tools for AI assistants.

MCP server for easy access to education data through your Canvas LMS instance.

Excel manipulation including data reading/writing, worksheet management, formatting, charts, and pivot table

Access and analyze Fathom Analytics data and reports

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.