-
Notifications
You must be signed in to change notification settings - Fork 592
Open
Description
Please do a quick search on GitHub issues first, the feature you are about to request might have already been requested.
Expected Behavior
McpAsyncClient caches tools locally, there is no need to request the MCP server every time.
Current Behavior
Every time McpAsyncClient. listTools() is called, an HTTP request is sent, but the probability of tool changes is very small, which is very wasteful.
Context
Add a parameter “cache=true” to McpAsyncClient to automatically cache the tool list, and periodically request MCP Server to refresh the cache, or refresh the local cache through the notify mechanism.
Metadata
Metadata
Assignees
Labels
No labels