Blackpoint Cyber

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

MCP server for Blackpoint Cyber MDR — alerts, threats, and operations.

已验证STDIO仅桌面安全与监控商业与电商

概览

AI 生成的概览

面向 Blackpoint Cyber CompassOne MDR 的 MCP 服务器,让助手浏览租户、资产、检测与漏洞信息。

可以做什么
列出并获取客户租户及其详情,通过 tenantId 参数按合作伙伴或租户范围限定。按 DEVICE、SOFTWARE、USER 等已记录类别列出、获取、搜索资产并查看其关联关系。按 OPEN 或 RESOLVED 状态列出并获取检测告警组,支持 skip 与 take 分页。列出漏洞扫描、暗网监控结果和外部暴露发现。报告服务器健康状态与可用域,并提供可选的引导式导航菜单。
适用场景
当助手需要查询 Blackpoint Cyber CompassOne 中的托管检测与响应数据时使用,例如查看某个客户租户的资产、未关闭检测或漏洞暴露情况。适合已拥有 CompassOne API 访问权限的安全团队和合作伙伴。
运行要求
以本地进程运行(npm 包或容器镜像,默认 stdio)。stdio 模式需要 CompassOne API 令牌,放在 BLACKPOINT_API_TOKEN 中;多租户操作还需 CompassOne 合作伙伴协议和合作伙伴级凭据。BLACKPOINT_BASE_URL 可选,默认美国生产端点。HTTP 网关模式需要 CONDUIT_S2S_SECRET 和 AUTH_MODE=gateway。
安装前请注意
API 令牌是持有者凭据,可访问客户安全数据,应避免写入日志或在共享实例中使用。合作伙伴令牌可访问所有关联租户,应指定 tenantId 以免跨租户操作。未设置 CONDUIT_S2S_SECRET 的 HTTP 模式只有在 MCP_ALLOW_INSECURE_DEV=1 时才能启动,仅限本地开发。资产隔离、告警关闭等响应操作列为计划功能,届时需要确认。

安装

在 SourceWeft 中

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

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

其他 MCP 客户端

参照 仓库 中的启动说明。

README

blackpoint-mcp

Model Context Protocol (MCP) server for Blackpoint Cyber CompassOne - Managed Detection and Response (MDR) platform.

Features

This MCP server provides access to CompassOne's security capabilities through a decision-tree navigation interface:

Available Domains

  • 🏢 Tenants: Customer tenant management
  • 💻 Assets: Inventory by documented class (CONTAINER, DEVICE, FRAMEWORK, NETSTAT, PERSON, PROCESS, SERVICE, SOFTWARE, SOURCE, SURVEY, USER). CLOUD is not an asset class.
  • 🔍 Detections: Alert groups from GET /alert-groups (OPEN / RESOLVED, skip / take)
  • 🛡️ Vulnerabilities: Vulnerability management, dark web monitoring, external exposure scanning

Domain Structure

All implemented tools are listed together in a single tools/list call — no navigation step required. blackpoint_status reports current health and available domains, and blackpoint_navigate/blackpoint_back remain for clients that like a guided menu, but they're optional: every domain tool (blackpoint_tenants_*, blackpoint_assets_*, blackpoint_detections_*, blackpoint_vulnerabilities_*) is callable directly from the start.

(Earlier versions gated domain tools behind a blackpoint_navigate call. That doesn't work behind the Conduit gateway — Conduit suppresses _navigate/_back from every vendor's tool list for security reasons, which made every domain tool unreachable through it. The list is flat now so it works the same everywhere.)

Tool Naming Convention

All tools follow the pattern: blackpoint_{domain}_{action}

Examples:

  • blackpoint_assets_list - List assets by class
  • blackpoint_detections_list - List security detections
  • blackpoint_vulnerabilities_scans_list - List vulnerability scans

Installation

bash
npm install blackpoint-mcp

Configuration

Environment Variables

