连接器指南阅读约 5 分钟19 个 MCP 工具7 种语言

将 Rubrik MCP 连接到 Microsoft Copilot

让你的 AI 检查 Rubrik 备份:集群健康状况和容量、SLA Domain、受保护对象及其 SLA 合规、快照、失败的作业和任务报告、异常检测和威胁狩猎结果。通过服务账号只读访问 GraphQL。

HC作者:HelpCode 团队更新于 5 分钟阅读 在 GitHub 开源

无需信用卡 · 7 天试用 · 提供自托管方案

Rubrik Security Cloud

Rubrik Security Cloud

Let your AI check your Rubrik backups: cluster health and capacity, SLA Domains, protected objects and SLA compliance, snapshots, failed jobs and task reports, anomaly detection and threat hunt results. Read-only GraphQL with a service account.

个工具

19

区域

INTL

类别

基础设施

身份验证

Sign-in token

所需环境变量

RUBRIK_ACCOUNTRUBRIK_CLIENT_IDRUBRIK_CLIENT_SECRET
在 Cloud 上一键安装

7 天免费试用 · 无需信用卡

  • 7 天免费试用
    无需信用卡
  • 符合 GDPR,SOC 2 就绪
    数据驻留欧盟,审计日志
  • 在 GitHub 开源
    开源 · AGPL-3.0
  • 支持 ChatGPT、Claude、Gemini
    任何兼容 MCP 的客户端

摘要

让你的 AI 检查 Rubrik 备份:集群健康状况和容量、SLA Domain、受保护对象及其 SLA 合规、快照、失败的作业和任务报告、异常检测和威胁狩猎结果。通过服务账号只读访问 GraphQL。

引导式设置

2 分钟将 Rubrik Security Cloud 连接到 Microsoft Copilot

开始 AnythingMCP Cloud 免费试用,在引导式设置中连接 Rubrik Security Cloud,再把你的 MCP URL 添加到 Microsoft Copilot。无需代码,也无需自行运行服务器。

无需信用卡 · 7 天试用 · 提供自托管方案

试试这样问

Rubrik Security Cloud 的示例提示

点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。

Rubrik Security Cloud · 通过 MCP 实时
分享
Opus 4.7

Claude 是 AI,可能会出错。请核对回答。

💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → Rubrik Security Cloud、粘贴凭证、生成 MCP API key,即可完成。无 Docker、无 git clone、无本地服务器。

Rubrik Security Cloud + Microsoft Copilot

让你的 AI 检查 Rubrik 备份:集群健康状况和容量、SLA Domain、受保护对象及其 SLA 合规、快照、失败的作业和任务报告、异常检测和威胁狩猎结果。通过服务账号只读访问 GraphQL。

前提条件

完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:

RUBRIK_ACCOUNT, RUBRIK_CLIENT_ID, RUBRIK_CLIENT_SECRET

步骤 1 — 获取凭证

