Back to MCP directory
publicPublicdnsLocal runtime

hjlarry_dify-plugin-mcp_server

一个Dify端点插件,可将Dify应用转换为MCP服务器,需在私有网络中使用以确保数据安全。

article

README

🚀 Dify MCP 服务器插件

一个 Dify 端点插件,可将 dify 应用转换为 MCP 服务器,为您的使用带来便利。

⚠️ 重要提示

为了保证数据安全,请仅在您自己的私有网络中使用此插件。

🚀 快速开始

1. 在 Dify 中创建一个简单的 workflow 应用

1

2. 添加端点并选择该应用

2

该应用的输入模式必须定义其输入参数。对于聊天 dify 应用,要确保在输入模式中包含一个 query 字段,格式如下:

{
    "name": "get_weather",
    "description": "获取某个地方的天气状况。",
    "inputSchema": {
        "properties": {
            "place": {"title": "地点", "type": "string"}
        },
        "required": ["place"],
        "title": "get_weatherArguments",
        "type": "object"
    }
}

3. 将端点 URL 复制到您的 MCP 客户端,例如 Cherry Studio

3 4

4. 享受使用!

5

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client