aws / aws/amazon-q-developer-cli
bug: MCP servers without Tools are stuck in "Servers still loading"
- Lingua principale
- Rust
- Stelle
- 2k
- Fork
- 439
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
### Checks
- [x] I have searched [github.com/aws/amazon-q-developer-cli/issues](https://github.com/aws/amazon-q-developer-cli/issues?q=) and there are no duplicates of my issue
- [x] I have run `q doctor` in the affected terminal session
- [x] I have run `q restart` and replicated the issue again
### Operating system
OSX
### Expected behaviour
After all present capabilities of MCP servers are loaded, they should not be in "pending" to be loaded. i.e, MCP servers with resources only, or prompts only, or resources and prompts, should be not stuck in "Servers still loading".
### Actual behaviour
MCP servers without Tools are stuck in "Servers still loading", because it is the listing Tools that removes it from the ` pending` status: https://github.com/aws/amazon-q-developer-cli/blob/main/crates/chat-cli/src/cli/chat/tool_manager.rs#L1379
### Steps to reproduce
_No response_
### Environment
```yaml
```
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia in crates/chat-cli/src/cli/chat/tool_manager.rs alla riga indicata e traccia come il caricamento delle funzionalità del server MCP modifica lo stato pending. Verifica il comportamento dei server che espongono resources o prompts senza Tools. Il lavoro è completato quando questi server escono dallo stato pending e non mantengono più l’interfaccia su «Servers still loading» dopo il caricamento delle funzionalità disponibili.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- rust
- Ambito
- cli
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100