-
Notifications
You must be signed in to change notification settings - Fork 875
Description
Environment:Higress 2.1.7, Nacos 3.1
Description:
Nacos端
使用已有服务模式,开启http转MCP服务,配置tool成功
Higress端
1. 配置nacos为服务来源,开启mcp server功能
- 创建mcp服务,采用直接路由,后端服务前缀匹配路径”/cnkisearch“
Actual Behavior: 在clinet端可以正常获取tool list的信息,但是调用tool call时,客户端提示404, higress gateway报错:”{"ai_log":"-","authority":"10.84.3.40:32222","bytes_received":"131","bytes_sent":"126","downstream_local_address":"10.233.90.137:80","downstream_remote_address":"10.233.99.0:36284","duration":"1","istio_policy_status":"-","method":"POST","path":"/mcp/cnkisearch/cnkisearch","protocol":"HTTP/1.1","request_id":"4aa91d09-de55-4775-9862-fff8792619d3","requested_server_name":"-","response_code":"200","response_flags":"NR","route_name":"-","start_time":"2025-10-28T05:15:35.583Z","trace_id":"-","upstream_cluster":"-","upstream_host":"-","upstream_local_address":"-","upstream_service_time":"-","upstream_transport_failure_reason":"-","user_agent":"node","x_forwarded_for":"10.233.99.0","response_code_details":"route_not_found"}“
configuration:
higress-config
Expected Behavior:
mcp client可以正常调用服务
Environment: Higress 2.1.7, Nacos 3.1
Description:
Nacos side
Use the existing service mode, enable the http to MCP service, and configure the tool successfully.
Higress side
1. Configure nacos as the service source and enable the mcp server function
- Create mcp service, use direct routing, and the backend service prefix matches the path "/cnkisearch"
mcp client
Configure mcp server information

Actual Behavior: The tool list information can be obtained normally on the clinet side, but when calling tool call, the client prompts 404, higress gateway error: "{"ai_log":"-","authority":"10.84.3.40:32222","bytes_received":"131","bytes_sent": "126","downstream_local_address":"10.233.90.137:80","downstream_remote_address":"10.233.99.0 :36284","duration":"1","istio_policy_status":"-","method":"POST","path":"/mcp/cnkisearch/cnk isearch","protocol":"HTTP/1.1","request_id":"4aa91d09-de55-4775-9862-fff8792619d3","requested _server_name":"-","response_code":"200","response_flags":"NR","route_name":"-","start_time": "2025-10-28T05:15:35.583Z","trace_id":"-","upstream_cluster":"-","upstream_host":"-","upstre am_local_address":"-","upstream_service_time":"-","upstream_transport_failure_reason":"-","user_agent":"node","x_forwarded_for":"10.233.99.0","response_code_details":"route_not_found"}"
configuration:
higress-config
Expected Behavior:
mcp client can call services normally