mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-18 03:29:11 +02:00
The on_initialize hook (2.13.0) runs before the MCP session is established, causing request_context to be unavailable. Changed request_context to return None instead of raising, allowing middleware to check availability and use HTTP helpers when needed. Updated docs to guide this pattern. Closes #2393 |
||
|---|---|---|
| .. | ||
| 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 | ||
| tools.mdx | ||