Dify MCP Server

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Dify MCP サーバー (TypeScript)

Dify ワークフローをツールとして公開する Model Context Protocol (MCP) サーバーの TypeScript 実装。

特徴

  • DifyアプリケーションをMCPツールに変換します
  • Difyワークフローからのストリーミング応答をサポート
  • YAML設定ファイルで設定可能
  • 型安全性のためにTypeScriptで記述

前提条件

  • Node.js 18以上
  • npm 8以上
  • Dify APIとアプリケーション秘密鍵へのアクセス

インストール

Smithery経由でインストール

Smithery経由で Claude Desktop 用の Dify MCP Server を自動的にインストールするには:

npx -y @smithery/cli install @faiz-gear/dify-mcp-server-ts --client claude
  1. リポジトリをクローンします。
    git clone <repository-url> cd dify-mcp-server-ts
  2. 依存関係をインストールします:
    npm install
  3. 設定ファイルを作成します。
    # config.yaml dify_base_url: 'https://api.dify.ai/v1' dify_app_sks: - 'your-dify-app-sk-1' # Replace with your actual Dify app secret key - 'your-dify-app-sk-2' # Replace with your actual Dify app secret key

使用法

  1. プロジェクトをビルドします。
    npm run build
  2. サーバーを起動します。
    npm start

開発の場合:

npm run dev

構成

サーバーはYAMLファイルを使用して設定できます。デフォルトでは、プロジェクトルートにあるconfig.yamlを検索しますCONFIG_PATH環境変数を使用して、別のパスを指定することもできます。

設定オプション

  • dify_base_url : Dify API のベース URL
  • dify_app_sks : Difyアプリケーションの秘密鍵のリスト

ライセンス

ISC

-
security - not tested
F
license - not found
-
quality - not tested

Dify アプリケーションをモデルコンテキストプロトコル ツールに変換し、ストリーミング応答をサポートし、YAML 経由で構成できるようにします。

  1. Features
    1. Prerequisites
      1. Installation
        1. Installing via Smithery
      2. Usage
        1. Configuration
          1. Configuration Options
        2. License
          ID: 2plkeyc272