MCPClient RuntimeError: Unsupported protocol version from the server: 1.0

I’m using spring-ai-starter-mcp-server-webmvc application to connect to dify. When I try to authenticate via the MCP tool provider, I get the following error:

http://192.168.1.24:12001/console/api/workspaces/current/tool-provider/mcp/auth

500 INTERNAL SERVER ERROR