部署方式:
helm install higress -n higress-system [higress.io/higress](http://higress.io/higress) \ --create-namespace \ --render-subchart-notes \ --set [global.local](http://global.local/)=true \ --set higress-console.o11y.enabled=false \ --set global.enableRedis=true \ --set global.enableGatewayAPI=true \
配置文件 使用 kubectl edit configmap higress-config -n higress-system修改配置文件如下: `mcpServer: sse_path_suffix: /sse enable: true redis: address: 10.96.135.23:6379 match_list:
match_rule_domain: "*" match_rule_path: /postgres match_rule_type: "prefix" match_rule_domain: "*" match_rule_path: /user match_rule_type: "prefix"`服务列表&路由配置均与demo相同
测试大模型没问题,只有请求MCP的时候,cursor会报错
测试MCP curl 'http://localhost:80/user/sse' \ -H 'Content-Type: text/event-stream'
在cursor中报错如下 (两个报错交替出现)
log如下
2025-04-19T04:03:01.66226575Z stdout F {"ai_log":"-","authority":"localhost","bytes_received":"57","bytes_sent":"0","downstream_local_address":"10.244.0.8:80","downstream_remote_address":"172.19.0.1:61822","duration":"1","istio_policy_status":"-","method":"POST","path":"/user?sessionId=ef581a6a-e6fa-463e-940f-6e9a12a77f2b","protocol":"HTTP/1.1","request_id":"626c2b38-9344-45a3-9767-0282367785d1","requested_server_name":"-","response_code":"202","response_flags":"-","route_name":"-","start_time":"2025-04-19T04:03:01.287Z","trace_id":"-","upstream_cluster":"outbound|443||user.dns","upstream_host":"-","upstream_local_address":"-","upstream_service_time":"-","upstream_transport_failure_reason":"-","user_agent":"node","x_forwarded_for":"172.19.0.1","response_code_details":"via_wasm::higress-system.mcp-server-1.0.0::json_rpc_ack"}
请各位指教一下是哪里配置出现了问题,感谢感谢