设置大约需要 5 分钟。你需要一个 Rubrik Security Cloud(RSC)账号,并能在 RSC 中访问 Settings, Users and Access 来添加服务账号。

  1. 在 RSC 中打开 Settings, Users and Access, Service Accounts,添加一个服务账号(service account)。给它分配一个能查看 AI 需要看到的内容的角色:一个只读的自定义角色,具备集群、SLA Domain、对象、事件和威胁分析(threat analytics)的查看权限即可。
  2. 下载服务账号的 JSON 文件。其中包含 client_id(以 client| 开头)、client_secret 和 access_token_uri(https://<account>.my.rubrik.com/api/client_token)。
  3. 把 RUBRIK_ACCOUNT 设为你的账号名:即 RSC 地址和 access_token_uri 中 .my.rubrik.com 前面的部分,小写,不带 https://,例如 acme.my.rubrik.com 对应 acme。
  4. 把 client_id 复制到 RUBRIK_CLIENT_ID,把 client_secret 复制到 RUBRIK_CLIENT_SECRET。
  5. 安装连接器,运行 rubrik_get_account 检查连接:它会返回账号 ID 和 RSC 的部署版本。

Cloud 和自托管的方式相同:连接器使用同一个服务账号调用你账号的 GraphQL API https://<account>.my.rubrik.com/api/graphql;无需登记任何 Redirect URL。

令牌自动续期:连接器在 https://<account>.my.rubrik.com/api/client_token 用 client id 和 secret 换取访问令牌(client credentials 授权),并以 Authorization: Bearer 发送。令牌默认有效 12 小时(在 RSC 的会话设置中最长可设为 24 小时),会在过期前以及收到 401 后自动续期。

妥善保存 secret:RSC 只显示一次 client_secret。如果丢失,请新建一个服务账号并填入它的值。

角色决定 AI 能看到什么:AI 只能看到服务账号的角色有权查看的内容。缺少查看权限时会返回 403。

ID、时间和分页:集群 ID 是 UUID。受保护对象有一个 id(供 rubrik_list_snapshots 使用)和一个 fid(供事件和异常筛选使用)。时间为 UTC 的 ISO 8601 格式。列表接受 first(默认 25,最多 200)和 after:只要 pageInfo.hasNextPage 为 true,就把 after 设为 pageInfo.endCursor 再次调用;count 是总数。

通用 GraphQL 工具:rubrik_graphql_schema_url 返回 schema 的地址,rubrik_graphql_schema 读取 Rubrik 在其 PowerShell SDK 仓库中发布的 RSC 公开 schema 的一部分,rubrik_graphql_query 可执行任何其他只读查询。发布的 schema 可能比你账号的部署新几天或旧几天(rubrik_get_account 会显示部署版本)。

常见错误:请求令牌时返回 400,表示 RUBRIK_CLIENT_ID 不是 JSON 中的 client_id(以 client| 开头),或 secret 属于另一个服务账号。401 表示 RSC 拒绝了该服务账号:请重新复制这两个值;如果 secret 已丢失或被轮换,请新建服务账号。403 表示服务账号已登录,但其角色无权读取这些数据。完全没有响应,说明 RUBRIK_ACCOUNT 填错了:请从 RSC 地址或 access_token_uri 中获取账号名。

可读取的内容:账号 ID 和部署版本;集群,包括连接状态、健康状况、版本、以字节计的容量、预计可用时长(runway)和支持终止日期;SLA Domain,包括快照计划、保留期、保留锁定以及受保护对象数量;受保护对象(虚拟机、数据库、文件集、云和 SaaS 对象),包括保护状态和 SLA 合规状态、最近一次快照、错过的快照和大小;按状态、对象类型、集群或 SLA Domain 统计的合规数量;对象的快照,包括过期日期以及异常、隔离和保留锁定标记;活动(备份、归档、复制、恢复),包括状态、错误原因和解决办法,以及单个系列的时间线;Task Details 报告,包括耗时和传输的字节数;按快照列出的异常检测结果,包括新建、修改、删除和可疑文件的数量;威胁狩猎及其按对象列出的结果,包括最近一个干净的快照。

安装时默认关闭:rubrik_graphql_mutation 和 rubrik_graphql_subscription。它们可执行任意 GraphQL mutation 或 subscription;mutation 可以启动备份和恢复,或删除数据,所以只在确有需要时才开启。请在连接器页面只开启你需要的工具;AI 在每次更改前都会先征得你的确认。其他所有工具都是只读的。

限制:只读工具不会执行备份、启动恢复、分配 SLA Domain 或隔离任何内容;不支持在快照内按文件搜索,也不涵盖 Rubrik CDM 集群的 REST API。

步骤 2 — 安装 adapter

curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d

步骤 3 — 在 Microsoft Copilot 中添加连接器

你的服务器 URL: 在 AnythingMCP 中打开 MCP Servers → 此连接器所在的服务器,复制它的 URL(https://cloud.anythingmcp.com/mcp/…)。本指南中出现 YOUR_SERVER_ID 的地方都用它替换。

Microsoft Copilot 通过在 Copilot Studio 中构建的智能体使用 MCP 服务器:把 AnythingMCP 作为工具添加到智能体,然后把智能体发布到 Microsoft 365 Copilot 和 Teams。Copilot Studio 从 Microsoft 的云端通过 Streamable HTTP 连接,AnythingMCP 支持这种方式。

  1. 在 Copilot Studio 中打开你的智能体(或新建一个),进入 Tools,选择 Add a tool → New tool → Model Context Protocol。
  2. 填写 Server name(例如 AnythingMCP)、说明连接器用途的 Server description,以及 Server URL https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID。Copilot Studio 根据描述决定何时调用该服务器。
  3. 身份验证选择 API key,把 Type 设为 Header,请求头名称填 X-API-Key,然后选择 Create。
  4. 在 Add tool 中选择 Create a new connection,粘贴 AnythingMCP 的 MCP API 密钥(MCP Servers → 你的服务器 → API keys),然后选择 Add to agent。
  5. 在智能体的 Test 窗格中试一试:提出需要用到 Rubrik Security Cloud 的工具的请求。
  6. 选择 Publish,然后进入 Channels → Microsoft 365 and Microsoft Teams,保持勾选 Make agent available in Microsoft Copilot,再选择 Add channel。See agent in Teams 会为你安装该智能体;在 Microsoft 365 Copilot 中输入 @ 并选择该智能体。

希望每个用户各自登录?请选择 OAuth 2.0 → Dynamic discovery 代替 API 密钥:每个用户会在智能体首次调用时登录 AnythingMCP。

自托管?请用你实例的公网 HTTPS 地址替换 https://cloud.anythingmcp.com。Copilot Studio 从 Microsoft 的云端连接,因此 localhost 无法使用。

可用工具

ToolWhat it does
rubrik_get_accountRead the Rubrik Security Cloud account behind the service account: the account id and the RSC deployment version
rubrik_list_clustersList the Rubrik clusters (CDM appliances, Cloud Clusters) registered in the account, sorted by name: id (cluster UUID), name, type…
rubrik_get_clusterRead one Rubrik cluster by its UUID: name, type, status, version, health and system status message, time zone, address, encryption…
rubrik_list_sla_domainsList SLA Domains (backup policies) sorted by name, with the number of protected objects: id, name, description, whether it is the default…
rubrik_get_sla_domainRead one SLA Domain by id with its full snapshot schedule (minute, hourly, daily, weekly, monthly, quarterly and yearly frequency and…
rubrik_list_protected_objectsList workloads (protected objects such as VMs, databases, filesets, cloud and SaaS objects) with their protection and SLA compliance: id…
rubrik_get_compliance_summaryCount protected objects per group, for a compliance overview: group_by ComplianceStatus (default) answers how many objects are in or out of…
rubrik_list_snapshotsList the snapshots (recovery points) of one protected object, newest first by default: id, date, expiration date, on-demand or SLA…
rubrik_list_eventsList recent activity (event series: backups, archival, replication, recoveries, anomalies, threat hunts and other jobs), newest update…
rubrik_get_event_seriesRead one activity series with its individual activities (time, type, status, severity, message, progress and error info), to see why a…
rubrik_list_task_detailsList finished backup, archival, replication and recovery tasks (the Task Details report), newest end time first: object, type, location…
rubrik_list_anomaliesList anomaly detection results (ransomware and unusual change analysis per snapshot), newest snapshot first: whether it is an anomaly…
rubrik_list_threat_huntsList threat hunts (scans of backups for indicators of compromise): hunt id, name, type, status, start time, creator, cluster and the scan…
rubrik_get_threat_hunt_summaryRead the result of one threat hunt per scanned object: status, totals, and for each object its location, scan status, matched snapshots and…
rubrik_graphql_schema_urlReturn the URL of the GraphQL schema (SDL)
rubrik_graphql_schemaFetch the GraphQL schema: a summary, one type, a search slice or the full SDL
rubrik_graphql_queryRun an arbitrary GraphQL query
rubrik_graphql_mutationRun an arbitrary GraphQL mutation
rubrik_graphql_subscriptionRun an arbitrary GraphQL subscription (if the API supports it)

示例提示

  • "我的所有 Rubrik 集群都已连接且运行正常吗?每个集群还剩多少容量和 runway?"
  • "有多少对象不符合 SLA,分别是哪些?"
  • "过去 24 小时内有哪些备份作业失败了,各自的原因是什么?"
  • "虚拟机 sql-prod-01 在过去 7 天内有哪些恢复点?"
  • "本周异常检测是否标记了任何快照?哪些威胁狩猎发现了匹配项?"

FAQ

这适用于哪个 Copilot? 适用于工作中的 Microsoft 365 Copilot,通过 Copilot Studio 的智能体实现。面向个人账户的 Microsoft Copilot 应用无法添加自己的 MCP 服务器。

我需要什么? 一个可以使用 Copilot Studio 的工作账户(许可证或试用版),用于构建智能体。在 Microsoft 365 Copilot 或 Teams 中使用它的人需要拥有该智能体的访问权限:把它共享给他们,或请管理员为整个组织发布。如果你的组织对 Power Platform 连接器设置了数据策略,这些策略同样适用于 MCP 服务器。

智能体不调用工具。 检查请求头名称是否正好是 X-API-Key,密钥是否属于与 URL 相同的 MCP 服务器,并把 Server description 写得具体:Copilot Studio 根据它决定何时调用服务器。每次修改后重新发布智能体;在已打开的对话中输入 "start over" 即可使用新版本。

下一步

这份指南对你有帮助吗?

2 分钟将 Rubrik Security Cloud 连接到 Microsoft Copilot

开始 AnythingMCP Cloud 免费试用,在引导式设置中连接 Rubrik Security Cloud,再把你的 MCP URL 添加到 Microsoft Copilot。无需代码,也无需自行运行服务器。

相关指南

连接器

将 Rubrik MCP 连接到 ChatGPT:备份健康

让你的 AI 检查 Rubrik 备份:集群健康状况和容量、SLA Domain、受保护对象及其 SLA 合规、快照、失败的作业和任务报告、异常检测和威胁狩猎结果。通过服务账号只读访问 GraphQL。

连接器

将 Rubrik MCP 连接到 Claude:备份与 SLA

让你的 AI 检查 Rubrik 备份:集群健康状况和容量、SLA Domain、受保护对象及其 SLA 合规、快照、失败的作业和任务报告、异常检测和威胁狩猎结果。通过服务账号只读访问 GraphQL。

连接器

将 Rubrik MCP 连接到 Cursor:备份报告

让你的 AI 检查 Rubrik 备份:集群健康状况和容量、SLA Domain、受保护对象及其 SLA 合规、快照、失败的作业和任务报告、异常检测和威胁狩猎结果。通过服务账号只读访问 GraphQL。

连接器

将 Rubrik MCP 连接到 Gemini CLI:威胁狩猎

让你的 AI 检查 Rubrik 备份:集群健康状况和容量、SLA Domain、受保护对象及其 SLA 合规、快照、失败的作业和任务报告、异常检测和威胁狩猎结果。通过服务账号只读访问 GraphQL。

连接器

将 Rubrik MCP 连接到 Meta Muse:备份状态

让你的 AI 检查 Rubrik 备份:集群健康状况和容量、SLA Domain、受保护对象及其 SLA 合规、快照、失败的作业和任务报告、异常检测和威胁狩猎结果。通过服务账号只读访问 GraphQL。

连接器

Rubrik MCP 服务器:备份、合规与威胁

让你的 AI 检查 Rubrik 备份:集群健康状况和容量、SLA Domain、受保护对象及其 SLA 合规、快照、失败的作业和任务报告、异常检测和威胁狩猎结果。通过服务账号只读访问 GraphQL。