@chkp/threat-emulation-mcp

中文文档
1.3.9发布于 2026/11/08MITTypeScriptES Module构建来源已验证近 30 天下载 1995

Threat Emulation MCP server of Check Point

原始使用文档
文档目录31 节
  1. What is MCP?
  2. Why MCP for Threat Emulation?
  3. Features
  4. Example Use Cases
  5. Suspicious File Analysis
  6. Unknown File Assessment
  7. Batch File Verification
  8. Malicious Behavior Identification
  9. Threat Intelligence Integration
  10. Security Design Decisions
  11. Why File Paths Only?
  12. Configuration Options
  13. API Key Authentication
  14. Client Configuration
  15. Prerequisites
  16. Supported Clients
  17. Example
  18. Configuring the Claude Desktop App
  19. VSCode
  20. Windsurf
  21. Cursor
  22. HTTP Transport
  23. Starting the server in HTTP mode
  24. Connecting an MCP client
  25. Development
  26. Prerequisites
  27. Setup
  28. Build
  29. Running Locally
  30. ⚠️ Security Notice
  31. 📊 Telemetry and Privacy

Check Point Threat Emulation MCP Server

A Model Context Protocol (MCP) server that provides seamless integration with Check Point's Threat Emulation and Anti-Virus cloud services. This server enables AI assistants to perform comprehensive malware analysis, file scanning, and threat detection through a simple, standardized interface.

What is MCP?

Model Context Protocol (MCP) servers expose a structured, machine-readable API for your enterprise data—designed for AI-powered automation, copilots, and decision engines. By delivering a clear, contextual slice of your security environment, MCP lets you query, analyze, and optimize complex systems without building custom SDKs or parsing raw exports.

Why MCP for Threat Emulation?

Modern threat landscapes require rapid file analysis and malware detection capabilities. Analyzing suspicious files is traditionally a complex process requiring specialized tools and expertise.

MCP changes this: exposing Check Point's Threat Emulation and Anti-Virus services in a modular, context-rich format, ready for AI systems to consume. Enabling the AI to analyze files, identify threats, and provide actionable security insights—instantly.

Features

  • File Upload & Analysis - Submit files for threat analysis using Check Point's cloud infrastructure
  • Hash Integrity Protection - Ensures perfect file hash preservation for reliable security analysis
  • Multi-Hash Support - Compatible with MD5, SHA-1, and SHA-256 hashes for flexible file identification
  • Real-time Status Monitoring - Query analysis progress and retrieve results as they become available
  • Detailed XML Reporting - Download comprehensive XML reports for malicious files with detailed analysis results
  • Smart Caching - Automatically checks for existing analysis before uploading duplicates
  • Quota Management - Monitor API usage and limits
  • File Path Only Approach - Ensures hash integrity by reading files directly from disk
  • Combined Scanning - Single tool that uploads, waits, and returns results with intelligent timeout handling
  • Auto-Hash Calculation - Calculates missing MD5 hashes from file paths when needed for AV analysis

Example Use Cases

Suspicious File Analysis

"Is this PDF file safe to open? What threats does it contain?"
→ Returns a detailed analysis of potential malware and risky behaviors.

Unknown File Assessment

"What type of threats are in this executable? Is it known malware?"
→ Provides classification and detection details across multiple security engines.

Batch File Verification

"Verify if these downloaded files are safe before installation."
→ Scans multiple files and highlights any security concerns.

Malicious Behavior Identification

"What exactly does this malware attempt to do on my system?"
→ Explains specific malicious behaviors and system impacts.

Threat Intelligence Integration

"Has this file hash been identified as malicious in the past?"
→ Leverages Check Point's threat intelligence for comprehensive assessment.

Security Design Decisions

Why File Paths Only?

We prioritize hash integrity over convenience for security analysis:

File Upload Challenges:

  • Base64 encoding/decoding changes file hashes
  • Different hash = potential file corruption/tampering
  • Security analysis requires perfect hash preservation

File Path Approach Benefits:

  • Perfect Hash Integrity - Files read directly from disk preserve original hashes
  • Reliable Security Analysis - No conversion artifacts affecting analysis
  • Trustworthy Results - Hash verification works as expected

User Workflow:

  1. Save files to disk first (preserves original hash)
  2. Use file path for analysis (guaranteed integrity)
  3. Get reliable security results

Bottom Line: We chose hash accuracy over convenience for trustworthy security scanning.


Configuration Options

📊 Anonymous Usage Statistics: Check Point collects anonymous usage statistics to help improve this MCP server. To opt out, set TELEMETRY_DISABLED=true or use --no-telemetry flag.

This server requires authentication with Check Point's Threat Emulation cloud service:

API Key Authentication

  • How to obtain an API key:
    Contact your Check Point account representative or support team to obtain an API key for the Threat Emulation service.

Set the following environment variable:

  • API_KEY: Your Check Point Threat Emulation API key

Client Configuration

Prerequisites

Download and install the latest version of Node.js if you don't already have it installed.
You can check your installed version by running:

node -v      # Should print "v22" or higher
nvm current  # Should print "v22" or higher

Supported Clients

This server has been tested with Claude Desktop, Cursor, GitHub Copilot, and Windsurf clients.
It is expected to work with any MCP client that supports the Model Context Protocol.

Example

{
  "mcpServers": {
    "threat-emulation": {
      "command": "npx",
      "args": ["@chkp/threat-emulation-mcp"],
      "env": {
        "API_KEY": "YOUR_API_KEY"
      }
    }
  }
}

