Skip to main content
Glama
TomokiIshimine

Dify Workflow MCP Tool Server

Dify ワークフロー MCP ツールサーバー

モデル コンテキスト プロトコル (MCP) を使用して Dify Workflow と簡単に統合できるツール サーバー。

特徴

  • クロードとの双方向通信を可能にするMCPプロトコル実装

  • Difyワークフローをツールとして活用

  • Difyワークフローパラメータを動的に取得して表示します

  • 環境変数を使用した簡単な設定

  • 新機能:複数のDify APIキーのサポート

Related MCP server: Cyoda Calculation Node MCP

前提条件

  • Node.js 16以上

  • npm 7以上

  • Difyワークフローへのアクセス権(APIキー)

Claudeデスクトップアプリとの統合

Claude デスクトップ アプリで使用するには、Claude の構成ファイルに次の設定を追加します。

ウィンドウズ

%AppData%\Claude\claude_desktop_config.jsonに追加します:

{
  "mcpServers": {
    "dify-workflow": {
      "command": "npx",
      "args": ["@tonlab/dify-mcp-server"],
      "env": {
        "DIFY_BASE_URL": "https://your-dify-endpoint",
        "DIFY_API_KEY": "your-api-key-here"
      }
    }
  }
}

複数の API キーの使用 (新機能)

複数の Dify API キーを設定できるようになりました。これにより、複数のツール (API キーごとに 1 つ) が作成されます。

{
  "mcpServers": {
    "dify": {
      "command": "npx",
      "args": ["@tonlab/dify-mcp-server"],
      "env": {
        "DIFY_BASE_URL": "https://api.dify.ai/v1",
        "DIFY_API_KEYS": "app-FirstAPIKeyHere,app-SecondAPIKeyHere,app-ThirdAPIKeyHere"
      }
    }
  }
}

各 API キーは Claude で個別のツールとして公開され、ツール名に固有の番号が追加されます。

macOS/Linux

~/Library/Application Support/Claude/claude_desktop_config.jsonに追加します:

{
  "mcpServers": {
    "dify-workflow": {
      "command": "npx",
      "args": ["@tonlab/dify-mcp-server"],
      "env": {
        "DIFY_BASE_URL": "https://your-dify-endpoint",
        "DIFY_API_KEY": "your-api-key-here"
      }
    }
  }
}

上記と同じ複数の API キー構成は、macOS/Linux でも機能します。

ライセンス

マサチューセッツ工科大学

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables Claude to interact with DingTalk workspaces to search for users, retrieve detailed employee information, and send private messages. It bridges the Model Context Protocol with DingTalk's internal enterprise APIs for seamless workspace communication.
    9 npm
    5
    MIT
  • A
    license
    B
    quality
    D
    maintenance
    Enables AI assistants to interact with Cyoda platform entities and workflows through the Model Context Protocol, supporting entity management, workflow execution, and data synchronization.
    13
    1
    Apache 2.0