RocketCyber

io.github.wyre-technology由 GitHub 账号 wyre-technology 发布v1.5.4更新于 Oct 26, 2026

MCP server for RocketCyber Managed SOC — incidents, alerts, agents, and customer telemetry.

概览

AI 生成的概览

面向 RocketCyber 托管 SOC 的只读 MCP 服务器,让助手查询事件、告警、代理终端、防火墙与账户数据。

可以做什么
  • 测试连接并读取账户信息
  • 列出安全事件与安全告警,并获取告警汇总与统计
  • 列出受监控的代理与终端
  • 列出防火墙设备与受管应用
  • 查看 Windows Defender 与 Office 365 状态
  • 以 MCP 资源形式读取账户、事件与代理数据
适用场景
当需要让助手查询某个租户的 RocketCyber 托管 SOC 遥测数据时使用,例如排查事件、查看告警,或检查终端、防火墙及 Defender/Office 状态,无需离开对话。
运行要求
以本地进程运行(Node.js,或使用已发布的容器镜像)。需要 ROCKETCYBER_API_KEY 中的 RocketCyber API 密钥和 ROCKETCYBER_CUSTOMER_ID 中的客户(租户)标识;ROCKETCYBER_REGION 与 ROCKETCYBER_API_URL 为可选覆盖项。从源码构建需要具备 read:packages 权限的 GitHub 令牌以访问私有 npm 仓库。HTTP 模式还需 CONDUIT_S2S_SECRET。
安装前请注意
需要 RocketCyber API 密钥与租户 ID,可访问组织的安全遥测数据。从源码构建或部署需要具备 read:packages 权限的 GitHub 个人访问令牌。HTTP 模式需设置强随机的 CONDUIT_S2S_SECRET;不安全开发绕过(MCP_ALLOW_INSECURE_DEV=1)仅限本地使用。工具均为只读,但数据会发送至 RocketCyber API 及助手。

安装

在 SourceWeft 中

  1. 打开 控制台中的 RocketCyber,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

rocketcyber-mcp

MCP (Model Context Protocol) server for the RocketCyber Managed SOC platform. Provides read-only access to RocketCyber security data through 10 tools and 3 resources.

Features

  • 10 read-only tools covering all RocketCyber API resources, each annotated readOnlyHint: true so MCP clients (e.g. Microsoft 365 Copilot) can skip per-call confirmation prompts
  • 3 MCP resources for quick data access
  • Dual transport: stdio (default) and HTTP Streamable
  • Lazy SDK initialization on first tool call
  • Winston logger with all output routed to stderr
  • Connection test tool for validating credentials

One-Click Deployment

[!IMPORTANT] Before you click: this server depends on @wyre-ai/node-rocketcyber, which is hosted on the GitHub Packages npm registry. GitHub Packages has no anonymous access — even though the package is public, every npm install needs a token. The cloud builder runs npm install for you, so you must give it one, or the build fails with npm error 401 Unauthorized ... npm.pkg.github.com.

  1. Create a GitHub Personal Access Token with the read:packages scope (classic token). Any GitHub account works — you do not need to be a member of the WYRE-AI org to read its public packages.
  2. Add it as a build variable when prompted by the deploy flow:
    • Cloudflare Workers → set a build variable named NODE_AUTH_TOKEN to your PAT (Workers → Settings → Build → Variables and Secrets).
    • DigitalOcean App Platform → set an encrypted env var named GITHUB_TOKEN with scope Build Time to your PAT (the Dockerfile reads it for the install).

[Deploy to DO]

[Deploy to Cloudflare Workers]

Installation

This project depends on @wyre-ai/node-rocketcyber, published to the GitHub Packages npm registry, which requires a token even for public packages. Authenticate once, then install:

bash
# Authenticate npm to GitHub Packages (token needs the read:packages scope)export NODE_AUTH_TOKEN=$(gh auth token)   # or a PAT with read:packages
npm installnpm run build

The repo's .npmrc already points the @wyre-ai scope at GitHub Packages and reads the token from NODE_AUTH_TOKEN, so no further config is needed.

Configuration

Copy .env.example and set the variables below.

Environment VariableRequiredDefaultDescription
ROCKETCYBER_API_KEYFor stdio and AUTH_MODE=env-RocketCyber API key
ROCKETCYBER_REGIONNousAPI region: us or eu
MCP_TRANSPORTNostdioTransport type: stdio or http
AUTH_MODENoenv (image and Compose set gateway)gateway requires X-RocketCyber-API-Key on each /mcp request and never falls back to ROCKETCYBER_*. env uses those variables only after S2S auth succeeds.
CONDUIT_S2S_SECRETYes for HTTP-Service-to-service secret. The HTTP server logs an error and exits non-zero when this is empty or a known placeholder (changeme, secret, replace-me, your-s2s-secret, and the other example values). Generate one with openssl rand -hex 32. Compose will not start without it. The value is never logged.
MCP_ALLOW_INSECURE_DEVNo-Set to exactly 1 only for local development to start HTTP without CONDUIT_S2S_SECRET. The process logs a warning, does not enforce X-Gateway-S2S, and binds 127.0.0.1 only. A non-loopback MCP_HTTP_HOST is overridden. A known placeholder secret still refuses to start.
MCP_HTTP_PORTNo8080HTTP port (when using http transport)
MCP_HTTP_HOSTNo0.0.0.0 when a real secret is setBind address when CONDUIT_S2S_SECRET is set. Unset keeps 0.0.0.0. Without a secret, the dev bypass ignores this and binds 127.0.0.1. The container image sets 0.0.0.0.
LOG_LEVELNoinfoLog level: error, warn, info, debug
LOG_FORMATNosimpleLog format: json or simple

