Skip to content

使用nacos+higress 将存量API转换为MCP访问 /mcp/{mcp-server-name}/sse 能正常连接,但是调用tool时有一定几率出现 -32602 Tool not allowed 报错 || Use nacos+higress to convert the existing API to MCP access /mcp/{mcp-server-name}/sse to connect normally, but there is a certain chance of a tool when calling -32602 Tool not allowed Report an error #2856

@yuhui321

Description

@yuhui321

使用nacos+higress 将存量API转换为MCP,访问/mcp/{mcp-server-name}/sse 能正常连接,但是调用tool时有一定几率出现 -32602 Tool not allowed 报错,场景不清楚,可能和并发有关系?

咨询nacos,他们说他们不负责tool的调用,问题在higress这边,请问什么情况下会出现 -32602 Tool not allowed 的报错

https://github.com/alibaba/nacos/issues/13766


Use nacos+higress to convert the existing API to MCP, and access /mcp/{mcp-server-name}/sse to connect normally, but there is a certain chance that the tool will occur when calling the tool -32602 Tool not allowed An error is reported. The scenario is unclear, which may be related to concurrency?

Consult with nacos, they said they are not responsible for the call of the tool. The problem is on the higress side. Under what circumstances will the -32602 Tool not allowed errors occur.

https://github.com/alibaba/nacos/issues/13766

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions