π The fast, Pythonic way to build MCP servers and clients.
Update composition.mdx
Jeremiah Lowineb68fb2a6da3
diff --git a/docs/servers/composition.mdx b/docs/servers/composition.mdxindex b17facead..605da718c 100644--- a/docs/servers/composition.mdx+++ b/docs/servers/composition.mdx@@ -205,11 +205,17 @@ This was the default format in FastMCP before 2.4. While still supported, it's n### Configuring the Prefix Format-You can configure the prefix format globally:+You can configure the prefix format globally in code:```pythonfrom fastmcp import settings-settings.settings.resource_prefix_format = "protocol" # Switch to legacy format+settings.settings.resource_prefix_format = "protocol"+```++Or via environment variable:++```bash+FASTMCP_RESOURCE_PREFIX_FORMAT=protocol```Or per-server: