aws / aws/amazon-q-developer-cli
failed to retrieve MCP settings — MCP disabled
- 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 26.4.1 (25E253)
### Expected behaviour
**Expected Behavior:**
When running kiro-cli, MCP settings should be successfully retrieved and MCP servers should be accessible and available for use during the session. No "failed to retrieve MCP settings" error should appear, and tools provided by configured MCP servers should be callable.
### Actual behaviour
**Actual Behavior:**
When running kiro-cli, the error message "failed to retrieve MCP settings — MCP disabled" is displayed and MCP servers are not accessible. Tools provided by configured MCP servers cannot be used during the session.
I've tried with different mcp.json files and none seem to resolve the issue. This issue began spontaniously after version **2.2.0**
### Steps to reproduce
**Actual Behavior:**
When running kiro-cli, the error message "failed to retrieve MCP settings — MCP disabled" is displayed and MCP servers are not accessible. Tools provided by configured MCP servers cannot be used during the session.
### Environment
```yaml
[q-details]
version = "2.2.2"
hash = "7b8bf7d8e854fbf3b4071b047526b3dd851b2563"
date = "2026-05-05T23:09:32.804354Z (2d ago)"
variant = "full"
[system-info]
os = "macOS 26.4.1 (25E253)"
chip = "Apple M4 Pro"
total-cores = 14
memory = "48.00 GB"
[environment]
cwd = "/Users/USER"
cli-path = "/Users/USER"
os = "Mac"
shell-path = "/bin/zsh"
shell-version = "5.9"
terminal = "Hyper"
install-method = "unknown"
[env-vars]
KIRO_API_KEY = "ksk_qXDmXOtg5Rz3XnkbTuMjZnkucD7VHBzk"
PATH = "/opt/homebrew/opt/grep/libexec/gnubin:/Users/USER/Library/Android/sdk/platform-tools:/Users/USER/.npm-global/bin:/Users/USER/.npm-global/bin:/Users/USER/.nvm/versions/node/v24.14.1/bin:/Users/USER/.claude/local/bin:/Users/USER/.bun/bin:/Users/USER/.local/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/opt/pkg/env/active/bin:/opt/pmk/env/global/bin:/Library/Apple/usr/bin:/opt/homebrew/bin:/Users/USER/.local/bin"
QTERM_SESSION_ID = "a5dac6d75cf04f0d993a048903e243f7"
Q_SET_PARENT_CHECK = "1"
Q_TERM = "2.2.2"
SHELL = "/bin/zsh"
TERM = "xterm-256color"
__CFBundleIdentifier = "co.zeit.hyper"
```
**Sample mcp.json example**:
```json
{
"mcpServers": {
"aws-docs": {
"command": "uvx",
"args": [
"awslabs.aws-documentation-mcp-server@latest"
],
"env": {
"FASTMCP_LOG_LEVEL": "ERROR"
},
"disabled": false,
"autoApprove": [
"search_documentation",
"read_documentation"
]
},
"chrome-devtools": {
"command": "npx",
"args": [
"-y",
"chrome-devtools-mcp@latest",
"--browser-url=http://127.0.0.1:9222"
],
"autoApprove": [
"new_page",
"take_snapshot",
"click"
]
}
}
}
```
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia riproducendo il malfunzionamento in kiro-cli con gli esempi mcp.json forniti, quindi esegui q doctor e q restart come riportato. Confronta il comportamento tra le versioni 2.2.0 e 2.2.2 e traccia il recupero delle impostazioni MCP; il lavoro è completato quando le impostazioni MCP valide vengono caricate senza il messaggio di disabilitazione e gli strumenti del server configurato sono accessibili.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Ambito
- cli, tooling
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Tranquilla
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 35/100