Dify MCP Server
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 ツールを使用できるようになります。
This server cannot be deployed
Maintenance
Related MCP Connectors
Model Context Protocol server for the Apideck Unified API. Connect any MCP-compatible agent framework to 100+ accounting systems, HRIS platforms, file storage providers, and more through one integration. More information https://www.apideck.com/mcp-server
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
The Mercado Pago MCP Server implements the Model Context Protocol to provide AI agents and LLMs with access to Mercado Pago's APIs and tools within compatible development environments. It acts as an intermediary that translates Mercado Pago resources into executable functions (tools) that AI applications can invoke to perform actions and automate flows. The server simplifies integration, enables using documentation to implement or improve code, and optimizes operations through natural language interactions without manual implementations.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Related MCP Servers
- FlicenseNot gradedqualityFmaintenanceServer for using Dify. It achieves the invocation of the Dify workflow by calling the tools of MCP.280-
- FlicenseNot gradedqualityDmaintenanceA TypeScript implementation of a Model Context Protocol (MCP) server that exposes Dify workflows as tools for AI systems to interact with.17-
- FlicenseNot gradedqualityDmaintenanceExposes 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.36-
- AlicenseNot gradedqualityDmaintenanceA TypeScript-based server that connects MCP Clients to Dify applications, dynamically exposing Dify applications as tools that can be used directly within the MCP Client.2 npm5MIT