作者: hjlarry
版本: 0.0.4
类型: 扩展
仓库: https://github.com/hjlarry/dify-plugin-mcp_server
功能请求: 问题
一个Dify端点插件,可以将Dify应用转换为MCP服务器。
为了确保数据安全,请仅在私有网络内使用此插件。


应用的输入模式必须定义其输入参数。对于聊天Dify应用,确保在输入模式中包含一个query字段,格式如下:
{
"name": "get_weather",
"description": "获取某个地点的天气状况。",
"inputSchema": {
"properties": {
"place": {"title": "地点", "type": "string"}
},
"required": ["place"],
"title": "get_weatherArguments",
"type": "object"
}
}
Cherry Studio



Auth Bearer Token。例如,如果您的Auth Bearer Token设置为sk-abcdefgh,那么MCP客户端的请求头必须添加Authorization: Bearer sk-abcdefgh
ping方法添加响应,某些客户端使用此方法检查服务器健康状态Authorization: Bearer令牌验证器