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
- Clone the repository
- Install dependencies
- Create a configuration file
Usage
- Build the project
- 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 APIdify_app_sks
: List of Dify application keys