/health stays unauthenticated and does not read credentials. The stdio transport does not use CONDUIT_S2S_SECRET.

HTTP authentication

With MCP_TRANSPORT=http and a real CONDUIT_S2S_SECRET, every /mcp request must include X-Gateway-S2S. The check is verifyS2sHeader in src/mcp/s2s-verify.ts: the header value is t=<unix seconds>,v1=<hex>, where the hex is HMAC-SHA256 of the literal string t=<unix seconds> keyed with CONDUIT_S2S_SECRET (64 lowercase hex characters). The timestamp must be within 300 seconds of the server clock. A missing or invalid header is HTTP 401, before vendor credentials are read.

bash
TS=$(date +%s)SIG=$(printf 't=%s' "$TS" | openssl dgst -sha256 -hmac "$CONDUIT_S2S_SECRET" -hex | awk '{print $NF}')curl -sS http://127.0.0.1:8080/mcp \  -H 'Content-Type: application/json' \  -H 'Accept: application/json, text/event-stream' \  -H "X-Gateway-S2S: t=${TS},v1=${SIG}" \  -H "X-RocketCyber-API-Key: $ROCKETCYBER_API_KEY" \  -H "X-RocketCyber-Region: us" \  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

In AUTH_MODE=gateway, /mcp also requires X-RocketCyber-API-Key (X-RocketCyber-Region is optional). That header is the only credential source for the request. A missing or blank API key is HTTP 401 and does not fall back to ROCKETCYBER_API_KEY. AUTH_MODE=env still requires the signed X-Gateway-S2S header, then uses ROCKETCYBER_API_KEY from the environment.

Usage

Claude Desktop (stdio)

Add to your Claude Desktop configuration (claude_desktop_config.json):

json
{  "mcpServers": {    "rocketcyber": {      "command": "node",      "args": ["/path/to/rocketcyber-mcp/dist/entry.js"],      "env": {        "ROCKETCYBER_API_KEY": "your-api-key"      }    }  }}

HTTP Transport

HTTP refuses to start until CONDUIT_S2S_SECRET is a real secret (not a known placeholder). Publish the port on loopback.

bash
# Single-tenant HTTP. Uses ROCKETCYBER_API_KEY after X-Gateway-S2S verifies.CONDUIT_S2S_SECRET="$CONDUIT_S2S_SECRET" \  ROCKETCYBER_API_KEY=your-api-key \  MCP_TRANSPORT=http \  npm start
# Local HTTP only, without a service-to-service secret. Always binds 127.0.0.1.MCP_TRANSPORT=http MCP_ALLOW_INSECURE_DEV=1 npm start

Docker

The image listens on 0.0.0.0 inside the container (MCP_HTTP_HOST) and defaults to AUTH_MODE=gateway. Publish the port on loopback and pass a real S2S secret. In gateway mode, RocketCyber credentials arrive on each request as headers; they are not read from the environment.

bash
docker build -t rocketcyber-mcp --build-arg GITHUB_TOKEN="$GITHUB_TOKEN" .docker run \  -e CONDUIT_S2S_SECRET="$CONDUIT_S2S_SECRET" \  -p 127.0.0.1:8080:8080 \  rocketcyber-mcp

Compose refuses to start when CONDUIT_S2S_SECRET is unset. The gateway service sets AUTH_MODE=gateway, does not inject ROCKETCYBER_API_KEY, and publishes 127.0.0.1:8080:8080:

bash
CONDUIT_S2S_SECRET="$CONDUIT_S2S_SECRET" GITHUB_TOKEN="$GITHUB_TOKEN" docker compose up

Single-tenant HTTP (AUTH_MODE=env) still requires the S2S secret, then uses ROCKETCYBER_API_KEY. It is separate from the gateway Compose service above.

bash
docker run \  -e CONDUIT_S2S_SECRET="$CONDUIT_S2S_SECRET" \  -e AUTH_MODE=env \  -e ROCKETCYBER_API_KEY=your-api-key \  -e ROCKETCYBER_REGION=us \  -p 127.0.0.1:8080:8080 \  rocketcyber-mcp

Tools

Every tool below only reads data (no tool issues a write to the RocketCyber API), so each is annotated annotations: { readOnlyHint: true } in the tools/list response. MCP clients that honor readOnlyHint — Microsoft 365 Copilot / Copilot Studio among them — use this to skip the per-call confirmation prompt they'd otherwise show before every tool call.

ToolDescriptionreadOnlyHint
rocketcyber_test_connectionTest the connection to RocketCyber APItrue
rocketcyber_get_accountGet account informationtrue
rocketcyber_list_agentsList monitored agents/endpointstrue
rocketcyber_list_incidentsList security incidentstrue
rocketcyber_list_eventsList security eventstrue
rocketcyber_get_event_summaryGet event summary/statisticstrue
rocketcyber_list_firewallsList firewall devicestrue
rocketcyber_list_appsList managed appstrue
rocketcyber_get_defenderGet Windows Defender statustrue
rocketcyber_get_officeGet Office 365 statustrue

Resources

URIDescription
rocketcyber://accountAccount information
rocketcyber://incidentsSecurity incidents
rocketcyber://agentsMonitored agents/endpoints

Development

bash
# Install dependenciesnpm install
# Run in development modenpm run dev
# Buildnpm run build
# Start production servernpm start

License

Apache-2.0

来源:README.md,提交 c539ce8

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.5.4最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分