aws / aws/amazon-q-developer-cli

Use purposeful api from rmcp to override default client name

Open
#3,229 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
2k
Forks
439
PR merge metrics
No merged PRs in 30d

Description

Since the release of RMCP 0.8.0, they have added a way to change the client name used for oauth.
https://github.com/modelcontextprotocol/rust-sdk/pull/469/files

Currently, this was achieved using a somewhat convoluted hack:
https://github.com/aws/amazon-q-developer-cli/blob/1fa1d74976e119459e99d50ccc40c87195de5547/crates/chat-cli/src/mcp_client/oauth_util.rs#L566-L621

We can get rid of this hack and just use the api as provided by the RMCP crate.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.