使用docker部署的doris-mcp-server 没有sse怎么办?

提问者:Rae 问题分类:运维
使用Docker部署的Doris-MCP-server 没有sse报错,提示:
PluginInvokeError: {"args":{},"error_type":"ConnectionError","message":"doris_mcp_server_test - MCP Server connection fAIled: Client error '404 Not Found' for url 'http://10.116.8.15:3000/sse'\nFor more information check: Https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404"}
现在怎么办?
1 个回答
浮°
浮°
SSE + HTTP从Doris MCP Server 0.3.0 移除了。为符合 MCP 官方后续发展路线要求,已从0.3.0版本起弃用 SSE + HTTP 模式,全部改为 Streamable HTTP 模式,在配置使用时,请在 Dify 授权的 JSON 串内添加使用协议类型的配置项:transport,且端口从 /sse 改为 /mcp,可参考以下示例
"doris_mcp_server": {
    "transport": "streamable_http",
    "url": "http://127.0.0.1:3000/mcp"
}
使用这里的"transport": "streamable_http"即可。
发布于:7小时前 IP属地:四川省
我来回答