fastmcp/tests/server/providers
Jeremiah Lowin 1ac166bd49
Restore proxy request context for resources, templates, and prompts
The request-context stash that lets proxy forwarding handlers relay
server-initiated requests (list_roots/sampling/elicitation) back to the
proxy's own client was only applied on the ProxyTool path. Proxied
resources, templates, and prompts whose backend called a server-initiated
feature would deadlock until timeout. Extract the stash into a shared
helper used by all four proxy paths.
2026-07-06 11:44:17 -04:00
..
local_provider_tools Adopt snake_case SDK type attribute access 2026-07-05 18:09:03 -04:00
openapi Merge remote-tracking branch 'origin/main' into sdkv2 2026-07-06 00:56:15 -04:00
proxy Restore proxy request context for resources, templates, and prompts 2026-07-06 11:44:17 -04:00
__init__.py Refactor MountedProvider into FastMCPProvider + TransformingProvider (#2653) 2025-12-19 11:42:59 -05:00
test_addressing.py Replace ___ with hash-based backend tool routing and per-tool prefab resources (#3824) 2026-04-12 12:52:07 -04:00
test_base_provider.py Surface proxy upstream failures (#4227) 2026-05-23 14:56:10 -04:00
test_fastmcp_provider.py Migrate mcp.types imports to mcp_types 2026-07-05 18:03:43 -04:00
test_local_provider.py fix: resolve Pyright "Module is not callable" on @tool, @resource, @prompt decorators (#3540) 2026-03-17 18:11:42 -04:00
test_local_provider_prompts.py Fix v2 content shapes: str uri for BlobResourceContents, tolerant request_id assertion 2026-07-05 23:52:22 -04:00
test_local_provider_resources.py Update v2 test idioms: MCPError 401 surface, unwrapped notifications, strict Annotations, request-id-agnostic, caching/storage snapshots 2026-07-05 23:23:48 -04:00
test_prefab_roundtrip.py Replace ___ with hash-based backend tool routing and per-tool prefab resources (#3824) 2026-04-12 12:52:07 -04:00
test_prefab_synthesis.py Replace ___ with hash-based backend tool routing and per-tool prefab resources (#3824) 2026-04-12 12:52:07 -04:00
test_skills_provider.py Migrate mcp.types imports to mcp_types 2026-07-05 18:03:43 -04:00
test_skills_vendor_providers.py Add Skills Provider for exposing agent skills as MCP resources (#2944) 2026-01-19 18:29:16 -05:00
test_transforming_provider.py Refactor transform list methods to pure function pattern (#2942) 2026-01-19 16:21:35 -05:00