Bitdefender GravityZone

io.github.WYRE-AI由 GitHub 账号 WYRE-AI 发布v1.0.1更新于 Oct 24, 2026

MCP server for Bitdefender GravityZone's JSON-RPC API.

概览

AI 生成的概览

面向 Bitdefender GravityZone 的只读 MCP 服务器,让助手查看终端、安全策略、黑名单哈希与报告。

可以做什么
  • 查询终端与网络清单:受管/非受管终端、单个终端详情、自定义组、清单条目以及已有的扫描任务
  • 查看安全策略:列出策略并读取单个策略的完整设置
  • 查看事件:列出账户级黑名单中的文件哈希
  • 查看报告:列出计划/即时报告并获取报告的下载链接
  • 所有调用均为 Network、Policies、Incidents 和 Reports 接口中的只读 getXxx/listXxx 方法
适用场景
适合让助手回答关于 Bitdefender GravityZone 环境的问题,例如哪些终端受管、某条策略包含什么、哪些哈希被拦截、存在哪些报告,同时不授予其修改能力。它是刻意收窄的只读接口,不适用于隔离、扫描、修复或策略修改。
运行要求
以本地进程(stdio)方式从 OCI 镜像运行,或作为 HTTP 服务用于网关托管。需要 BITDEFENDER_API_KEY(在 Control Center 生成,并勾选 Network、Policies、Reports、Incidents 接口区域)和 BITDEFENDER_ACCESS_URL(账户的 Control Center Access URL)。可选:AUTH_MODE(env 或 gateway)、MCP_TRANSPORT、LOG_LEVEL,以及用于 HTTP 边车认证的 CONDUIT_S2S_SECRET。需要能访问 GravityZone API 主机的网络。
安装前请注意
该 API 密钥属于安全产品的管理员凭据:GravityZone 仅按接口区域授权,因此启用了 Network 区域的密钥同样可以调用 moveEndpoints、deleteEndpoint、createScanTask 等写操作;只读行为由本连接器代码保证,而非密钥权限范围。网关模式下密钥与访问地址通过 X-Bitdefender-Api-Key 和 X-Bitdefender-Access-Url 请求头逐次传入。工具输出包含终端 IP/MAC/主机名清单与策略设置,属于安全与个人数据敏感信息。速率限制为每个密钥每秒 10 次请求。

安装

在 SourceWeft 中

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

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

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Bitdefender GravityZone MCP Server

MCP server for Bitdefender GravityZone's Control Center API - endpoint/network inventory, security policies, the account-wide malware-hash Blocklist, and scheduled/instant reports - for AI assistants and the WYRE Conduit gateway.

New call shape for this catalog: GravityZone's API is JSON-RPC 2.0, not REST - every other Conduit sidecar (Cork, CyberQP, Slide, UniFi, Cisco Duo) calls a conventional REST API. See Authentication and JSON-RPC shape below.

Authentication

GravityZone authenticates with HTTP Basic Authentication (RFC 2617): the API key is sent as the username, with an empty password - Authorization: Basic base64(apiKey + ":"). This is also a new shape for this catalog - every other static-key connector here (Cork, CyberQP, Slide, UniFi) sends a custom X-Vendor-Api-Key header that the sidecar turns into a Bearer token; GravityZone has no bearer-token concept at all.

API keys are generated in Control Center under My Account -> API keys, and each key is scoped, at generation time, to a checklist of API areas (Network, Policies, Reports, Incidents, Companies, Licensing, Accounts, Packages, Integrations, Push, Quarantine). This connector's key needs the Network, Policies, Reports, and Incidents areas selected - the other seven are never called and do not need to be enabled.

This connector also needs the account's Control Center Access URL (shown on that same My Account page, under Control Center API) - GravityZone Cloud, its EU region, and any self-hosted/on-premise Control Center each have a different API host, so unlike most vendors in this catalog there is no single fixed base URL to hardcode.

In gateway mode, both arrive per-request via the X-Bitdefender-Api-Key and X-Bitdefender-Access-Url headers; in local/stdio mode they're read once from BITDEFENDER_API_KEY and BITDEFENDER_ACCESS_URL.

