gemini-cli icon indicating copy to clipboard operation
gemini-cli copied to clipboard

Handle MCP servers with many resources

Open MrLesk opened this issue 2 months ago • 0 comments

What would you like to be added?

PRs https://github.com/google-gemini/gemini-cli/pull/13178 and https://github.com/google-gemini/gemini-cli/pull/14854 add support for MCP resources.

Right now there is no proper handling for server that have too many resources.

A potential solution could be pagination/truncation.

Why is this needed?

Model might get overwhelmed by the many resources available and could make the discovery of MCP resources unusable. In the worst case the application could crash.

Additional context

No response

MrLesk avatar Dec 13 '25 21:12 MrLesk