mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-28 10:18:08 +02:00
* fix: cache component lists in ProxyProvider to avoid redundant backend connections Every call_tool through a proxy was triggering _list_tools() to resolve the tool by name, opening a full MCP session just for the lookup, then opening a second session for the actual execution. This caches component lists on the ProxyProvider with a configurable TTL (default 300s), cutting backend handshakes in half for repeated calls. * docs: document component caching and session reuse for proxy providers * fix: add sleep in cache TTL test for Windows clock resolution * docs: clarify cache scope and dynamic backend guidance |
||
|---|---|---|
| .. | ||
| local_provider_tools | ||
| openapi | ||
| proxy | ||
| __init__.py | ||
| test_base_provider.py | ||
| test_fastmcp_provider.py | ||
| test_local_provider.py | ||
| test_local_provider_prompts.py | ||
| test_local_provider_resources.py | ||
| test_skills_provider.py | ||
| test_skills_vendor_providers.py | ||
| test_transforming_provider.py | ||