mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-10-22 21:01:26 +02:00
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> |
||
|---|---|---|
| .. | ||
| auth | ||
| composition.mdx | ||
| context.mdx | ||
| elicitation.mdx | ||
| icons.mdx | ||
| logging.mdx | ||
| middleware.mdx | ||
| progress.mdx | ||
| prompts.mdx | ||
| proxy.mdx | ||
| resources.mdx | ||
| sampling.mdx | ||
| server.mdx | ||
| storage-backends.mdx | ||
| tasks.mdx | ||
| tools.mdx | ||