VariableDescriptionRequired
BLACKPOINT_API_TOKENCompassOne API tokenYes for stdio
BLACKPOINT_BASE_URLAPI base URL. Defaults to https://api.blackpointcyber.com/v1. A value with or without /v1, or the legacy api.compassone.blackpointcyber.com host, is normalized to that URL. Other hosts keep their origin and gain a single /v1 suffix.No
MCP_TRANSPORTTransport mode: stdio or httpNo (default: stdio)
MCP_HTTP_PORTHTTP port for gateway modeNo (default: 8080)
MCP_HTTP_HOSTHTTP bind address. Unset binds to 127.0.0.1. The container image sets 0.0.0.0.No (default: 127.0.0.1)
CONDUIT_S2S_SECRETService-to-service secret for HTTP. /mcp requires a valid X-Gateway-S2S header. The HTTP server exits non-zero when this is empty.Yes for HTTP
MCP_ALLOW_INSECURE_DEVSet to 1 to start HTTP without CONDUIT_S2S_SECRET. Logs a warning and skips S2S checks. Local development only.No
AUTH_MODESet to gateway for header-based authNo
LOG_LEVELLogging level: debug, info, warn, errorNo (default: info)

Gateway Mode

When AUTH_MODE=gateway, the server reads credentials from HTTP headers and does not fall back to process.env:

  • X-Blackpoint-API-Token → API token (required; missing header is HTTP 401)
  • X-Blackpoint-Base-Url → base URL for that request (normalized the same way as BLACKPOINT_BASE_URL). When the header is absent, the process environment is not used.

This enables per-request authentication for multi-tenant gateways.

HTTP also requires CONDUIT_S2S_SECRET. Every /mcp request must carry a valid X-Gateway-S2S header for that secret. A missing or invalid header is HTTP 401, before vendor credentials are read. If CONDUIT_S2S_SECRET is empty, the process logs an error and exits non-zero instead of serving /mcp. MCP_ALLOW_INSECURE_DEV=1 starts anyway and logs a warning; do not use it outside local development. The secret is never written to logs.

GET /, GET /health, and GET /healthz stay unauthenticated liveness checks and do not read credentials. The stdio transport does not use the S2S secret.

Usage

Standalone Mode (stdio)

bash
# Set credentialsexport BLACKPOINT_API_TOKEN="your-api-token"
# Run the serverblackpoint-mcp

Gateway Mode (HTTP)

bash
export AUTH_MODE=gatewayexport MCP_TRANSPORT=httpexport MCP_HTTP_PORT=8080export CONDUIT_S2S_SECRET="your-s2s-secret"# Optional. Unset binds to 127.0.0.1.# export MCP_HTTP_HOST=127.0.0.1
blackpoint-mcp

Local development without a secret (insecure; logs a warning):

bash
export MCP_TRANSPORT=httpexport MCP_ALLOW_INSECURE_DEV=1
blackpoint-mcp

Example Tool Calls

typescript
// Start by checking available domainsawait tools.call("blackpoint_status");
// Navigate to assets domainawait tools.call("blackpoint_navigate", { domain: "assets" });
// List device assets for one tenant (tenantId is sent as x-tenant-id)await tools.call("blackpoint_assets_list", {   class: "DEVICE",  tenantId: "tenant_123",  pageSize: 10 });
// Get specific asset detailsawait tools.call("blackpoint_assets_get", {   id: "asset_12345",  tenantId: "tenant_123"});
// Return to navigationawait tools.call("blackpoint_back");

API Coverage

✅ Implemented

DomainToolsDescription
tenantslist, getCustomer tenant management
assetslist, get, relationships, searchAsset inventory and relationships
detectionslist, getAlert groups (GET /alert-groups, skip/take, status OPEN or RESOLVED). Tool names are unchanged.
vulnerabilitieslist, scans_list, darkweb_list, external_listVuln management, dark web, external exposure

📋 Planned

DomainStatusNotes
partnersSDK readyAccount management - ready to implement
alertsModels onlyAPI handlers not available in CompassOne wrapper
ticketsModels onlyAPI handlers not available in CompassOne wrapper
cloud_securitySDK readyM365/Google/Cisco onboarding - ready to implement
notificationsSDK readyContact groups and channels - ready to implement

Partner vs Tenant Scoping

CompassOne uses hierarchical scoping: Partner → Tenants → Assets

  • Partner tokens can access all associated tenants
  • Tenant-scoped tokens are limited to specific customers
  • Always specify tenantId parameters to avoid cross-tenant operations

