github / github/copilot-cli

Too many MCP servers results in continuous compaction

Ouverte
#3,024 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
area:context-memory area:mcp
Langage dominant
Shell
Étoiles
11.2k
Forks
1.9k
Merge moyen
14 h 16 min
PR mergées (30 j)
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_

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.