From redpanda
Manages the lifecycle of the Redpanda AI CLI plugin (rpk ai: install, upgrade, uninstall) and injects cloud auth (RPAI_TOKEN/RPAI_ENDPOINT) before delegating subcommands to the downloaded rpai binary. Also exposes Redpanda cluster operations to AI agents via the Model Context Protocol (rpk cloud mcp). Use when: installing, upgrading, or uninstalling the rpk ai plugin; delegating subcommands to the rpai binary with auto-injected cloud credentials; setting up the MCP server so an AI agent like Claude can drive Redpanda Cloud; wiring rpk cloud mcp stdio or rpk cloud mcp install into a Claude Desktop or Claude Code config; configuring the MCP proxy to a remote dataplane MCP server; understanding which Redpanda APIs are exposed as MCP tools (control-plane clusters, IAM, dataplane topics/ACLs/pipelines/transforms, AI Gateway); passing RPAI_TOKEN or RPAI_ENDPOINT env vars to the AI plugin; resolving cloud auth errors for the AI Gateway; or choosing between rpk ai and rpk cloud mcp. Also covers the AI Gateway enterprise governance and security surfaces (guardrails / word and content filters, rate limits, spend limits, routing rules, model providers, access-control/RBAC policies, roles and teams, audit logging, SSO/OIDC/OAuth2 identity providers, FIPS) and the dataplane AI resources (AI Agents, MCP servers and their auth variants, Knowledge Bases) with their nested config keys. Redpanda Cloud is a managed Redpanda Enterprise Edition deployment; the self-managed analogues (Audit Logging, RBAC, OIDC/OAuthBearer/Kerberos auth, FIPS, schema ID validation) require an Enterprise license.
How this skill is triggered — by the user, by Claude, or both
Slash command
/redpanda:aiThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Redpanda exposes two related AI surfaces under `rpk`:
Redpanda exposes two related AI surfaces under rpk:
rpk ai — a managed plugin (binary slug rpai) that gives a rich CLI for the Redpanda AI Gateway. rpk downloads it on first use and manages its lifecycle (install / upgrade / uninstall). The plugin receives cloud auth automatically from the active rpk profile.
rpk cloud mcp — an MCP (Model Context Protocol) server built directly into rpk that exposes Redpanda Cloud control-plane, IAM, dataplane, and AI Gateway operations as LLM-callable tools. Wire it into Claude Desktop or Claude Code and let an AI agent create topics, list clusters, manage ACLs, configure the AI Gateway, and more — all through natural language.
# Install the latest version (auto-downloaded on first subcommand too)
rpk ai install
# Pin a specific version
rpk ai install --ai-version 0.2.0
# Force reinstall
rpk ai install --force
# Check the installed version
rpk ai --version
# Upgrade to latest
rpk ai upgrade
# Uninstall
rpk ai uninstall
The plugin binary is installed to ~/.local/bin/.rpk.managed-rpai.
# Log in to Redpanda Cloud first
rpk cloud login
# Auto-install: writes the mcpServers.redpandaCloud entry into ~/.claude.json
rpk cloud mcp install --client claude-code
# With delete operations enabled (off by default)
rpk cloud mcp install --client claude-code --allow-delete
After running this command, restart Claude Code. The redpandaCloud MCP server is immediately available.
rpk cloud mcp install --client claude
Writes the entry into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or the equivalent AppData path on Windows.
# Start the stdio MCP server — used directly by MCP clients
rpk cloud mcp stdio
# With delete RPCs enabled
rpk cloud mcp stdio --allow-delete
# Proxy to an MCP server running inside a specific cluster
rpk cloud mcp proxy \
--cluster-id <cluster-id> \
--mcp-server-id <mcp-server-id>
# Or for a serverless cluster
rpk cloud mcp proxy \
--serverless-cluster-id <serverless-cluster-id> \
--mcp-server-id <mcp-server-id>
# Install the proxy config into Claude Code instead of serving live
rpk cloud mcp proxy \
--cluster-id <cluster-id> \
--mcp-server-id <mcp-server-id> \
--install --client claude-code
rpk cloud mcp install)Using rpk cloud mcp install is recommended because it writes the correct OS-specific config path automatically. If you hand-edit, the --config value must match the path returned by os.UserConfigDir() on your OS:
~/.config/rpk/rpk.yaml (or $XDG_CONFIG_HOME/rpk/rpk.yaml if $XDG_CONFIG_HOME is set)~/Library/Application Support/rpk/rpk.yaml%AppData%\rpk\rpk.yaml{
"mcpServers": {
"redpandaCloud": {
"command": "rpk",
"args": [
"--config", "<path from os.UserConfigDir()/rpk/rpk.yaml>",
"cloud", "mcp", "stdio"
]
}
}
}
For Claude Code place this in ~/.claude.json; for Claude Desktop place it in the claude_desktop_config.json shown above.
# rpk auto-injects RPAI_TOKEN from the active cloud profile
rpk cloud login # sets the cached token in rpk.yaml
rpk ai <subcommand> # rpk exports RPAI_TOKEN + RPAI_ENDPOINT automatically
# Override the AI Gateway endpoint explicitly
rpk ai <subcommand> --rpai-endpoint https://my-aigw.example.com
# Or via env vars (take priority over profile lookup)
export RPAI_TOKEN=<bearer-token>
export RPAI_ENDPOINT=https://my-aigw.example.com
rpk ai <subcommand>
| Command | Description |
|---|---|
rpk ai install | Download and install the Redpanda AI CLI plugin |
rpk ai upgrade | Upgrade the plugin to the latest version (managed installs only) |
rpk ai uninstall | Remove the installed plugin |
rpk ai <anything> | Delegates to the plugin binary after injecting cloud auth |
The plugin itself provides its own subcommands (for managing models, gateways, accounts, etc. in the AI Gateway). Run rpk ai --help after installing to see the current list.
| Command | Description |
|---|---|
rpk cloud mcp stdio | Run the MCP server on stdio (used by MCP clients) |
rpk cloud mcp install | Write MCP config into Claude Desktop or Claude Code |
rpk cloud mcp proxy | Proxy stdio to a remote dataplane MCP server |
When an MCP client connects to rpk cloud mcp stdio, it receives tools from these service groups:
Delete operations are disabled by default. Pass --allow-delete to enable them.
The AI Gateway runs on Redpanda Cloud — a managed Redpanda Enterprise Edition deployment — so its governance, security, and cost-control surfaces are first-class. An AI agent drives them via the ai_gateway_url-scoped MCP tool groups (or the rpai plugin):
words, regex, mask_replacement, per-direction action/DirectionConfig) and content filters (per-category violent_crimes, hate, privacy, ... each with strength/action/modalities).requests_per_second / requests_per_minute / requests_per_day keyed by key_extractor/expression.limit_cents, tokens_per_minute/tokens_per_day, window/size_seconds, alert_thresholds, action; usage via GetSpendLimitUsage.backend_pool + fallback_pool + priority selected by expression.base_url, auth_type, openai_compat/openai_native, data_policy/data_region/data_retention_days; models via ModelsService, pricing via ModelPricingService.policy_text, principal/resource/action/effect, priority) plus RoleService and TeamService; validate/evaluate with ValidatePolicy/EvaluateAccess.AuditService (GetAuditLog, ListAuditLogs).issuer_url, client_id, jwks_uri, claim_mappings, jit_provisioning, domain binding), OAuth2 clients, and signing keys.See ai-gateway-governance.md for every nested config key.
Per-cluster (dataplane_api_url) AI resources, exposed as the v1alpha3 MCP tool groups:
ManagedAgentSpec with model, llm_provider, system_prompt, max_iterations (0–200), mcp_servers (≤32 refs), and subagents (each restricted to a subset of the parent's MCP servers).RemoteMCPConfig/ManagedMCPConfig, code_mode, and auth variants (NoAuth, TokenPassthroughAuth, StaticKeyAuth, BasicAuth, APIKeyAuth, ServiceAccountOAuthAuth, UserOAuthAuth) that reference secrets via *_secret_ref.See ai-dataplane-resources.md for the full field set.
Redpanda Cloud requires no separate license key. For self-managed Redpanda, the governance/security primitives the AI surface mirrors are gated behind a valid Enterprise license: Audit Logging (audit_enabled), RBAC (rpk security role), OAUTHBEARER/OIDC and Kerberos auth (sasl_mechanisms/http_authentication), FIPS (fips_mode — note rpk ai/rpai has no FIPS build), and Server-Side Schema ID Validation (enable_schema_id_validation). Check status with rpk cluster license info. See enterprise-self-managed.md.
rpk ai managed plugin — install/upgrade/uninstall lifecycle, the rpai plugin slug, auto-injection of RPAI_TOKEN and RPAI_ENDPOINT, and how the plugin is dispatched.rpk cloud mcp in depth — stdio server, install command (Claude Desktop / Claude Code), proxy command, MCP tool groups exposed, auth/token refresh, and the allow-delete gate.ManagedAgentSpec), MCP servers (remote/managed config + auth variants), and Knowledge Bases, with their config keys grounded in the adp v1alpha1 proto.rpk cluster license info verification.npx claudepluginhub redpanda-data/skills --plugin redpandaOffers UI/UX design guidance for web and mobile with 50+ styles, 161 color palettes, 57 font pairings, and 99 UX guidelines across 10 stacks. Use for designing pages, components, color systems, or reviewing UI code.
Mines projects and conversations into a searchable memory palace. Activates on queries about MemPalace, memory palace, mining, searching, palace setup, wings, rooms, drawers, or recalling past work.