Skip to content

[Bug]: MCP tools长时间无调用后,MCP name改变,导致Agent调用失败 #715

@KevinNotYou

Description

@KevinNotYou

相关组件

APP-Backend

Bug 描述

mcp-server长时间不用时,重新注册改变uuid,agent会使用先前的工具名,导致工具调用失败
工具名示例:mcp_6303eb82_8845_4334_a62f_e7525965c512_search_bugs
工具名格式:mcp_{UUID}_{tool_name}

期望行为

建议工具名格式:mcp_{mcp_server_name}_{tool_name}

操作系统

Windows11

确认事项

  • 我已经搜索了现有的 issues,确认这是一个新问题

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions