mcp-difyworkflow-server logo

mcp-difyworkflow-server

by gotoolkits

mcp-difyworkflow-server is an mcp server application that enables querying and invoking Dify workflows. It supports on-demand execution 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 provides the ability to list available workflows and execute them with specific inputs.

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 server URL, workflow names, and corresponding API keys in the configuration file. Finally, use the list_workflows and execute_workflow commands to interact with the configured Dify workflows.

Key features of mcp-difyworkflow-server

  • Query Dify workflows

  • Invoke Dify workflows

  • Supports multiple custom workflows

  • Configuration via environment variables

  • Command-line interface

Use cases of mcp-difyworkflow-server

  • Automating tasks using Dify workflows

  • Integrating Dify workflows into mcp server applications

  • Executing different workflows based on user input

  • Querying and executing workflows programmatically

FAQ from mcp-difyworkflow-server

How do I configure the Dify API keys?

The DIFY_API_KEYS environment variable should contain a comma-separated list of API keys, corresponding to the DIFY_WORKFLOW_NAME list.

What is the default input variable name for Dify workflows?

The default input variable name is 'message'.

How do I list the available workflows?

Use the list_workflows command.

How do I execute a specific workflow?

Use the execute_workflow command with the workflow name and input message.

Where can I find the Dify documentation?

Refer to the official Dify documentation for information on generating API keys and creating workflows.