fastmcp/docs
Jeremiah Lowin bc076cba12
Handle request_context availability during MCP initialization (#2400)
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
2025-11-15 10:50:24 -05:00
..
.cursor/rules Clean up parameter documentation 2025-06-22 20:59:53 -04:00
assets Support custom server name, icons, and link in OAuth Proxy consent page (#2135) 2025-10-18 11:49:26 -04:00
clients Document client meta parameter for sending ancillary request data (#2367) 2025-11-04 11:32:31 -05:00
community Update docs (#2094) 2025-10-14 16:38:21 -07:00
css Update wordmark (#1832) 2025-09-15 18:14:37 -04:00
deployment Remove trailing slashes from MCP endpoint URLs in docs (#2277) 2025-10-27 10:36:47 -04:00
development switch from pre-commit to prek (#2309) 2025-11-02 17:08:36 -05:00
getting-started Pin Cyclopts to v4.0.0 + compliance note (#2354) 2025-11-03 18:37:12 -05:00
integrations Add base_authority parameter to AzureProvider for Azure Government support (#2306) 2025-10-29 14:06:21 -04:00
patterns docs: clarify pytest-asyncio dependency and asyncio mode configuration (#2399) 2025-11-15 10:34:29 -05:00
public/schemas/fastmcp.json chore: Update fastmcp.json schema (#1955) 2025-09-29 20:12:24 -04:00
python-sdk Update CSP to allow data URI images on OAuth screens (#2405) 2025-11-15 10:30:31 -05:00
servers Handle request_context availability during MCP initialization (#2400) 2025-11-15 10:50:24 -05:00
snippets Add MCP json output from CLI (#1056) 2025-07-06 10:23:50 -04:00
tutorials Remove trailing slashes from MCP endpoint URLs in docs (#2277) 2025-10-27 10:36:47 -04:00
.ccignore Add comprehensive OAuth 2.1 authentication system with WorkOS integration (#1327) 2025-08-01 17:06:55 -04:00
changelog.mdx Stage 2.13.0 updates (#2252) 2025-10-25 08:52:21 -04:00
docs.json chore: Update SDK documentation (#2265) 2025-11-03 18:49:06 -05:00
updates.mdx Stage 2.13.0 updates (#2252) 2025-10-25 08:52:21 -04:00