Skip to content

Tool Namespace Collision #9

Open
@lnbc1QWFyb24

Description

@lnbc1QWFyb24

The MCP spec does not really handle multiple tools with the same name, so their is no way for the agent to know which tool to call if multiple with the same name are registered. Would it be possible to modify the tool name to include the crate is relates to?

I am using it with AMP code, and currently I can only register a single MCP server for a single crate docs as they do not allow registering multiple servers with the same tool name, they prefer to fail in that case. Apparently Cursor will allow you to register multiple with the same name, but will just run the first tool, leading to undefined behaviour.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingplanned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions