aws / aws/amazon-q-developer-cli
bug: mcp-remote should support custom authentication headers/flows for AWS-deployed MCP servers
- Vorherrschende Sprache
- Rust
- Sterne
- 2k
- Forks
- 439
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
### 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
linux
### Expected behaviour
## Expected Behavior
mcp-remote should be able to connect to MCP servers that require authentication (like AWS Cognito JWT tokens) by supporting custom headers or auth plugins
### Actual behaviour
mcp-remote fails to connect to AWS-deployed MCP servers with error "-32002: connection closed: initialize response" because it doesn't support the required Cognito authentication flow
### Steps to reproduce
1.Deploy MCP server using AWS Solutions Guidance (https://aws.amazon.com/solutions/guidance/deploying-model-context-protocol-servers-on-aws/)
2. Configure Q CLI with: "command": "npx", "args": ["mcp-remote", "https://server-url/mcp"]
3. Server requires Cognito authentication but mcp-remote doesn't support auth headers
4. Connection fails during initialization
### Environment
```yaml
```
Beitragsleitfaden
Rechercherichtung
Beginne damit, den Fehler mit der gezeigten q CLI-Konfiguration und dem AWS Solutions Guidance MCP-Server zu reproduzieren; untersuche anschließend, wie mcp-remote die Initialisierung und Authentifizierung handhabt. Als erledigt gilt die Aufgabe, wenn ein in AWS bereitgestellter MCP-Server, der Cognito-Authentifizierung erfordert, erfolgreich eine Verbindung herstellen und die Initialisierung mithilfe der unterstützten benutzerdefinierten Header oder des Authentifizierungsablaufs abschließen kann.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- aws, node.js
- Bereich
- api, authentication, cli
- Issue-Typ
- Bug
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 30/100