fastmcp/docs/servers
Jeremiah Lowin e257b76bc6
Remove resource_prefix_format="protocol" support (deprecated 2.4.0) (#2342)
* Remove resource_prefix_format="protocol" support (fixes #2195)

Removes deprecated protocol format (prefix+resource://path) and keeps only
path format (resource://prefix/path). Since only one format remains:

- Removed resource_prefix_format from settings, FastMCP.__init__, and helpers
- Simplified add_resource_prefix, remove_resource_prefix, has_resource_prefix
- Removed MountedServer.resource_prefix_format field
- Deleted tests for protocol format

All resource prefixes now use path format exclusively.

* Clean up resource_prefix_format references

- Remove from test files
- Update documentation to remove protocol format section
- Move custom HTTP routes note to mounting section
- Remove resource_prefix_format from settings docs

* Use inline version note instead of badge for prefix format

* Remove obsolete test functions and update docs

- Delete test functions that no longer assert anything
- Remove proxy.mdx reference to deleted prefix format section

* Format error messages per ruff
2025-11-01 16:24:56 -04:00
..
auth Add DebugTokenVerifier with custom sync/async validation (#2296) 2025-10-31 10:38:01 -04:00
composition.mdx Remove resource_prefix_format="protocol" support (deprecated 2.4.0) (#2342) 2025-11-01 16:24:56 -04:00
context.mdx Add list_resources, list_prompts, and get_prompt methods to Context (#2249) 2025-10-24 19:24:02 -04:00
elicitation.mdx Add storage backend documentation (#2137) 2025-10-19 19:24:13 -04:00
icons.mdx Added to_data_uri method for Image class. (#2227) 2025-11-01 11:40:08 -04:00
logging.mdx Also push client messages (info/warn/debug) to server debug log (#2063) 2025-10-14 11:38:26 -07:00
middleware.mdx Add ToolInjectionMiddleware + Tools for Read/List Resource/Prompt for Client Compat (#2142) 2025-10-24 18:06:58 -04:00
progress.mdx Update parameter capitalization 2025-06-28 15:06:16 -04:00
prompts.mdx Implement icon support (#2121) 2025-10-17 17:28:08 -04:00
proxy.mdx Remove resource_prefix_format="protocol" support (deprecated 2.4.0) (#2342) 2025-11-01 16:24:56 -04:00
resources.mdx Implement icon support (#2121) 2025-10-17 17:28:08 -04:00
sampling.mdx Move sampling fallback handler docs to server section (#2163) 2025-10-21 10:02:11 -04:00
server.mdx Remove resource_prefix_format="protocol" support (deprecated 2.4.0) (#2342) 2025-11-01 16:24:56 -04:00
storage-backends.mdx Add maturity warnings for py-key-value backends 2025-10-29 21:43:31 +00:00
tools.mdx Update content type in advanced_tool function (#2147) 2025-10-20 08:43:35 -04:00