JSON-RPC shape

GravityZone exposes several separate JSON-RPC 2.0 endpoints, one per product area, at <accessUrl>/v1.0/jsonrpc/<area> (e.g. /v1.0/jsonrpc/network, /v1.0/jsonrpc/policies). Every call to a given area - whatever it does - is an HTTP POST to that same URL with an identical envelope:

json
{ "id": "<uuid>", "jsonrpc": "2.0", "method": "getEndpointsList", "params": { "parentId": "..." } }

The operation lives entirely inside the body (method + params), never in the URL or HTTP verb - there is no GET/POST/PATCH/DELETE distinction to key a read-only boundary off of, unlike every REST sidecar in this catalog. This connector's read-only scope is therefore enforced by only ever calling documented getXxx/listXxx method names (see Scope below and client.ts's jsonRpcCall()), not by restricting HTTP verbs.

A successful call returns { "id", "jsonrpc", "result": ... }. A failed call can come back two ways, and this connector's client.ts distinguishes both:

  • HTTP-layer failure - 401 (bad/missing key), 403 (the key doesn't have this API area enabled - see above), 405 (non-POST), or 429 (rate limit).
  • JSON-RPC-layer failure - HTTP 200 with a body error member ({code, message, data.details}, e.g. -32602 Invalid params).

Rate limit: 10 requests/second per API key; GravityZone returns 429 above that.

Configuration

Env varDescription
BITDEFENDER_API_KEYAPI key generated in Control Center, with the Network/Policies/Reports/Incidents areas selected.
BITDEFENDER_ACCESS_URLThe account's Control Center Access URL (e.g. https://cloud.gravityzone.bitdefender.com).
MCP_TRANSPORTstdio (default) or http.
AUTH_MODEenv (default, reads the two vars above) or gateway (credentials arrive per-request via the X-Bitdefender-Api-Key / X-Bitdefender-Access-Url headers, injected by the Conduit gateway).
CONDUIT_S2S_SECRETWhen set, the HTTP transport requires a valid X-Gateway-S2S header (Conduit sidecar auth) on every /mcp request.
LOG_LEVELdebug | info (default) | warn | error.

Request limits

  • HTTP request bodies are capped at 256 KiB (262144 bytes). After the X-Gateway-S2S check passes, a Content-Length above the cap returns 413 with a JSON-RPC error; bodies without Content-Length are capped by the MCP SDK transport. Unauthenticated requests still get 401 first.
  • tools/call arguments are capped at 10,000 elements (every array item and object key at any depth). Larger inputs return an isError tool result and are never dispatched.

These limits address CVE-2026-111768 / GHSA-46jr-4wx8-v453 (memory exhaustion during validation) and GHSA-f897-62hf-6gxq (no request body / batch cap).

Tools

Network - endpoint/network inventory

  • bitdefender_list_endpoints - list managed/unmanaged endpoints (name, FQDN, IP, MACs, group, agent flags), optionally scoped and filtered.
  • bitdefender_get_endpoint - full detail for one managed endpoint (agent version, license status, scan/update status).
  • bitdefender_list_custom_groups - list the child groups under a Network Inventory group.
  • bitdefender_list_network_inventory - list inventory items (groups, computers, VMs, EC2 instances) with per-type filtering.
  • bitdefender_list_scan_tasks - list previously created on-demand scan tasks and their status.

Policies

  • bitdefender_list_policies - list security policies available to the account.
  • bitdefender_get_policy - get full settings for one security policy.

Incidents

  • bitdefender_list_blocklist_items - list file hashes present in the account's Blocklist.

Reports

  • bitdefender_list_reports - list scheduled/instant reports configured on the account.
  • bitdefender_get_report_download_links - check download readiness and get a report's download URL(s).

Scope

This is a deliberately narrow, read-only v1 surface: exactly 10 of GravityZone's getXxx/listXxx methods across the Network, Policies, Incidents, and Reports APIs. Every tool is classified isAdmin: true in the Conduit gateway - GravityZone is an endpoint-protection product, so every read this connector exposes (endpoint IP/MAC/hostname inventory, security policy settings, malware-hash blocklist entries, security posture reports) is security/PII-adjacent by construction. No mutating (create/update/delete/move/set/add/remove) method is implemented, by design, not by oversight:

Hard-excluded (Network API) - never implemented:

  • createCustomGroup, deleteCustomGroup, moveCustomGroup - group provisioning/mutation.
  • moveEndpoints, deleteEndpoint - endpoint mutation/removal.
  • createScanTask - dispatches a real on-demand scan to a real managed endpoint. bitdefender_list_scan_tasks (read) stays; this does not.
  • setEndpointLabel - endpoint mutation.

Hard-excluded (Incidents API) - never implemented:

  • addToBlocklist, removeFromBlocklist - Blocklist mutation. bitdefender_list_blocklist_items (read) stays; these do not.
  • createIsolateEndpointTask, createRestoreEndpointFromIsolationTask - genuine remote-response actions that isolate/restore a real managed endpoint from the network.

Hard-excluded (Reports API) - never implemented:

  • createReport - creates a new scheduled/instant report definition.
  • deleteReport - deletes a report definition.

Out of scope entirely (not requested, not implemented): the Companies, Licensing, Accounts, Packages, Integrations, Push, and Quarantine APIs. Quarantine in particular (getQuarantineItemsList and its createRemove/Restore*QuarantineItemTask write methods) was in Bitdefender's own catalog of API areas but outside this connector's requested scope (endpoint/network inventory, policies, incidents, reports); it can be added as a deliberate follow-up if there's demand, not by default.

They can be added as a follow-up if there's demand, after a deliberate scope decision - not by default.

Credential scope

Two-tier confidence split, per this catalog's convention for a claim about what a credential can and cannot reach:

  • STRUCTURALLY VERIFIED - this connector's own code never calls a mutating JSON-RPC method: confirmed against client.ts/tools/*.ts, only the 10 documented getXxx/listXxx methods listed under Tools are ever sent, no passthrough/arbitrary-method call exists anywhere in src/. This connector is read-only by construction.
  • VENDOR-DOCUMENTED, AND THE FINDING RUNS THE OTHER WAY - GravityZone's own API-key generation UI (Control Center -> My Account -> API keys) only gates access per API area (Network/Policies/Reports/Incidents/...), confirmed against Bitdefender's official API Guide (Getting Started section 1.3, "API Keys": "Each API key allows the application to call methods exposed by one or several APIs. The allowed APIs are selected at the time the API key is generated"). There is no documented per-method or read/write permission flag. A key with the Network area enabled can call getEndpointsList (read) and moveEndpoints/deleteEndpoint/createScanTask (write) - the same area, the same permission checkbox, no finer-grained scoping exists on Bitdefender's side. This connector's read-only posture is enforced entirely by its own code, not by any narrower credential scope GravityZone itself offers - the same posture this catalog's other security-product connectors (Cork, CyberQP, Cisco Duo) already document for their own admin-tier classification, stated once here for the credential-scope question specifically.

Development

bash
npm installnpm run buildnpm testnpm run lint   # tsc --noEmit

Docker

bash
docker build -t bitdefender-mcp .docker run -p 8080:8080 -e BITDEFENDER_API_KEY=... -e BITDEFENDER_ACCESS_URL=... bitdefender-mcp

来源:README.md,提交 8f254e0

工具

0
SourceWeft 曾在隔离沙箱中以无凭据方式启动该软件包一次,以列出其工具,但未能完成:该软件包类型无法在沙箱中运行。

版本历史

2
  1. v1.0.1最新Oct 22, 2026
  2. v1.0.0Sep 21, 2026

评分

已满足适用检查项的 40%

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

  • 近 30 天内可连通25 分

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

  • 已声明认证方式10 分

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

  • 已列出工具15 分

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

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

    请在仓库或注册中心条目中声明许可证。