Support MCP tools caching
Open
@thiagob is already working on this.
Since Sep 14, 2026.
- Dominant language
- Python
- Stars
- 28
- Forks
- 42
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 35
Description
Describe the Problem
When listing tools, cache should be enabled and evicted when case consumer want.
Note: It should use similar approach for what is already in place for token caching
Propose a Solution
# caches MCP tools for 600 ms and resets in case callback_to_evict is called
options = { ttl="600", envict=callback_to_evict }
agw_client.list_tools(cache=options)
Describe Alternatives
No response
Affected Development Phase
Development
Impact
No Impact
Timeline
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.