aws / aws/amazon-q-developer-cli

bug: mcpServers in agent doesn't support SSE server transport

Aperta
#2,803 2 commenti 2 reazioni 0 assegnatari Vedi su GitHub
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

I'd like to add mcp server with SSE for an agent, such as
```
"mcpServers": {
"my-first-mcp": {
"url": "http://localhost:8080/sse",
"timeout": 60000
}
}
```
But it complains that `command` is required. In the `agent-v1.json` file, [command is required](https://github.com/aws/amazon-q-developer-cli/blob/main/schemas/agent-v1.json#L87-L89).

### Actual behaviour

But it complains that `command` is required. In the `agent-v1.json` file, [command is required](https://github.com/aws/amazon-q-developer-cli/blob/main/schemas/agent-v1.json#L87-L89).

### Steps to reproduce

_No response_

### Environment

```yaml

```

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia leggendo schemas/agent-v1.json nella definizione del comando collegata e confrontalo con la gestione della configurazione dell'agente per mcpServers. Riproduci l'errore di validazione con la configurazione URL mostrata, quindi traccia il supporto al trasporto esistente. Il lavoro è completato quando un agente può accettare e utilizzare un server MCP SSE senza richiedere command.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
rust
Ambito
cli
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.