fastmcp/docs
Jeremiah Lowin 5f941be5a3
Fix stale request context in StatefulProxyClient handlers (#3172)
* fix: restore request context in StatefulProxyClient handlers

StatefulProxyClient reuses sessions across requests, so its receive-loop
task inherits a stale request_ctx ContextVar from the first request.
Server-initiated messages (elicitation, sampling, etc.) that depend on
related_request_id routing get sent to a closed stream and hang forever.

Closes #3169

* chore: Update SDK documentation

---------

Co-authored-by: marvin-context-protocol[bot] <225465937+marvin-context-protocol[bot]@users.noreply.github.com>
2026-02-12 17:13:23 -05:00
..
.cursor/rules Clean up parameter documentation 2025-06-22 20:59:53 -04:00
assets Update FastMCP Cloud references to Prefect Horizon (#2978) 2026-01-21 20:52:08 -05:00
clients feat: add Static Client Registration (#3085) (#3086) 2026-02-09 20:40:06 -05:00
community Update docs (#2094) 2025-10-14 16:38:21 -07:00
css Restructure documentation for FastMCP 3.0 (#2951) 2026-01-19 21:33:35 -05:00
deployment Pin httpx < 1.0 and simplify beta install docs (#2975) 2026-01-21 21:08:46 -05:00
development Support non-serializable values in Context.set_state (#3171) 2026-02-12 15:06:42 -06:00
getting-started Update docs to reference beta 2 (#3112) 2026-02-07 10:33:12 -05:00
integrations Add Azure OBO dependencies, auth token injection, and documentation (#2918) 2026-02-09 20:06:57 -05:00
patterns Add CIMD (Client ID Metadata Document) support for OAuth (#2871) 2026-02-06 13:44:52 -05:00
public/schemas/fastmcp.json chore: Update fastmcp.json schema (#1955) 2025-09-29 20:12:24 -04:00
python-sdk Fix stale request context in StatefulProxyClient handlers (#3172) 2026-02-12 17:13:23 -05:00
servers Support non-serializable values in Context.set_state (#3171) 2026-02-12 15:06:42 -06:00
snippets Reorganize docs around provider architecture (#2723) 2025-12-25 09:00:20 -05:00
tutorials Remove trailing slashes from MCP endpoint URLs in docs (#2277) 2025-10-27 10:36:47 -04:00
v2 Add release notes for v2.14.4 and v2.14.5 (#3064) 2026-02-03 10:47:06 -05:00
.ccignore Add comprehensive OAuth 2.1 authentication system with WorkOS integration (#1327) 2025-08-01 17:06:55 -04:00
changelog.mdx Add release notes for v2.14.4 and v2.14.5 (#3064) 2026-02-03 10:47:06 -05:00
docs.json Update docs to reference beta 2 (#3112) 2026-02-07 10:33:12 -05:00
updates.mdx Add release notes for v2.14.4 and v2.14.5 (#3064) 2026-02-03 10:47:06 -05:00
v2-banner.js Restructure documentation for FastMCP 3.0 (#2951) 2026-01-19 21:33:35 -05:00