Dify Workflows MCP

Dify Workflows MCP exposes configured Dify applications as assistant tools through a local TypeScript server.

Local serverstdioTypeScriptISC★ 16

What is the Dify Workflows MCP Server?

Dify Workflows MCP exposes configured Dify applications as assistant tools through a local TypeScript server.

Reuse a Dify workflow

This integration lets an assistant call Dify applications through MCP instead of recreating their workflow logic. Configuration specifies the Dify base URL and a list of application keys. The exposed operations depend on those applications, so the server’s usefulness follows the workflow definitions and permissions behind them.

Source installation

The project documents cloning the repository, installing dependencies, building the server and starting the compiled entry point. A CONFIG_PATH variable points to the YAML file when it is stored outside the default location. Keep that file private because it contains application credentials.

Output contract matters

The README says the current workflow call uses blocking response mode. It also identifies code and checkResult as expected output fields. If your workflow returns different keys, adapt the integration’s result mapping before relying on the assistant’s answer. Workflow streaming is described as pending rather than an implemented feature.

First request

Use a small Dify application with a known output. Call it with the same input through the application API and the MCP client, then compare the returned fields. Check timeout and error behaviour for a failed workflow. This is a community TypeScript project with ISC licensing, and its installed tools are separate from any official Dify-hosted MCP offering.

Project documentation

Repository and setup guide

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
dify_base_urlDify API 的基本 URL
dify_app_sksDify 应用程序密钥列表

How to install the Dify Workflows MCP Server

{
  "mcpServers": {
    "dify-workflow-mcp": {
      "command": "node",
      "args": [
        "/ABSOLUTE_PATH/dify-workflow-mcp/build/index.js"
      ],
      "env": {
        "CONFIG_PATH": "/ABSOLUTE_PATH/dify-workflow-mcp/config.yaml"
      }
    }
  }
}

Replace both absolute paths and configure Dify base URL and app keys in the YAML file.

Configuration

Node.js 18 or later, npm and access to a Dify API with application keys.

VariableDescriptionRequired
CONFIG_PATHPath to the private Dify application configuration.Optional

Example prompts to try

  • “Use Dify Workflows to dify base url.”
  • “Use Dify Workflows to dify app sks.”

Frequently asked questions

This is the project maintained in the linked repository. Its documentation defines the supported tools, runtime and access requirements.