-
Notifications
You must be signed in to change notification settings - Fork 646
Add MCP support for Redpanda Cloud #25802
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
a2aa6a8
to
b3f3616
Compare
src/go/rpk/go.mod
Outdated
@@ -41,6 +42,7 @@ require ( | |||
github.com/pkg/errors v0.9.1 | |||
github.com/prometheus/client_model v0.6.1 | |||
github.com/prometheus/common v0.62.0 | |||
github.com/redpanda-data/common-go/proto v0.0.0-20250416183016-0cd4089182bd |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to pull *pb.mcp.go
files
this is currently on a branch, i will update before merging
Organization iamv1connect.OrganizationServiceClient | ||
ResourceGroup controlplanev1connect.ResourceGroupServiceClient | ||
Serverless controlplanev1connect.ServerlessClusterServiceClient | ||
Region controlplanev1connect.RegionServiceClient |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added missing clients
@@ -33,6 +33,15 @@ func newAuthInterceptor(token string) connect.UnaryInterceptorFunc { | |||
} | |||
} | |||
|
|||
func newReloadingAuthInterceptor(f func() string) connect.UnaryInterceptorFunc { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is a specialized interceptor, that does not use a static token. instead, it can call a function that provides the token (which can be refreshed in the background)
8022cf2
to
875fa5d
Compare
ef2c072
to
ce7a537
Compare
i addressed the comments, could you have a look once more @r-vasquez ? thanks! |
CI test resultstest results on build#64852
test results on build#64873
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
https://github.com/redpanda-data/redpanda/pull/25802/files#r2048801329 <- Let me know when you update this and I'll approve right away.
- Add command to install the MCP server. Currently, only claude desktop is supported. - Add command to serve the stdio server. MCP clients launch it as a subprocess, and interact over stdin/stdout with it. - Authentication to cloud is completely re-used from rpk.
/backport v25.1.x |
I would like to avoid introducing a plugin for this for now, we'll be fine with the release cycle of core. We're not expecting this to change very often (and want to spare all the time required to do a plugin).
Backports Required
Release Notes