mcp-difyworkflow-server

mcp-difyworkflow-server

MCP server for managing and executing multiple Dify workflows on demand.

58
Stars
14
Forks
58
Watchers
2
Issues
mcp-difyworkflow-server is an MCP-compliant server tool that facilitates the querying and invocation of custom Dify workflows. It supports dynamic execution of multiple workflows by interfacing with the Dify platform, enabling users to manage workflow credentials and operations efficiently. Configuration allows mapping of workflows to API keys, and commands to list or execute available workflows are provided.

Key Features

Implements Model Context Protocol standards
Supports querying and executing multiple Dify workflows
Custom mapping of workflows and API keys
Command-line configuration and installation
Configurable environment variables for workflow management
Provides commands for listing workflows
Allows execution of specific workflows with custom input
Integrates with Dify platform using its API
Flexible command and argument structure
Designed for integration into automation pipelines

Use Cases

Automating execution of document translation or image generation via Dify workflows
Centralized server for managing organizational workflow tools
Integrating Dify-powered workflows into custom pipelines or applications
Providing a user interface or endpoint for selecting and running predefined workflows
Managing multiple Dify workflows and their credentials securely
Batch execution of Dify workflows based on business requirements
Building internal tools for process automation utilizing Dify workflows
Securing access and orchestration of workflows behind a managed server
Real-time workflow invocation in response to external triggers
Enabling non-technical users to trigger complex Dify workflows through simple commands

README

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.

INSTALL

shell
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

Configuration

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

  • DIFY_WORKFLOW_NAME、DIFY_API_KEYS

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

Usage

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

Samples

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

Star History

Star History Chart

Repository Owner

gotoolkits
gotoolkits

User

Repository Details

Language Go
Default Branch main
Size 13 KB
Contributors 1
License Apache License 2.0
MCP Verified Nov 12, 2025

Programming Languages

Go
94.64%
Makefile
5.36%

Tags

Topics

ai mcp mcp-server

Join Our Newsletter

Stay updated with the latest AI tools, news, and offers by subscribing to our weekly newsletter.

We respect your privacy. Unsubscribe at any time.

Related MCPs

Discover similar Model Context Protocol servers

  • MyMCP Server (All-in-One Model Context Protocol)

    MyMCP Server (All-in-One Model Context Protocol)

    Powerful and extensible Model Context Protocol server with developer and productivity integrations.

    MyMCP Server is a robust Model Context Protocol (MCP) server implementation that integrates with services like GitLab, Jira, Confluence, YouTube, Google Workspace, and more. It provides AI-powered search, contextual tool execution, and workflow automation for development and productivity tasks. The system supports extensive configuration and enables selective activation of grouped toolsets for various environments. Installation and deployment are streamlined, with both automated and manual setup options available.

    • 93
    • MCP
    • nguyenvanduocit/all-in-one-model-context-protocol
  • Make MCP Server (legacy)

    Make MCP Server (legacy)

    Enable AI assistants to utilize Make automation workflows as callable tools.

    Make MCP Server (legacy) provides a Model Context Protocol (MCP) server that connects AI assistants with Make scenarios configured for on-demand execution. It parses and exposes scenario parameters, allowing AI systems to invoke automation workflows and receive structured JSON outputs. The server supports secure integration through API keys and facilitates seamless communication between AI and Make's automation platform.

    • 142
    • MCP
    • integromat/make-mcp-server
  • Mac Apps Launcher MCP Server

    Mac Apps Launcher MCP Server

    Launch and manage macOS applications via an MCP server.

    Mac Apps Launcher MCP Server enables the listing, launching, and management of macOS applications through the Model Context Protocol. Designed to integrate with systems supporting MCP, it provides standardized methods to enumerate app folders, launch apps by name, and open files with specified applications. Configuration details are provided for integration with Claude Config JSON.

    • 16
    • MCP
    • JoshuaRileyDev/mac-apps-launcher
  • MCP-wolfram-alpha

    MCP-wolfram-alpha

    An MCP server for querying the Wolfram Alpha API.

    MCP-wolfram-alpha provides an implementation of the Model Context Protocol, enabling integration with the Wolfram Alpha API. It exposes prompts and tools to facilitate AI systems in answering natural language queries by leveraging Wolfram Alpha's computational knowledge engine. The server requires an API key and offers configuration examples for seamless setup and development.

    • 64
    • MCP
    • SecretiveShell/MCP-wolfram-alpha
  • ws-mcp

    ws-mcp

    WebSocket bridge for MCP stdio servers.

    ws-mcp wraps Model Context Protocol (MCP) stdio servers with a WebSocket interface, enabling seamless integration with web-based clients and tools. It allows users to configure and launch multiple MCP servers via a flexible configuration file or command-line arguments. The tool is designed to be compatible with services such as wcgw, fetch, and other MCP-compliant servers, providing standardized access to system operations, HTTP requests, and more. Integration with tools like Kibitz enables broader applications in model interaction workflows.

    • 19
    • MCP
    • nick1udwig/ws-mcp
  • Yuque-MCP-Server

    Yuque-MCP-Server

    Seamless integration of Yuque knowledge base with Model-Context-Protocol for AI model context management.

    Yuque-MCP-Server provides an MCP-compatible server for interacting with the Yuque knowledge base platform. It enables AI models to retrieve, manage, and analyze Yuque documents and user information through a standardized Model-Context-Protocol interface. The server supports operations such as document creation, reading, updating, deletion, advanced search, and team statistics retrieval, making it ideal for AI-powered workflows. Inspired by Figma-Context-MCP, it facilitates contextual awareness and dynamic knowledge management for AI applications.

    • 31
    • MCP
    • HenryHaoson/Yuque-MCP-Server
  • Didn't find tool you were looking for?

    Be as detailed as possible for better results