cli
cli copied to clipboard
[MATRIX-1216] added basic auth support for mcp connections
Release Notes
New Features
- Added basic authentication support for MCP_SERVER connection type
Checklist
- [x] I have successfully built and used a custom CLI binary, without linter issues from this PR.
- [x] I have clearly specified in the
Whatsection below whether this PR applies to Confluent Cloud, Confluent Platform, or both. - [x] I have verified this PR in Confluent Cloud pre-prod or production environment, if applicable.
- [x] I have verified this PR in Confluent Platform on-premises environment, if applicable.
- [x] I have attached manual CLI verification results or screenshots in the
Test & Reviewsection below. - [x] I have added appropriate CLI integration or unit tests for any new or updated commands and functionality.
- [x] I confirm that this PR introduces no breaking changes or backward compatibility issues.
- [x] I have indicated the potential customer impact if something goes wrong in the
Blast Radiussection below. - [x] I have put checkmarks below confirming that the feature associated with this PR is enabled in:
- [x] Confluent Cloud prod
- [x] Confluent Cloud stag
- [ ] Confluent Platform
- [ ] Check this box if the feature is enabled for certain organizations only
What
Added basic authentication support for MCP_SERVER connection type
Blast Radius
This is a new authentication feature support and independent to the existing ones so should not affect anything
References
https://confluentinc.atlassian.net/browse/MATRIX-1216
Test & Review
Added test for this and tested with locally built binary, snapshots of which is added in below thread https://confluent.slack.com/archives/CG6BW233L/p1762874095525569
:tada: All Contributor License Agreements have been signed. Ready to merge.
Please push an empty commit if you would like to re-run the checks to verify CLA status for all contributors.
Quality Gate passed
Issues
7 New issues
0 Fixed issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code
LGTM. We might also need to update the gateway to loose the check on basic auth
Yes gateway changes are already merged
@yanand0909 , can you rebase and ask CLI team to take a look?
@yanand0909 , can you rebase and ask CLI team to take a look?
@lihaosky A2A changes were reverted as the gateway changes has not made it to prod yet but cli team is tracking this here
ok. So we are waiting for a2a revert revert and then rebase this
ok. So we are waiting for a2a revert revert and then rebase this
Yes