checkpoint-mcp
MCP server for Check Point Harmony Endpoint that exposes policy, asset, vulnerability, quarantine, and remediation API methods as MCP tools, with per-request credential isolation and automatic two-step authentication.
README
checkpoint-mcp
MCP server for Check Point Harmony Endpoint (endpoint protection/EDR, part of Check Point's Infinity Portal). Exposes the Harmony Endpoint Web Management API's policy, asset, vulnerability posture, quarantine, and remediation methods as MCP tools.
Naming note: MSPbots' own integration is registered as "Check Point Harmony Endpoint" (
subjectCode=CHECKPOINT). This MCP covers exactly the 11 methods MSPbots itself has configured.
Overview
- Stateless HTTP service. No credentials are ever persisted — each request supplies its own Infinity Portal API key via headers, used only for the lifetime of that single request.
- Supports concurrent requests; per-request credential isolation is done via
Python
contextvars, not a global/shared client instance. - Entry points:
POST /mcp(MCP protocol) andGET /health(health check). - Default port:
8080(configurable viaMCP_HTTP_PORT).
Authentication
Check Point's Infinity Portal uses a 2-step API-key exchange, and the Harmony Endpoint Web Management API on top of that requires both resulting tokens together on every real call:
POST {region}/auth/externalwith{clientId, accessKey}→ a portal bearer token (data.token), valid ~30 minutes.POST {region}/app/endpoint-web-mgmt/harmony/endpoint/api/v1/session/login/cloudwithAuthorization: Bearer <portal token>→ a management-serviceapiToken, valid only ~6 minutes.- Every real endpoint call requires both
Authorization: Bearer <portal token>andx-mgmt-api-token: <apiToken>headers together, plusx-mgmt-run-as-job: on.
Because the apiToken is short-lived anyway, this server performs this
entire 2-step login fresh on every single tool call — nothing is
cached or persisted across MCP requests.
All 11 methods are asynchronous jobs. The initial call only returns
{"jobId": ...}; the real result is fetched by polling GET .../jobs/{jobId} until the job leaves an in-progress state (this server
polls every 1s, up to a 30s timeout, per tool call).
HEADER 授权参数说明
| Header | 类型 | 是否必填 | 默认值 | 枚举值 | 字段描述 | Example |
|---|---|---|---|---|---|---|
X-CheckPoint-Client-Id |
string | 是 | 无 | 无 | Infinity Portal API Key 的 Client ID | 45217fa1-6c33-4389-a169-909fa72e99dd |
X-CheckPoint-Access-Key |
string | 是 | 无 | 无 | Infinity Portal API Key 的 Secret/Access Key | 911b25e9-149a-45b3-a9a7-a9d43be24635 |
X-CheckPoint-Region |
string | 是 | 无 | https://cloudinfra-gw-us.portal.checkpoint.com(US)、https://cloudinfra-gw.portal.checkpoint.com(EU)、https://cloudinfra-gw.ap.portal.checkpoint.com(AP) |
租户所在数据驻留区域的网关地址,与 MSPbots 集成配置里的 Region 下拉选项一致 | https://cloudinfra-gw.ap.portal.checkpoint.com |
Missing any header returns 401:
{
"error": "Missing credentials",
"message": "This server requires the X-CheckPoint-Client-Id, X-CheckPoint-Access-Key, and X-CheckPoint-Region headers",
"required_headers": ["X-CheckPoint-Client-Id", "X-CheckPoint-Access-Key", "X-CheckPoint-Region"],
"optional_headers": []
}
Environment Variables
| Variable | 类型 | 是否必填 | 默认值 | 说明 |
|---|---|---|---|---|
MCP_HTTP_PORT |
int | 否 | 8080 |
HTTP 监听端口 |
MCP_HTTP_HOST |
string | 否 | 0.0.0.0 |
HTTP 监听地址 |
MCP Endpoint
POST /mcp— MCP protocol (streamable HTTP transport)GET /health— health check, returns{"status": "ok", "service": "checkpoint-mcp", "transport": "http"}
Tool List
| Tool | 功能 | 参数 |
|---|---|---|
checkpoint_get_policy_metadata |
列出所有 Harmony Endpoint 策略规则的元数据 | 无 |
checkpoint_get_policy_modifications |
获取指定策略规则的修改历史 | rule_id(必填) |
checkpoint_get_policy_assignments |
获取指定策略规则的分配对象 | rule_id(必填) |
checkpoint_get_computers_filtered |
列出受管计算机/端点(可选过滤条件) | filter(可选,vendor 自定义过滤对象) |
checkpoint_search_organization_tree |
搜索组织架构树(组/用户/计算机) | search_term、search_type、entity_types、offset、page_size(均可选) |
checkpoint_get_vulnerability_data |
列出组织级漏洞态势数据 | offset、page_size(均可选) |
checkpoint_get_vulnerability_devices |
获取指定设备的漏洞态势详情 | device_ids(必填),offset、page_size(可选) |
checkpoint_get_vulnerability_scan_status |
获取漏洞扫描状态 | 无 |
checkpoint_get_quarantine_files |
列出隔离区文件 | offset、page_size(均可选) |
checkpoint_get_remediation_status |
列出修复/响应操作的状态 | 无 |
checkpoint_get_remediation_results_slim |
获取指定修复操作的简要结果 | remediation_id(必填),offset、page_size(可选) |
Responses are the vendor's job-result JSON, pretty-printed
({"status": "DONE", "statusCode": ..., "data": ...}), returned as-is.
测试示例
# Health check
curl -s http://localhost:8080/health
# Call a tool via the MCP protocol (streamable HTTP) — requires an
# initialize handshake first per the MCP spec; abbreviated example below
# shows the tool-call request body only:
curl -s -X POST http://localhost:8080/mcp \
-H "X-CheckPoint-Client-Id: <your-client-id>" \
-H "X-CheckPoint-Access-Key: <your-access-key>" \
-H "X-CheckPoint-Region: https://cloudinfra-gw.ap.portal.checkpoint.com" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-H "mcp-session-id: <session-id-from-initialize>" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "checkpoint_get_policy_metadata",
"arguments": {}
}
}'
Live-verified (2026-07-30) against a real Harmony Endpoint tenant, all
11 tools called end-to-end through this running server: ..._policy_metadata
returned real policy rules (e.g. "Testing App Control", several
organization-default rules across the Access/Threat Prevention/Data
Protection/OneCheck/General Settings/Deployment/Agent Settings/Data Loss
Prevention families); ..._policy_assignments returned the real
"Entire Organization" assignment for a default rule; ..._computers_filtered
returned 18 real managed computers with live agent health data;
..._search_organization_tree returned real groups (Virtual Directory
Structure, ChromeOsDesktops, etc.); ..._vulnerability_scan_status
returned real per-device scan statuses; ..._remediation_status returned
a real completed DA_COLLECT_LOGS remediation action;
..._remediation_results_slim (using that action's real ID) returned its
real per-machine result; ..._quarantine_files returned a real quarantined
file record; ..._vulnerability_data and ..._vulnerability_devices
returned valid empty result sets (no vulnerability data present for this
tenant at test time — a legitimate empty response, not an error);
..._policy_modifications (using a real rule ID) returned statusCode 204 (no modification history for that rule — also a legitimate response).
API Reference
- Auth flow discovered and confirmed via the third-party Shuffle SOAR platform's public integration docs (Check Point does not appear to publish this specific 2-step token exchange in an easily discoverable public reference of their own): https://shuffler.io/apps/Harmony_Endpoint_Management/integrations/Checkpoint
- No further official public API reference for the Harmony Endpoint Web
Management API's individual method schemas was found; behavior for each
of the 11 methods in this README was determined via MSPbots' own stored
apiConfig(path/params) cross-checked against live calls with real credentials (see Live-verified above), following this program's standing rule to never trust stored config as ground truth without confirming against the real API.
Known Gaps
- Scope is exactly MSPbots' 11 configured endpoints, not the vendor's full API surface — Harmony Endpoint Web Management exposes many more categories (Session, Jobs, Indicators of Compromise, Remediation & Response - Agent/Threat Prevention, etc. per the Shuffle integration's own category list) that MSPbots does not use; those are out of scope here.
checkpoint_get_computers_filtered'sfilterparameter shape is undocumented — MSPbots' own stored config sends an empty body, so this server accepts an optional genericdictand defaults to{}(an unfiltered listing) rather than guessing at a specific filter schema.- Async job polling timeout is fixed at 30s (1s interval) — all live test calls completed in well under a second, but a tenant with a very large dataset could plausibly exceed this; not configurable via env var in this version.
- Job responses can validly be non-200/204 without being an error —
e.g.
checkpoint_get_policy_modificationsreturnedstatusCode: 204orcheckpoint_get_vulnerability_datareturned an emptydataarray; this server surfaces the job result as-is rather than treating anything other than 200 as a tool-level error, since the async job framing means the vendor's own success/failure signaling lives inside the JSON body, not the outer HTTP status code.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。