cli icon indicating copy to clipboard operation
cli copied to clipboard

[MATRIX-1216] added basic auth support for mcp connections

Open yanand0909 opened this issue 2 weeks ago • 3 comments

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 What section 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 & Review section 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 Radius section 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

yanand0909 avatar Nov 11 '25 15:11 yanand0909

: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.

LGTM. We might also need to update the gateway to loose the check on basic auth

Yes gateway changes are already merged

yanand0909 avatar Nov 12 '25 17:11 yanand0909

@yanand0909 , can you rebase and ask CLI team to take a look?

lihaosky avatar Nov 18 '25 19:11 lihaosky

@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

yanand0909 avatar Nov 18 '25 20:11 yanand0909

ok. So we are waiting for a2a revert revert and then rebase this

lihaosky avatar Nov 18 '25 20:11 lihaosky

ok. So we are waiting for a2a revert revert and then rebase this

Yes

yanand0909 avatar Nov 18 '25 20:11 yanand0909