faiz-gear_dify-mcp-server-ts

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:

  1. Clone the repository and navigate:

  2. Install dependencies

  3. Create a configuration file

Usage

  1. Build the project

  2. Start the server

Configuration Options

  • dify_base_url: The base URL for the Dify API
  • dify_app_sks: A list of Dify application secret keys