server.transform(t) or via FastMCPOptions.transforms; transforms apply in registration order.
This page is under construction. The outline below sketches what it will cover.
- View types — read-only
ToolView/ResourceView/PromptViewsnapshots passed into transform methods; returningnullhides a component. - Built-ins —
renameTool,redescribeTool,FilterTransform,NamespaceTransform(prefix)(prefixes names but never URIs — prefixing a URI scheme violates RFC 3986),ResourcesAsTools(),PromptsAsTools(),VersionFilter(tag). - Synthesized tools —
synthesizeTools(resourceViews, promptViews)produces new tools from filtered views; synthesized tools run back through the transform chain. - Routing behavior with transforms active — how
tools/call,prompts/get, andresources/readresolve transformed vs. original names.