Skip to content

Conversation

@hypen-code
Copy link
Contributor

This PR adds support for namespacing MCP tools to avoid naming conflicts and improve environment distinction.

Closes #5270

Changes

  • Added tool_name_prefix parameter to MCPTools.__init__()
  • Implemented automatic prefixing logic in tool registration
  • Maintained backward compatibility with empty string default

allow specifying a prefix for tool names in mcp tools (agno-agi#5270)
@hypen-code hypen-code requested a review from a team as a code owner November 1, 2025 11:04
@dirkbrnd
Copy link
Contributor

dirkbrnd commented Nov 4, 2025

This looks great! We might need some docs updates for this

@manuhortet manuhortet changed the title [feat] Add tool_name_prefix parameter to MCPTools for namespace support (#5270) feat: add tool_name_prefix param to MCPTools Nov 4, 2025
@manuhortet manuhortet added the docs-needed The official Agno docs should be updated label Nov 4, 2025
@manuhortet
Copy link
Contributor

Looks great. Thanks for the contribution @hypen-code, we really appreciate it!

@manuhortet manuhortet merged commit e6183a3 into agno-agi:main Nov 4, 2025
5 checks passed
@hypen-code
Copy link
Contributor Author

Glad to contribute! Thanks for the merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs-needed The official Agno docs should be updated

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request] Add tool_name_prefix parameter to MCPTools for namespace support

3 participants