aws / aws/amazon-q-developer-cli
bug: mcp-remote should support custom authentication headers/flows for AWS-deployed MCP servers
- 主要言語
- Rust
- スター
- 2k
- フォーク
- 439
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
### 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
```
コントリビューションガイド
調査の方向性
まず、示されている q CLI 設定と AWS Solutions Guidance MCP サーバーで失敗を再現し、その後、mcp-remote が初期化と認証をどのように処理するかを調査します。AWS にデプロイされ、Cognito 認証を必要とする MCP サーバーが正常に接続し、サポートされているカスタムヘッダーまたは認証フローを使用して初期化を完了できれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- aws, node.js
- 領域
- api, authentication, cli
- issue の種類
- バグ
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 30/100