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 分