Skip to content

Conversation

@paulohtb6
Copy link
Collaborator

@paulohtb6 paulohtb6 commented Jul 28, 2025

Description

Cloud reference redpanda-data/cloud-docs#369

Resolves https://redpandadata.atlassian.net/browse/DOC-1301
Review deadline:

Page previews

Checks

  • New feature
  • Content gap
  • Support Follow-up
  • Small fix (typos, links, copyedits, etc)

@paulohtb6 paulohtb6 requested a review from a team as a code owner July 28, 2025 19:51
@netlify
Copy link

netlify bot commented Jul 28, 2025

Deploy Preview for redpanda-docs-preview ready!

Name Link
🔨 Latest commit f6e90d2
🔍 Latest deploy log https://app.netlify.com/projects/redpanda-docs-preview/deploys/68893ad085a20a00084daf3a
😎 Deploy Preview https://deploy-preview-1242--redpanda-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jul 28, 2025

Important

Review skipped

Auto incremental reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

📝 Walkthrough

Walkthrough

Two new documentation partials have been added for the rpk cloud mcp install and rpk cloud mcp stdio commands. These documents provide usage instructions and detailed descriptions of available command-line flags for each command. The install command documentation covers installing the Redpanda Cloud MCP server for Claude Desktop and configuring related options, while the stdio command documentation explains how to run the MCP stdio server and its configurable flags. No changes were made to code or public APIs; only new documentation files were introduced.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Suggested reviewers

  • Feediver1
  • micheleRP
✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch rpk-mcp

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai generate unit tests to generate unit tests for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@paulohtb6 paulohtb6 requested a review from JakeSCahill July 28, 2025 19:51
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (6)
modules/reference/partials/rpk-cloud/rpk-cloud-mcp-install.adoc (3)

12-15: Use the canonical [source,bash] block attribute

The language‐specifying attribute is missing the source qualifier, which prevents syntax highlighting in most Asciidoctor renderers.

-[,bash]
+[source,bash]

23-35: Standardise the Type column for boolean flags

The table currently uses - for boolean values while string and array types are fully spelled out. Replace - with bool to keep the column semantically meaningful and in line with other docs.

-|--allow-delete |- |Allow delete RPCs.
-|-h, --help     |- |Help for install.
-|-v, --verbose  |- |Enable verbose logging.
+|--allow-delete |bool |Allow delete RPCs.
+|-h, --help     |bool |Help for install.
+|-v, --verbose  |bool |Enable verbose logging.

8-8: Back-tick the mcpServer field for readability

Marking field names as code improves legibility and matches the style used elsewhere in the file.

-Writes an mcpServer entry with name "redpandaCloud" into `claude_desktop_config.json` in Claude Desktop's config directory.
+Writes an `mcpServer` entry named `"redpandaCloud"` into `claude_desktop_config.json` in Claude Desktop's config directory.
modules/reference/partials/rpk-cloud/rpk-cloud-mcp-stdio.adoc (3)

7-10: Add source qualifier to enable syntax highlighting

Mirror the change suggested for the install page.

-[,bash]
+[source,bash]

18-28: Align boolean flag types with the rest of the docs

For consistency, label boolean flags explicitly as bool.

-|--allow-delete |- |Allow delete RPCs. Off by default.
-|-h, --help     |- |Help for stdio.
-|-v, --verbose  |- |Enable verbose logging.
+|--allow-delete |bool |Allow delete RPCs. Off by default.
+|-h, --help     |bool |Help for stdio.
+|-v, --verbose  |bool |Enable verbose logging.

1-29: Consider extracting a shared partial for the common flag table

Both MCP pages repeat the same flag definitions. A shared partial (for example, _partials/rpk-cloud/common-mcp-flags.adoc) would reduce duplication and the risk of future drift.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 78effdd and 99e4e2f.

📒 Files selected for processing (2)
  • modules/reference/partials/rpk-cloud/rpk-cloud-mcp-install.adoc (1 hunks)
  • modules/reference/partials/rpk-cloud/rpk-cloud-mcp-stdio.adoc (1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
  • GitHub Check: Redirect rules - redpanda-docs-preview
  • GitHub Check: Header rules - redpanda-docs-preview
  • GitHub Check: Pages changed - redpanda-docs-preview

@paulohtb6
Copy link
Collaborator Author

paulohtb6 commented Jul 28, 2025

hey @r-vasquez does the rpk cloud mcp parent command does anything? We added here but it looks like it's empty. Does it have functionality or only the children commands [rpk cloud mcp ...] have functionality?

Copy link
Contributor

@Feediver1 Feediver1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See suggested updates

@r-vasquez
Copy link
Contributor

Hi @paulohtb6, LGTM, but I'm also tagging the expert on this command @birdayz in case you have something else to add here. 👍

w.r.t the parent command being empty, I fixed this in redpanda-data/redpanda@346a04a, but it does nothing, is just the parent command. <- This will be out for 25.2

@paulohtb6 paulohtb6 merged commit ea7aeac into main Jul 30, 2025
7 checks passed
@paulohtb6 paulohtb6 deleted the rpk-mcp branch July 30, 2025 16:23
@coderabbitai coderabbitai bot mentioned this pull request Sep 16, 2025
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants