Skip to main content

composed_name

Function composed_name 

Source
pub fn composed_name(server: &str, tool: &str) -> String
Expand description

Compose the registry name for one server’s tool.

Why: mcp__<server>__<tool> is Claude Code’s own convention, so a model already trained on that surface reads a tcode tool list the same way, and the mcp__ prefix keeps a server’s tool from ever colliding with a built-in. Test: super::tests::tool_tests::composed_names_follow_the_claude_code_convention.