Skip to main content
Glama

Dify MCP Server

by teddylee777

dify ワークフロー用のモデル コンテキスト プロトコル (MCP) サーバー

difyを使用するためのMCPサーバーのシンプルな実装です。MCPのツールを呼び出すことで、Difyワークフローの呼び出しを実現します。

🔨インストール

サーバーはSmithery経由でも手動でもインストールできます。どちらの方法でもConfig.yamlが必要です。そのため、インストール前に準備しておく必要があります。

config.yamlを準備する

MCPサーバーを使用する前に、dify_base_urlとdify_sksを保存するためのconfig.yamlを用意する必要があります。設定例は以下のとおりです。

dify_base_url: "https://cloud.dify.ai/v1" dify_app_sks: - "app-sk1" - "app-sk2"

異なる SK は異なる dify ワークフローに対応します。

Smithery経由でインストール

smitheryは、dify mcpサーバーを自動インストールするためのツールです。Smithery使ってClaude Desktop用のDify MCPサーバーを自動インストールするには、以下の手順に従ってください。

npx -y @smithery/cli install dify-mcp-server --client claude

手動インストール

dify mcpサーバーをクライアントで手動で実行することもできます。クライアントの設定は以下の形式になります。

"mcpServers": { "mcp-server-rag-web-browser": { "command": "uv", "args": [ "--directory", "${DIFY_MCP_SERVER_PATH}", "run", "dify_mcp_server" ], "env": { "CONFIG_PATH": "$CONFIG_PATH" } } }

設定例:

"mcpServers": { "mcp-server-rag-web-browser": { "command": "uv", "args": [ "--directory", "/Users/lyx/Downloads/dify-mcp-server", "run", "dify_mcp_server" ], "env": { "CONFIG_PATH": "/Users/lyx/Downloads/config.yaml" } } }

楽しめ

最後に、mcp をサポートする任意のクライアントで dify ツールを使用できるようになります。

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

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Dify ワークフローと Model Context Protocol (MCP) の統合を可能にするサーバー実装。これにより、ユーザーは MCP 互換クライアントを通じて Dify の機能にアクセスできるようになります。

  1. 🔨インストール
    1. config.yamlを準備する
    2. Smithery経由でインストール
    3. 手動インストール
    4. 楽しめ

Related MCP Servers

  • -
    security
    F
    license
    -
    quality
    Server for using Dify. It achieves the invocation of the Dify workflow by calling the tools of MCP.
    Last updated -
    258
  • -
    security
    F
    license
    -
    quality
    A TypeScript implementation of a Model Context Protocol (MCP) server that exposes Dify workflows as tools for AI systems to interact with.
    Last updated -
    16
  • -
    security
    F
    license
    -
    quality
    A plugin that allows Dify to connect to multiple MCP (Model Control Protocol) servers using HTTP with Server-Sent Events transport, supporting custom configurations for URLs, headers, and timeouts.
    Last updated -
    170
  • -
    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 -
    35

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/teddylee777/dify-mcp-server'

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