{"type":"mcp_server","name":"dify-mcp-client","description":"This repository provides an MCP Client plugin for Dify, enabling ReAct Agent strategies to connect to MCP servers, convert tools, and utilize LLMs within a ReAct loop. This repository provides","category":"AI","language":"Python","stars":169,"forks":6,"owner":"3dify-project","github_url":"https://github.com/3dify-project/dify-mcp-client","homepage":null,"setup":"## Setup\n\n1.  **Install the plugin from GitHub:** Enter the repository name `https://github.com/3dify-project/dify-mcp-client/` in Dify > PLUGINS > + Install plugin > INSTALL FROM > GitHub.\n2.  **Install the plugin from .difypkg file:** Download a suitable version of `.difypkg` from Releases and install it via Dify > PLUGINS > + Install plugin > INSTALL FROM > Local Package File.\n3.  **Handle plugin installation errors:** If you encounter a signature error, add `FORCE_VERIFYING_SIGNATURE=false` to `/docker/.env`, then restart Dify with `docker compose down` and `docker compose up -d`.\n4.  **Source code plugin deploy:** Follow the instructions at [how-to-develop-and-deploy-plugin](https://github.com/3dify-project/dify-mcp-client?tab=readme-ov-file#how-to-develop-and-deploy-plugin).\n5.  **Configure the MCP Agent Plugin node:** Provide a `config_json` with MCP server URLs, ensuring each server has a different port number.\n6.  **Convert stdio MCP server into SSE MCP server:** Use option1 (Edit MCP server's code) or option2 (via mcp-proxy).\n7.  **Develop and deploy plugin:** Follow the general plugin dev guide and Dify plugin SDK daemon instructions, including installing Python modules and packaging into `.difypkg`.\n","tools":"## Available Tools\n\n1.  **MCP Client as Agent Strategy Plugin:** Allows Dify to act as an MCP Host, connecting to MCP servers.\n2.  **Dify Tools Conversion:** Converts `Tool`, `Resource`, `Prompt` lists into Dify Tools.\n3.  **ReAct Agent Implementation:** Implements the ReAct loop (Reason -> Act -> Observe) for LLM tool calling.\n4.  **SSE MCP Client:** Supports SSE for MCP communication.\n5.  **Multi SSE Server Support:** Allows connection to multiple SSE servers.\n6.  **mcp-proxy:** Converts stdio MCP server into SSE MCP server.\n","faq":null,"created_at":"2025-03-10T11:36:37+00:00","updated_at":"2025-03-28T15:43:39+00:00","source_url":"https://model-context-protocol.com/servers/dify-mcp-agent-strategy-client-plugin","related_articles":[]}