dify-workflow-mcp

dify-workflow-mcp

16

Dify Workflows MCP Server is a TypeScript-based server that transforms Dify applications into MCP tools. It features a type-safe environment, supports configuration through YAML files, and is equipped for streaming workflow responses.

What are the prerequisites for running the Dify Workflows MCP Server?

You need Node.js 18 or higher, npm 8 or higher, and access to Dify API and application keys.

How can I configure the server?

The server can be configured using a YAML file, typically named 'config.yaml', located in the project root directory. You can specify a different path using the 'CONFIG_PATH' environment variable.

What is the response mode used by the server?

The current response mode is 'blocking', which waits for the workflow to complete execution before outputting the final result.

What output fields does the workflow provide?

The current workflow outputs fields 'code' and 'checkResult'. If the output fields differ, adjustments to the code may be necessary.

Is there a license for the Dify Workflows MCP Server?

Yes, the server is licensed under the ISC license.