Too many MCP servers results in continuous compaction
Open
area:context-memory
area:mcp
- Dominant language
- Shell
- Stars
- 11.2k
- Forks
- 1.9k
- Avg merge
- 14h 16m
- Merged PRs (30d)
- 6
Description
### Describe the bug
The CLI agent can end up in a degenerate state when you enable too many MCP servers that expand past the available context window of the model in question supporting the harness.
The CLI should detect this state and warn the user. In my case, I ended up with 94k / 128k context window consumed by tools
### Affected version
GitHub Copilot CLI 1.0.37.
### Steps to reproduce the behavior
_No response_
### Expected behavior
_No response_
### Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.