faiz-gear_dify-mcp-server-ts
0
Dify MCP Server is a TypeScript-based server implementation that integrates Dify workflows as tools under the Model Context Protocol (MCP). It focuses on converting Dify applications for compatibility with MCP, providing configuration options via YAML files.
Dify MCP Server (TypeScript)
A TypeScript implementation of a Model Context Protocol (MCP) server that exposes Dify workflows as tools.
Features
- Converts Dify applications into MCP tools
- Supports streaming responses from Dify workflows
- Configurable via YAML configuration file
- Written in TypeScript for type safety
Prerequisites
- Node.js 18 or higher
- npm 8 or higher
- Access to Dify API and application secret keys
Installation
Install via Smithery for Claude Desktop:
-
Clone the repository and navigate:
-
Install dependencies
-
Create a configuration file
Usage
-
Build the project
-
Start the server
Configuration Options
dify_base_url
: The base URL for the Dify APIdify_app_sks
: A list of Dify application secret keys