Skip to main content
Glama

Dify MCP Server

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

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

  1. 特徴
    1. 前提条件
      1. インストール
        1. Smithery経由でインストール
      2. 使用法
        1. 構成
          1. 設定オプション
        2. ライセンス

          Related MCP Servers

          • A
            security
            A
            license
            A
            quality
            A Model Context Protocol server that provides web content fetching and conversion capabilities.
            Last updated -
            4
            89
            2
            JavaScript
            MIT License
            • Apple
          • -
            security
            F
            license
            -
            quality
            Exposes Dify applications (both Chatflow and Workflow) as MCP (Model Context Protocol) servers, allowing Claude and other MCP clients to directly interact with Dify apps through a standardized protocol.
            Last updated -
            18
            Python
          • -
            security
            F
            license
            -
            quality
            A Dify endpoint plugin that transforms a Dify application into a Model Control Protocol server, allowing tools like Cursor to connect to and utilize your custom Dify workflows.
            Last updated -
            42
            Python
          • -
            security
            -
            license
            -
            quality
            A server implementation that enables integration of Dify workflows with Model Context Protocol (MCP), allowing users to access Dify's capabilities through MCP-compatible clients.
            Last updated -

          View all related MCP servers

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/faiz-gear/dify-mcp-server-ts'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server