fastmcp/docs/v2/servers
Jeremiah Lowin 0f8d1b9e26
[3.x] Resolve injected tools through the server's tool lookup (#5432)
Backports `security/injected-tool-authorization` from main. Tools from `ToolInjectionMiddleware` are listed and resolved by the server's tool lookup, so a tool's `auth` check and every middleware in the chain, including `AuthMiddleware`, apply to them as they do to registered tools, wherever the injection middleware sits. Injected tools also follow their task configuration like registered tools. This also covers the deprecated `PromptToolMiddleware` and `ResourceToolMiddleware`, which build on `ToolInjectionMiddleware`.

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-04 10:39:55 -04:00
..
auth Reject dot-segments in redirect URI allowlist matching (#3963) 2026-04-17 17:49:25 -04:00
composition.mdx Fix broken documentation links (#2952) 2026-01-19 23:17:29 -05:00
context.mdx Fix broken documentation links (#2952) 2026-01-19 23:17:29 -05:00
elicitation.mdx Fix broken documentation links (#2952) 2026-01-19 23:17:29 -05:00
icons.mdx Restructure documentation for FastMCP 3.0 (#2951) 2026-01-19 21:33:35 -05:00
logging.mdx Fix broken documentation links (#2952) 2026-01-19 23:17:29 -05:00
middleware.mdx [3.x] Resolve injected tools through the server's tool lookup (#5432) 2026-10-04 10:39:55 -04:00
progress.mdx Fix broken documentation links (#2952) 2026-01-19 23:17:29 -05:00
prompts.mdx Fix broken documentation links (#2952) 2026-01-19 23:17:29 -05:00
proxy.mdx Fix broken code examples in docs (#3869) 2026-04-12 12:53:04 -04:00
resources.mdx Clarify resource path parameter safety (#4398) 2026-06-27 12:10:37 -04:00
sampling.mdx Fix broken documentation links (#2952) 2026-01-19 23:17:29 -05:00
server.mdx Fix broken documentation links (#2952) 2026-01-19 23:17:29 -05:00
storage-backends.mdx Fix broken code examples in docs (#3869) 2026-04-12 12:53:04 -04:00
tasks.mdx Restructure documentation for FastMCP 3.0 (#2951) 2026-01-19 21:33:35 -05:00
tools.mdx docs: standardize ToolAnnotations examples (#3952) 2026-04-17 16:42:57 -04:00