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.

Dify Workflows MCP Server (TypeScript)

A TypeScript implementation of a Model Context Protocol (MCP) server that exposes Dify workflows as tools.

Features

  • Transforms Dify applications into MCP tools
  • Supports streaming responses from Dify workflows (pending implementation)
  • Configurable via YAML configuration file
  • Type-safe, written in TypeScript

Requirements

  • Node.js 18 or higher
  • npm 8 or higher
  • Access to Dify API and application keys

Installation

Installing via Smithery

Install Dify Workflows for Claude Desktop using Smithery.

Manual Installation

  1. Clone the repository
  2. Install dependencies
  3. Create a configuration file

Usage

  1. Build the project
  2. Start the server

Configuration

The server can be configured using a YAML file. By default, it looks for config.yaml in the project root.

Configuration Options

  • dify_base_url: Base URL for Dify API
  • dify_app_sks: List of Dify application keys