aws / aws/amazon-q-developer-cli

bug: MCP servers without Tools are stuck in "Servers still loading"

Open
#2,905 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
2k
Forks
439
PR merge metrics
No merged PRs in 30d

Description

### 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

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.