aws / aws/amazon-q-developer-cli
bug: MCP server to aded to q-cli
- 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
macos
### Expected behaviour
mcp server available in `/tools` list
### Actual behaviour
mcp.json is added to .amazonq/mcp.json according to https://github.com/awslabs/mcp/blob/main/src/aws-documentation-mcp-server/README.md
but q-cli does not see this config and is not adding to tools
```
> /tools
Current tool permissions:
- execute_bash Write-only commands [Default]
- report_issue Trusted [Default]
- use_aws Write-only commands [Default]
- fs_write Per-request [Default]
- fs_read Trusted [Default]
```
there should appear:
```
- awslabs.aws-documentation-mcp-server ___read_documentation
- awslabs.aws-documentation-mcp-server ___search_documentation
```
to be able use aws mcp when prompting
### Steps to reproduce
mcp.json is added to .amazonq/mcp.json according to https://github.com/awslabs/mcp/blob/main/src/aws-documentation-mcp-server/README.md
but q-cli does not see this config and is not adding to tools
```
> /tools
Current tool permissions:
- execute_bash Write-only commands [Default]
- report_issue Trusted [Default]
- use_aws Write-only commands [Default]
- fs_write Per-request [Default]
- fs_read Trusted [Default]
```
there should appear:
```
- awslabs.aws-documentation-mcp-server ___read_documentation
- awslabs.aws-documentation-mcp-server ___search_documentation
```
to be able use aws mcp when prompting
### Environment
```yaml
[q-details]
version = "1.7.3"
hash = "3e4ae79d371315e80ddac772b43fff2cba314104"
date = "2025-04-10T05:48:16.435186Z (1d ago)"
variant = "full"
[system-info]
os = "macOS 12.5.1 (21G83)"
total-cores = 4
memory = "16.00 GB"
[environment]
cwd = "/private/tmp/amazon-q-for-command-line"
cli-path = "/private/tmp/amazon-q-for-command-line"
os = "Mac"
shell-path = "/bin/zsh"
shell-version = "5.8"
terminal = "iTerm 2"
install-method = "brew"
```
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
L'issue identifica .amazonq/mcp.json e il comando /tools; inizia riproducendo il problema con q doctor e q restart su macOS 12.5.1 usando q 1.7.3, quindi traccia il percorso per capire dove la CLI carica la configurazione MCP e popola /tools. Il lavoro è completato quando i due strumenti MCP aws-documentation compaiono nell'elenco /tools.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- macos, 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
- 42/100