-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Please confirm before submission 在提交之前,请确认
- I have searched for existing issues search for existing issues, including closed ones.
我已经搜索了现有问题搜索现有问题,包括已关闭的问题。"
Dify version Dify版本
1.8.1
Plugin version 插件版本
0.2.3
HTTP with SSE or Streamable HTTP
Streamable HTTP
Problem description 问题描述
1. 部署ezbookking 参考文章,随后启用mcp。
https://blog.csdn.net/wbsu2004/article/details/149827439#comments_38080591
2. ezbookking给的json如下:
{
"mcpServers": {
"ezbookkeeping-mcp": {
"type": "streamable-http",
"url": "http://192.168.30.5:8422/mcp",
"headers": {
"Authorization": "Bearer eyJhbGciOiJIUzI1NiIxxxxxxxsAqM"
}
}
}
}3. 更改成插件可以用的json如下 :
{
"ezbookkeeping": {
"transport": "streamable_http",
"url": "http://192.168.30.5:8422/mcp",
"headers": {
"Authorization": "Bearer eyJhbGciOiJIUzI1NiIsxxxx0tZzujaHC8dlsAqM"
},
"timeout": 50
}
}4. 到dify中通过插件配置MCP
到市场安装mcp插件
5. 到dify创建Agent,在工具中添加MCP,并使用。

Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working