Set only the environment variables required for your authentication method.

Configuring the Claude Desktop App

Using a Bundled MCPB (formerly DXT)

  1. Download the MCPB file: 📥 threat-emulation.mcpb
  2. Open Claude Desktop App → Settings → Extensions
  3. Drag the MCPB file and configure per the instructions.

Or Configure Manually

For macOS:

# Create the config file if it doesn't exist
touch "$HOME/Library/Application Support/Claude/claude_desktop_config.json"

# Open the config file in TextEdit
open -e "$HOME/Library/Application Support/Claude/claude_desktop_config.json"

For Windows:

code %APPDATA%\Claude\claude_desktop_config.json

Add the server configuration:

{
  "mcpServers": {
    "threat-emulation": {
      "command": "npx",
      "args": ["@chkp/threat-emulation-mcp"],
      "env": {
        // Add the configuration from the above instructions
      }
    }
  }
}

VSCode

Enter VSCode settings and type "mcp" in the search bar. You should see the option to edit the configuration file. Add this configuration:

{
  ...
  "mcp": {
    "inputs": [],
    "servers": {
      "threat-emulation": {
        "command": "npx",
        "args": [
          "@chkp/threat-emulation-mcp"
        ],
        "env": {
          "API_KEY": "YOUR_API_KEY"
        }
      }
    }
  },
  ...
}

Windsurf

Enter Windsurf settings and type "mcp" in the search bar. You should see the option to edit the configuration file. Add the configuration as Claude Desktop App.

Cursor

Enter Cursor settings and click on "MCP Servers" in the left menu. You should see the option to add a new MCP Server. Add the configuration as Claude Desktop App.


HTTP Transport

By default, this server uses stdio transport, which is the standard mode for MCP clients like Claude Desktop and Cursor. For hosted or multi-user deployments, an HTTP transport (MCP Streamable HTTP) is also available.

Security notice before you continue: The HTTP server has no built-in authentication and no TLS. Any client that can reach the port can establish a session, and credentials travel in cleartext. Only use HTTP transport behind an authenticated reverse proxy (nginx, Caddy, a cloud load balancer) that terminates TLS and enforces authentication. If you are running the server on the same machine as your MCP client, use the default stdio transport — it has none of these concerns.

Starting the server in HTTP mode

MCP_TRANSPORT_TYPE=http MCP_TRANSPORT_PORT=3000 npx @chkp/threat-emulation-mcp
# or
npx @chkp/threat-emulation-mcp --transport http --transport-port 3000

The server exposes:

  • POST/GET/DELETE /mcp — MCP protocol endpoint
  • GET /health — server status (active session count, version)

Connecting an MCP client

Point your MCP client at http://<host>:3000/mcp. Example for Claude Desktop (claude_desktop_config.json):

{
  "mcpServers": {
    "threat-emulation": {
      "url": "http://localhost:3000/mcp"
    }
  }
}

Development

Prerequisites

  • Node.js 22+
  • npm 10+

Setup

# Install all dependencies
npm install

Build

# Build all packages
npm run build

Running Locally

You can run the server locally for development using MCP Inspector or any compatible MCP client.

node FULL_PATH_TO_SERVER/packages/threat-emulation/dist/index.js --api-key YOUR_API_KEY

⚠️ Security Notice

  1. Authentication keys and credentials are never shared with the model. They are used only by the MCP server to authenticate with Check Point Threat Emulation.
  2. Only use client implementations you trust. Malicious or untrusted clients could misuse your credentials or access data improperly.
  3. File analysis data is exposed to the model. Ensure that you only use models and providers that comply with your organization's policies for handling sensitive data.

📊 Telemetry and Privacy

Anonymous Usage Statistics: Check Point collects anonymous usage statistics to improve this MCP server. Only tool usage patterns and anonymous identifiers are collected—no credentials, policies, or sensitive data.

Opt-Out: Set TELEMETRY_DISABLED=true environment variable or use the --no-telemetry flag to disable telemetry collection.

版本与发布记录

@chkp/threat-emulation-mcp 共发布 16 个版本,首次发布于 2025/08/14;过去 12 个月发布了 11 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
1.3.9latest2026/11/081 天前
1.3.82026/11/028 天前
1.3.52026/10/2515 天前
1.3.42026/10/051 个月前
1.3.22026/08/202 个月前
1.3.12026/04/196 个月前

关于 @chkp/threat-emulation-mcp 的常见问题

@chkp/threat-emulation-mcp 是什么?

Threat Emulation MCP server of Check Point

如何安装 @chkp/threat-emulation-mcp?

在项目目录运行 npm install @chkp/threat-emulation-mcp,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 threat-emulation-mcp,可以用 npx threat-emulation-mcp 直接运行。

@chkp/threat-emulation-mcp 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@chkp/threat-emulation-mcp 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@chkp/threat-emulation-mcp 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=20.0.0。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@chkp/threat-emulation-mcp 可以商用吗?

@chkp/threat-emulation-mcp 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@chkp/threat-emulation-mcp 的下载量有多少?

根据 npm 官方下载统计,@chkp/threat-emulation-mcp 在 2026/10/10 – 2026/11/08 这 30 天内被下载 1,995 次,日均约 67 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@chkp/threat-emulation-mcp 还在维护吗?

最新版本 1.3.9 发布于 2026/11/08(1 天前);至今共发布 16 个版本,其中过去 12 个月发布了 11 个;首次发布于 2025/08/14。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。