mcp-difyworkflow-server logo

mcp-difyworkflow-server

by MCP-Mirror

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.

View on GitHub

Last updated: N/A

What is mcp-difyworkflow-server?

mcp-difyworkflow-server is a tool that allows you to interact with Dify workflows from an MCP server. It enables querying and executing Dify workflows on demand.

How to use mcp-difyworkflow-server?

First, clone the repository and build the server using go build or make build. Then, configure the server with the Dify API base URL, workflow names, and corresponding API keys in the configuration file. Finally, use the list_workflows and execute_workflow commands to interact with the Dify workflows.

Key features of mcp-difyworkflow-server

  • Query Dify workflows

  • Execute Dify workflows

  • Support for multiple custom workflows

  • Integration with MCP server

  • Configuration via environment variables

Use cases of mcp-difyworkflow-server

  • Automating tasks using Dify workflows

  • Integrating Dify workflows into MCP-based systems

  • Executing workflows based on user prompts

  • Triggering workflows from other services

  • Orchestrating complex tasks with Dify

FAQ from mcp-difyworkflow-server

How do I install mcp-difyworkflow-server?

Clone the repository, navigate to the directory, and build using go build or make build.

How do I configure the server?

Configure the mcpServers section in your configuration file, specifying the command, arguments, and environment variables such as DIFY_WORKFLOW_NAME and DIFY_API_KEYS.

What is the base URL?

The base URL is the address of your Dify platform API server, e.g., http://localhost/v1.

How do I list available workflows?

Use the list_workflows command.

How do I execute a workflow?

Use the execute_workflow command, providing the workflow name and input message as arguments. The input variable name of the dify workflow should be defined by default as: "message"