Skip to main content

strip_plugin_namespace

Function strip_plugin_namespace 

Source
pub fn strip_plugin_namespace(name: &str) -> &str
Expand description

The bare server name inside a plugin-namespaced configured name. The CLI exposes a plugin-provided MCP server as plugin:<plugin>:<server>, which reads worse than the package-derived name; anything else (including a plain name that merely contains a colon) is returned verbatim.