Skip to main content
New in version 3.0.0 The Namespace transform prefixes all component names, preventing conflicts when composing multiple servers. Tools and prompts receive an underscore-separated prefix. Resources and templates with scheme:// URIs receive a path-segment prefix. URIs without ://, such as urn:example:config, remain unchanged for both listing and reading. They can collide across namespaces; equal identifiers follow the normal provider resolution order. The most common use is through the mount() method’s namespace parameter.
You can also apply namespacing directly using the Namespace transform.