Error Handling

The server provides structured error responses:

json
{  "content": [{     "type": "text",     "text": "Failed to list assets: Authentication failed"   }],  "isError": true}

Common error scenarios:

  • 401 / 403: The API key is invalid, or the account is not entitled to that resource
  • 404: The base URL or path is wrong (the live API is https://api.blackpointcyber.com/v1)
  • Rate Limiting: Automatic retry with exponential backoff
  • Validation: Invalid parameters or missing required fields (class, tenantId)

Failures are logged with HTTP status, method, path, and response body. The bearer token is redacted.

Rate Limiting

The underlying SDK implements automatic rate limiting:

  • Default: 2000 requests per 15 minutes per API key
  • 429 Handling: Honors Retry-After headers
  • Backoff: Exponential backoff for subsequent requests

Docker

bash
# Builddocker build -t blackpoint-mcp .
# Run in gateway mode. The image sets MCP_HTTP_HOST=0.0.0.0 and refuses to# start until CONDUIT_S2S_SECRET is set. Publish the port on loopback.docker run -p 127.0.0.1:8080:8080 \  -e AUTH_MODE=gateway \  -e MCP_TRANSPORT=http \  -e MCP_HTTP_PORT=8080 \  -e CONDUIT_S2S_SECRET="$CONDUIT_S2S_SECRET" \  blackpoint-mcp

Development

bash
# Install dependenciesnpm install
# Run in development modenpm run dev
# Buildnpm run build
# Testnpm test
# Lintnpm run lint

Security Considerations

API Access Requirements

  • CompassOne Partner Agreement required for API access
  • Partner-tier credentials needed for multi-tenant operations
  • Scoped tokens recommended for tenant-specific access

Destructive Operations

The following operations require confirmation (when implemented):

  • Asset isolation/response actions
  • Ticket status changes with actions
  • Alert acknowledgment/closure
  • Remediation workflows

These use the elicitConfirmation pattern to prevent accidental execution.

Troubleshooting

Common Issues

No tools showing:

  • Check BLACKPOINT_API_TOKEN is set
  • Verify token has correct scopes
  • Check network connectivity to CompassOne API

Gateway mode not working:

  • Verify AUTH_MODE=gateway is set
  • Verify CONDUIT_S2S_SECRET is set (HTTP exits if it is empty, unless MCP_ALLOW_INSECURE_DEV=1)
  • Check X-Gateway-S2S and X-Blackpoint-API-Token are passed
  • Confirm the client can reach the bind address (127.0.0.1 by default)

Rate limiting:

  • Monitor logs for 429 responses
  • Consider reducing request frequency
  • Verify token isn't shared across instances

Debug Logging

bash
export LOG_LEVEL=debugblackpoint-mcp

Health Check

GET /, GET /health, and GET /healthz are unauthenticated and do not read credentials:

bash
curl -f http://127.0.0.1:8080/health

Authenticated MCP call

/mcp requires X-Gateway-S2S when CONDUIT_S2S_SECRET is set. In gateway mode it also requires X-Blackpoint-API-Token:

bash
curl -X POST http://127.0.0.1:8080/mcp \  -H "Content-Type: application/json" \  -H "Accept: application/json, text/event-stream" \  -H "X-Gateway-S2S: <gateway-signed header>" \  -H "X-Blackpoint-API-Token: your-token" \  -d '{"jsonrpc": "2.0", "method": "initialize", "id": 1, "params": {"protocolVersion": "2024-11-05", "capabilities": {}, "clientInfo": {"name": "curl", "version": "0.0.0"}}}'

Contributing

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature-name
  3. Make your changes and add tests
  4. Follow the domain handler pattern for new capabilities
  5. Submit a pull request

See CONTRIBUTING.md for detailed guidelines.

License

Apache-2.0 - see LICENSE for details.

来源:README.md,提交 6ae3b7f

工具

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

版本历史

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

评分

已满足适用检查项的 50%

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

  • 近 30 天内可连通25 分

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

  • 已声明认证方式10 分

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

  • 已列出工具15 分

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

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