dify-plugin-agent-mcp_sse
dify-plugin-agent-mcp_sse copied to clipboard
Unable to connect to local MCP server
Please confirm before submission 在提交之前,请确认
- [x] I have searched for existing issues search for existing issues, including closed ones. 我已经搜索了现有问题搜索现有问题,包括已关闭的问题。"
Dify version Dify版本
latest
Plugin version 插件版本
latest
Function Calling or ReAct
ReAct
HTTP with SSE or Streamable HTTP
Streamable HTTP
Problem description 问题描述
When trying to connect to a local MCP server that I developed, I get this error message: Run failed: Failed to transform agent message: PluginInvokeError: {"args":{},"error_type":"ConnectError","message":"[Errno 111] Connection refused"}
The MCP server works as intended and is running, I tested it with the MCP inspector. It is deployed with streamable HTTP.
same issue
@dotorowoo i got it to work by building a Docker image of my MCP server and adding it as a service to the Dify docker-compose