GitHits
Search public open-source code, documentation, metadata, vulnerabilities, changelogs, and examples.
Connect AI assistants to the Rubrik Security Cloud GraphQL API to discover, query, and automate.
列表按使用分(满分 100)排序,由以下部分组成
| 热度 | 6/80 | GitHub 星标或每周下载量:较大的计 60,较小的计 20 |
|---|---|---|
| 新鲜度 | 12/12 | 30 天内有发布或代码更新得满分 |
| 仍在响应 | 0/8 | 上次检查时云端端点有响应 |
| 使用分 | 18/100 |
质量: 基础检查通过 3/3 项(仅展示,不用于排序) · 上升势头: 暂无数据 (只用于“上升中”标签)
选择你使用的 AI 应用,然后复制设置。
用一句话让 AI 帮你安装
请帮我安装 Rubrik Security Cloud。按照 https://mcp.popnx.com/i/rubrikinc-rubrik-mcp.md 操作,先把命令给我看,等我同意后再运行。粘贴到能在你电脑上工作的 AI(如 Claude Code、Cursor)。它会读取我们的步骤,先给你看命令,等你同意。无需密钥,无需注册。 · 查看 AI 会读取的全文
通过 3/3 项检查 · 在你的电脑上运行 · ✓ 命令已检查 2026年11月14日
第一步:你用哪个 AI?
选择你用的应用,步骤会显示在下方。
可连接 Claude,但需要先准备
需要 Rubrik Security Cloud 的密钥(在开发者网站创建) · 需要先在电脑上安装 Python (uv)(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
把这段话复制到 Claude 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 Claude 安装 MCP server Rubrik Security Cloud,按顺序:1) 用 uv --version 检查是否有 uv。没有的话,请让我从 https://docs.astral.sh/uv/getting-started/installation/ 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "rubrik": { "command": "uvx", "args": [ "rubrik-mcp" ], "env": { "RSC_CLIENT_SECRET": "your-value" } } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) RSC_CLIENT_SECRET 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 Rubrik Security Cloud 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
uv --versionMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: uv 没有点选式安装程序。从 uv 官方页面复制适合你系统(macOS 或 Windows)的一行命令,粘贴到终端 · 不需要单独安装 Python,uv 会在需要时自动下载
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: uv --version
安装一次,所有需要 uv 的工具都能用
打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。
SettingsDeveloperEdit Config
{
"mcpServers": {
"rubrik": {
"command": "uvx",
"args": [
"rubrik-mcp"
],
"env": {
"RSC_CLIENT_SECRET": "your-value"
}
}
}
}只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
用 Rubrik Security Cloud 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude 说正在使用 Rubrik Security Cloud,或回答中出现 Rubrik Security Cloud 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
RSC_SERVICE_ACCOUNT_FILE RSC 服务账户 JSON 文件的路径。可选:发现工具无需凭据即可工作。 RSC_URL RSC URL, e.g. https://example.my.rubrik.com. Alternative to a service account file.RSC_CLIENT_ID 服务账户的客户端 ID。与 RSC_URL 和 RSC_CLIENT_SECRET 一起使用。 RUBRIK_MCP_CONFIG_DIR 用于存放门控策略和已保存工作流的目录。默认为 /.config/rubrik-mcp。 说明为自动翻译,变量名保持原样;不确定时请查看原文。
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
ChatGPT 暂时无法连接 Rubrik Security Cloud
Rubrik Security Cloud 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器
A · 使用能连接 Rubrik Security Cloud 的应用
B · 网络安全 类中能连接 ChatGPT 的其他服务器
从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的
可连接 Claude Code,但需要先准备
需要 Rubrik Security Cloud 的密钥(在开发者网站创建) · 需要先在电脑上安装 Python (uv)(只需一次)
把这段话复制到 Claude Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 Claude Code 安装 MCP server Rubrik Security Cloud,按顺序:1) 用 uv --version 检查是否有 uv。没有的话,请让我从 https://docs.astral.sh/uv/getting-started/installation/ 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):claude mcp add --scope user rubrik --env RSC_CLIENT_SECRET=your-value -- uvx rubrik-mcp 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) RSC_CLIENT_SECRET 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 Rubrik Security Cloud 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
uv --versionMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: uv 没有点选式安装程序。从 uv 官方页面复制适合你系统(macOS 或 Windows)的一行命令,粘贴到终端 · 不需要单独安装 Python,uv 会在需要时自动下载
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: uv --version
安装一次,所有需要 uv 的工具都能用
打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。
Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell
claude mcp add --scope user rubrik --env RSC_CLIENT_SECRET=your-value -- uvx rubrik-mcp按 Enter 前,把“your-value”改成你的密钥
只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
应能看到 Rubrik Security Cloud 在列表中并显示已连接
用 Rubrik Security Cloud 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude Code 说正在使用 Rubrik Security Cloud,或回答中出现 Rubrik Security Cloud 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
RSC_SERVICE_ACCOUNT_FILE RSC 服务账户 JSON 文件的路径。可选:发现工具无需凭据即可工作。 RSC_URL RSC URL, e.g. https://example.my.rubrik.com. Alternative to a service account file.RSC_CLIENT_ID 服务账户的客户端 ID。与 RSC_URL 和 RSC_CLIENT_SECRET 一起使用。 RUBRIK_MCP_CONFIG_DIR 用于存放门控策略和已保存工作流的目录。默认为 /.config/rubrik-mcp。 说明为自动翻译,变量名保持原样;不确定时请查看原文。
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Cursor,但需要先准备
需要 Rubrik Security Cloud 的密钥(在开发者网站创建) · 需要先在电脑上安装 Python (uv)(只需一次)
把这段话复制到 Cursor 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 Cursor 安装 MCP server Rubrik Security Cloud,按顺序:1) 用 uv --version 检查是否有 uv。没有的话,请让我从 https://docs.astral.sh/uv/getting-started/installation/ 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "rubrik": { "command": "uvx", "args": [ "rubrik-mcp" ], "env": { "RSC_CLIENT_SECRET": "your-value" } } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) RSC_CLIENT_SECRET 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 Rubrik Security Cloud 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
uv --versionMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: uv 没有点选式安装程序。从 uv 官方页面复制适合你系统(macOS 或 Windows)的一行命令,粘贴到终端 · 不需要单独安装 Python,uv 会在需要时自动下载
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: uv --version
安装一次,所有需要 uv 的工具都能用
打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。
在 Rubrik Security Cloud 的设置中,RSC_CLIENT_SECRET 还是空的,填入你的密钥并保存
只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
用 Rubrik Security Cloud 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Cursor 说正在使用 Rubrik Security Cloud,或回答中出现 Rubrik Security Cloud 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
RSC_SERVICE_ACCOUNT_FILE RSC 服务账户 JSON 文件的路径。可选:发现工具无需凭据即可工作。 RSC_URL RSC URL, e.g. https://example.my.rubrik.com. Alternative to a service account file.RSC_CLIENT_ID 服务账户的客户端 ID。与 RSC_URL 和 RSC_CLIENT_SECRET 一起使用。 RUBRIK_MCP_CONFIG_DIR 用于存放门控策略和已保存工作流的目录。默认为 /.config/rubrik-mcp。 说明为自动翻译,变量名保持原样;不确定时请查看原文。
菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同
可连接 VS Code,但需要先准备
需要 Rubrik Security Cloud 的密钥(在开发者网站创建) · 需要先在电脑上安装 Python (uv)(只需一次)
把这段话复制到 VS Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。
请在这台电脑上为 VS Code 安装 MCP server Rubrik Security Cloud,按顺序:1) 用 uv --version 检查是否有 uv。没有的话,请让我从 https://docs.astral.sh/uv/getting-started/installation/ 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "servers": { "rubrik": { "type": "stdio", "command": "uvx", "args": [ "rubrik-mcp" ], "env": { "RSC_CLIENT_SECRET": "your-value" } } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) RSC_CLIENT_SECRET 先保留 "your-value",请我自己把真实值粘贴到文件或应用的输入框里。不要让我在对话里输入密钥。5) 按约定执行,然后确认 Rubrik Security Cloud 的工具真的出现了。这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。
已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter
uv --versionMac:按 ⌘ + Space,输入 Terminal 后按 Enter
Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”
还没安装: uv 没有点选式安装程序。从 uv 官方页面复制适合你系统(macOS 或 Windows)的一行命令,粘贴到终端 · 不需要单独安装 Python,uv 会在需要时自动下载
装好后关掉终端再打开,重新运行同一条命令,应显示版本号: uv --version
安装一次,所有需要 uv 的工具都能用
打开开发者网站,注册账户并创建 API 密钥,下一步要用。价格和免费方案请看开发者网站。
在 Rubrik Security Cloud 的设置中,RSC_CLIENT_SECRET 还是空的,填入你的密钥并保存
只把密钥粘贴到应用的输入框里,不要粘贴到聊天中或发给任何人
用 Rubrik Security Cloud 告诉我你能帮我做什么,然后做一件给我看✓ 如果 VS Code 说正在使用 Rubrik Security Cloud,或回答中出现 Rubrik Security Cloud 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
RSC_SERVICE_ACCOUNT_FILE RSC 服务账户 JSON 文件的路径。可选:发现工具无需凭据即可工作。 RSC_URL RSC URL, e.g. https://example.my.rubrik.com. Alternative to a service account file.RSC_CLIENT_ID 服务账户的客户端 ID。与 RSC_URL 和 RSC_CLIENT_SECRET 一起使用。 RUBRIK_MCP_CONFIG_DIR 用于存放门控策略和已保存工作流的目录。默认为 /.config/rubrik-mcp。 说明为自动翻译,变量名保持原样;不确定时请查看原文。
菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同
Claude Code
claude mcp add --scope user rubrik --env RSC_CLIENT_SECRET=your-value -- uvx rubrik-mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"rubrik": {
"command": "uvx",
"args": [
"rubrik-mcp"
],
"env": {
"RSC_CLIENT_SECRET": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"rubrik": {
"command": "uvx",
"args": [
"rubrik-mcp"
],
"env": {
"RSC_CLIENT_SECRET": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"rubrik": {
"type": "stdio",
"command": "uvx",
"args": [
"rubrik-mcp"
],
"env": {
"RSC_CLIENT_SECRET": "your-value"
}
}
}
}RSC_SERVICE_ACCOUNT_FILE envRSC_URL envRSC_CLIENT_ID envRSC_CLIENT_SECRET 机密 必填 envRUBRIK_MCP_CONFIG_DIR env说明为自动翻译,变量名保持原样;不确定时请查看原文。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
在你的电脑上运行,适用于
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月19日
注册名称已通过 GitHub 账户 rubrikinc 验证,该账户拥有此仓库
代码最后更新于6天前
使用 MIT
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
OSV.dev 中没有 rubrik-mcp@0.11.20261026 的记录
只检查这个版本的包本身,不包括所有依赖 · 检查于 2026年11月15日
如果你是作者,可把这段代码贴到 README。徽章会链接回本页。
[](https://mcp.popnx.com/en/servers/rubrikinc-rubrik-mcp)提问、分享技巧或报告无法使用。按“有帮助”数量排序。
还没有评价
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:RSC_CLIENT_SECRET
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于6天前,最新版本(0.11.20261026)于19天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:GitHits, Dependency Management MCP Server, Snyk MCP, TokenSafe, Draugr
同一分类、其他作者、命令已通过检查。官方的排在前面,再按星标排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Search public open-source code, documentation, metadata, vulnerabilities, changelogs, and examples.
Sonatype component intelligence: versions, security analysis, and Trust Score recommendations
Easily find and fix security issues in your applications leveraging Snyk platform capabilities.
Your AI agent is smart enough to code all day. Local firewall & zero-loss runtime.
Security scanning for AI agents: SAST, SCA, secrets, IaC, DAST, ranked by real risk.
| 本项 Rubrik Security Cloud | GitHits | Dependency Management MCP Server | Snyk MCP | TokenSafe | Draugr | |
|---|---|---|---|---|---|---|
| 运行位置 | 需要安装在电脑上 | 云端或安装在电脑上都可以 | 在云端运行,无需安装 | 需要安装在电脑上 | 云端或安装在电脑上都可以 | 需要安装在电脑上 |
| 需要密钥 | 是 | 否 | 否 | 否 | 否 | 否 |
| 可在 Claude 中按 + 添加 | 否 | 否 | 否 | 否 | 否 | 否 |
| 基础检查 | 3/3 | 5/5 | 3/4 | 3/3 | 5/5 | 3/3 |
| 许可证 | MIT | Apache-2.0 | – | Apache-2.0 | MIT | Apache-2.0 |
| 价格 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 | 登记中未列出费用 |
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
An MCP server that connects AI assistants to the Rubrik Security Cloud GraphQL API. It's built for Rubrik admins and teams automating against Rubrik, and runs locally (on your own workstation or on an agent's server) alongside the AI assistant that calls it.
The MCP ships with a pre-built index of the entire RSC GraphQL API. The discovery tools let the AI agent explore that index — searching operations, inspecting full argument signatures, tracing input and return types — to find exactly the right operation and field shape for any request. This produces precise, well-formed GraphQL on the first try.
Discovery tools require no RSC credentials and work entirely offline. This makes them useful on their own: if you're evaluating the API, prototyping an integration, or building automation before you have production credentials, you can start immediately.
> "What operations are available for SLA management?"
"Show me the full argument shape for the assignSla mutation."
"Generate Python code to assign an SLA domain to a list of workload IDs."
Because the agent understands both queries and mutations from the schema index, it can generate runnable Python code for any write operation — without ever connecting to RSC.
With an RSC service account, the agent can run live GraphQL queries against your environment:
Raw GraphQL execution is read-only. If you ask for a write operation not covered by a built-in tool, the server returns the attempted mutation and the agent generates a runnable code sample. A small number of write operations are available as dedicated built-in tools: on-demand snapshots (rsc_take_on_demand_snapshot), host onboarding (rsc_onboard_host), and SLA assignment (rsc_assign_sla). These are disabled by default — set "writes_enabled": true in the gating policy to expose them. For everything else, the generated code approach gives you a runnable script with full control.
[!WARNING]
Write tools act on your Rubrik environment, and the LLM driving the MCP decides when to call them. Any model can misread instructions or be influenced by untrusted data it reads (prompt injection) and invoke a write tool you did not intend — for example an SLA change via
rsc_assign_slathat leaves data unprotected. As more write tools are added, this surface grows. They are disabled by default for that reason; enabling them is an explicit choice. The durable boundary is a least-privilege, read-only service account, which cannot perform any write operation regardless of which model you use or how the agent behaves. See Service account role recommendations, and enable Quorum Authorization for destructive operations.
Discovery — no credentials required
| Tool | What it does |
|---|---|
rsc_search_schema | Find the right query or mutation by keyword, field meaning, or type vocabulary in one call |
rsc_describe_operation_full | Argument signature with all input/enum types expanded inline |
rsc_describe_type | Fields and values for a GraphQL type |
Execution — service account required
| Tool | What it does |
|---|---|
rsc_execute_operation | Run any raw GraphQL query (mutations generate code instead) |
rsc_get_workloads | Workloads with protection status, compliance, and backup history |
rsc_get_events | Recent events and activity, always time-scoped |
rsc_get_clusters | Rubrik clusters registered in RSC, with status, version, capacity, and runway |
rsc_get_sla_domains | SLA Domains with base frequency, retention lock, archival, and replication settings |
rsc_search_help | Search KB articles, product docs, and known issues by keyword |
rsc_take_on_demand_snapshot | Trigger a backup for a workload and return the job ID |
rsc_wait_for_job | Poll a job until completion |
rsc_onboard_host | Register a physical or virtual host |
rsc_assign_sla | Assign, unassign, or set do-not-protect on workloads |
Workflow management — service account required
| Tool | What it does |
|---|---|
rsc_save_workflow | Save a conversation flow as a named reusable tool |
rsc_list_workflows | List all saved workflows |
rsc_delete_workflow | Remove a saved workflow |
After the agent has done the discovery work to answer a question, you can save that entire flow as a named MCP tool:
"Save this as a workflow so I can reuse it."
On the next restart, that tool appears alongside the built-in tools — a single call instead of multi-step schema discovery. Repeated operations use fewer tokens and respond faster. Workflow files are plain JSON you can edit, version-control, and share with your team.
If you're using Claude Code, paste this into the chat and the agent will handle the rest:
"Add the Rubrik MCP server (PyPI package
rubrik-mcp, run it withuvx rubrik-mcp) to my Claude Code MCP configuration. My RSC service account JSON is at~/.rsc/service_account.json."
For Claude Desktop:
"Add the Rubrik MCP server (PyPI package
rubrik-mcp, run it withuvx rubrik-mcp) to my Claude Desktop config. My RSC service account JSON is at~/.rsc/service_account.json."
Using uvx (recommended): there is nothing to install separately. uvx rubrik-mcp downloads the package from PyPI into a cached, isolated environment and runs it. Use it directly as the command in your client configuration below. To pin a specific release, use rubrik-mcp@ , for example uvx rubrik-mcp@0.11.20261102.
Using pip:
pip install rubrik-mcp
Note the full path to the installed command. You will use it in place of uvx rubrik-mcp in the client configuration:
which rubrik-mcp
For environments that require install-time hash verification (each package checked against a known-good cryptographic hash before it is installed), a hashed requirements.txt is published in this repository for each release. Install the verified dependency set first, then the package itself:
pip install --require-hashes -r requirements.txt
pip install --no-deps rubrik-mcp
requirements.txt is generated from the locked, hash-pinned dependency set (uv export); --require-hashes makes pip refuse any package whose hash does not match, and --no-deps on the second step keeps the verified set untouched. Then configure your client with the full path to rubrik-mcp, as in the pip instructions above. This path is optional; the standard install is sufficient for most users.
Claude Code:
claude mcp add rubrik -e RSC_SERVICE_ACCOUNT_FILE=/path/to/service_account.json -- uvx rubrik-mcp
Options such as -e go before --; everything after -- is the command that launches the server. For discovery-only usage, omit the -e option.
Verify it's registered:
claude mcp list
Claude Desktop: edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": { "rubrik": { "command": "uvx", "args": ["rubrik-mcp"], "env": { "RSC_SERVICE_ACCOUNT_FILE": "/path/to/service_account.json" } } } }
Desktop apps don't always inherit your shell's PATH. If Claude Desktop reports that it can't find uvx, replace "uvx" with its full path from which uvx (for example /Users/you/.local/bin/uvx).
Other MCP clients (generic stdio):
{
"name": "rubrik", "transport": "stdio", "command": "uvx", "args": ["rubrik-mcp"], "env": { "RSC_SERVICE_ACCOUNT_FILE": "/path/to/service_account.json" } }
If you installed with pip, set "command" to the full path of rubrik-mcp and drop "args".
Create a service account in RSC at Settings > Users and Roles > Service Accounts. Download the JSON credential file when prompted — RSC will not show the secret again.
The credential file looks like this:
{
"client_id": "client|...", "client_secret": "...", "access_token_uri": "https:// /api/client_token" }
Provide it to the MCP server using one of three methods (checked in this order):
Option A — Service account JSON file (recommended)
export RSC_SERVICE_ACCOUNT_FILE=/path/to/service_account.json
Option B — Individual environment variables
export RSC_URL=https://<your-rsc-domain>
export RSC_CLIENT_ID=client|... export RSC_CLIENT_SECRET=...
Option C — Config file at `~/.rsc/config.json`
{
"client_id": "client|...", "client_secret": "...", "access_token_uri": "https:// /api/client_token" }
The role you assign to the service account determines what the MCP server can access. Assign only what your workflows actually need.
For monitoring, reporting, and auditing — assign a read-only role. This covers workload listing, compliance status, event history, and backup reporting. A read-only role cannot modify SLA assignments, trigger snapshots, or change any configuration. This is the right starting point for most users.
For DevOps automation — assign a role with the specific permissions your automation requires. Common additions: SLA management permissions (to assign or modify SLA domains) and on-demand backup permissions (to trigger snapshots). Do not grant cluster admin or global admin unless the workflow explicitly requires it.
General guidance:
chmod 600 on any file containing a client_secret.Sdk-Language: rubrik-mcp, Sdk-Version set to the MCP version, and a User-Agent such as `rubrik-mcp/<ve