aws / aws/amazon-q-developer-cli
bug: mcpServers schema requires "command" even for HTTP-based MCP servers
- 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
WSL
### Expected behaviour
In the agent-v1.json schema, each entry under mcpServers requires the "command" field.
This requirement does not make sense for MCP servers that use "type": "http", since HTTP servers connect via a URL instead of a local command.
https://github.com/aws/amazon-q-developer-cli/blob/main/schemas/agent-v1.json
### Actual behaviour
### Steps to reproduce
* Define an MCP server with "type": "http" and "url": "https://knowledge-mcp.global.api.aws".
* Validate it against the schema.
* Validation fails because "command" is missing.
### Environment
```yaml
```
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia da schemas/agent-v1.json e valida la configurazione del server HTTP MCP descritta nell'issue. Controlla lo schema della voce mcpServers e conferma che una voce con type "http" e un URL venga accettata senza command. Il lavoro è completato quando la validazione ha esito positivo per la configurazione segnalata, mentre command rimane obbligatorio dove applicabile.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- json
- Ambito
- cli
- Tipo di issue
- Bug
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Ferma
- Chiarezza
- Specificata chiaramente
- Idoneità per principianti
- 48/100