This release is a pre-release and may not be stable for production use.
Check Point Harmony Email & Collaboration MCP Server
A Model Context Protocol server that exposes the Check Point Harmony Email & Collaboration smart-api (formerly Avanan) to AI assistants. It provides 26 tools across Security Events, Secured Entities, Exceptions, URL Reputation, DLP, and Scopes — full parity with the v1.50 API.
Tools
| Area | Count | Tools |
|---|---|---|
| Scopes | 1 | scopes_list |
| Security Events | 5 | events_get_by_id, events_query, events_find, events_action, events_get_task_status |
| Secured Entities | 5 | entities_get_by_id, entities_query, entities_find, entities_action, entities_download |
| Exceptions (Anti-Phishing) | 5 | exceptions_list, exceptions_get, exceptions_create, exceptions_update, exceptions_delete |
| URL Reputation | 5 | urlrep_list, urlrep_get, urlrep_create, urlrep_update, urlrep_delete |
| DLP | 5 | dlp_list, dlp_get, dlp_create, dlp_update, dlp_delete |
26 tools total. Highlights:
- Query tools (
events_query,entities_query) return a compact summary of up tolimitrecords (default 25). Usemax_records(cap 500) to auto-paginate,count_onlyfor a{recordsNumber, histogram}triage view, orfull=truefor raw objects.events_queryrequires a date range (startDate). - Find tools (
events_find,entities_find) locate a specific message/event by sender, recipient, subject, message-ID, or entity-ID. They filter server-side and default to the last 30 days (override withstart_date/end_date), trying an exact match first and falling back tocontains— the result'smatchModesays which hit. Both cap returned matches tolimit(default 25) and settruncatedwhen more exist. Power users can pass a raw server-sideextended_filtertoentities_query. - Action tools (
events_action,entities_action) wait for completion by default and return the final entity state; passwait=falsefor fire-and-forget.entities_actionrequiresentity_type— the target entity'ssaasEntityType(e.g.office365_emails_email), as returned byentities_query/entities_find. exceptions_*(anti-phishing) types arewhitelist,blacklist, andspam_whitelist(case-insensitive). URL-Reputation exception types areallow-url,allow-domain,block-url,block-domain. DLP exception types arehash,text_content,sender_email,recipient_email.entities_downloadreturns the secured entity's message as an.eml(base64-encoded for transport).- Rate limits enforced client-side: Anti-Phishing exception writes are paced to 1 rps; URL-Rep + DLP exception writes to 10 rps, matching the API reference.
events_actionverbs:quarantine,restore,dismiss,severityChange(param{"newSeverity": "Low|Medium|High|Highest"}),senttoadmin.- Server-side filters for
entities_queryviaextended_filter: each entry is{saasAttrName, saasAttrOp, saasAttrValue}; operators areis,contains,startsWith,isEmpty,isNot,notContains,isNotEmpty,greaterThan,lessThan. Use dotted paths likeentityPayload.fromEmail.
See docs/ENDPOINTS.md for the full tool ↔ endpoint mapping.
Quick start
Install
# with uv (recommended)
uv tool install checkpoint-harmony-mcp
# or with pip
pip install checkpoint-harmony-mcp
For development from source:
git clone https://github.com/Space-C0wboy/Checkpoint-Harmony-Email-MCP-Server
cd Checkpoint-Harmony-Email-MCP-Server
uv venv && uv pip install -e ".[dev]"
Getting an API key
Generate an account-scoped Infinity Portal API key for the Email & Collaboration service. The easiest path also shows you the exact authentication URL for your region:
- In the Harmony Email & Collaboration console, confirm the correct account / company is selected, then click the Settings gear next to the company name → API Keys. (Equivalently: Infinity Portal Global Settings → API Keys → New Account API key.)
- Click New, choose Service: Email & Collaboration, optionally set an expiration, then Create.
- Copy the Client ID, Secret Key, and Authentication URL it displays — the
secret is shown only once. These map to
CHECKPOINT_CLIENT_ID,CHECKPOINT_SECRET, andCHECKPOINT_AUTH_URL. SetCHECKPOINT_API_URLto your region's gateway +/app/hec-api(see Region gateways below).
No role is requested for Email & Collaboration keys — they are granted Admin access scoped to that single service.
Configuration
Copy .env.example to .env and set:
| Variable | Required | Description |
|---|---|---|
CHECKPOINT_CLIENT_ID |
yes | Infinity Portal API key Client ID |
CHECKPOINT_SECRET |
yes | Infinity Portal API key Secret (accessKey) |
CHECKPOINT_AUTH_URL |
yes | Region gateway + /auth/external |
CHECKPOINT_API_URL |
yes | Region gateway + /app/hec-api |
CHECKPOINT_SCOPE |
no* | Auto-discovered when blank (single tenant); set explicitly only for multi-scope keys |
CHECKPOINT_TIMEOUT |
no | Request timeout in seconds (default 30) |
LOG_LEVEL |
no | default INFO |
MCP_HTTP_HOST / MCP_HTTP_PORT |
no | HTTP transport bind, defaults 127.0.0.1:8765 |
* When blank, the server auto-discovers the scope (single-tenant). Set it explicitly only
if your key has access to multiple scopes; discover values with the scopes_list tool.
Region gateways:
- EU
https://cloudinfra-gw.portal.checkpoint.com - US
https://cloudinfra-gw-us.portal.checkpoint.com - AU
https://cloudinfra-gw.ap.portal.checkpoint.com - IN
https://cloudinfra-gw.in.portal.checkpoint.com
(Auth URL = gateway + /auth/external; API URL = gateway + /app/hec-api.)
Run
- stdio (default):
uv run checkpoint-harmony-mcp(or justcheckpoint-harmony-mcpif installed as a tool) - HTTP:
checkpoint-harmony-mcp --transport http --port 8765
Editor integration
Claude Desktop
Edit claude_desktop_config.json:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"checkpoint-harmony": {
"command": "checkpoint-harmony-mcp",
"env": {
"CHECKPOINT_CLIENT_ID": "your-client-id",
"CHECKPOINT_SECRET": "your-client-secret",
"CHECKPOINT_AUTH_URL": "https://cloudinfra-gw-us.portal.checkpoint.com/auth/external",
"CHECKPOINT_API_URL": "https://cloudinfra-gw-us.portal.checkpoint.com/app/hec-api"
}
}
}
}
If running from source instead of an installed tool, use uv with --directory:
{
"mcpServers": {
"checkpoint-harmony": {
"command": "uv",
"args": ["run", "--directory", "/absolute/path/to/Checkpoint-Harmony-Email-MCP-Server", "checkpoint-harmony-mcp"],
"env": { "CHECKPOINT_CLIENT_ID": "...", "CHECKPOINT_SECRET": "...", "CHECKPOINT_AUTH_URL": "...", "CHECKPOINT_API_URL": "..." }
}
}
}
Restart Claude Desktop, then confirm checkpoint-harmony appears in the tools menu.
Claude Code
claude mcp add checkpoint-harmony \
--env CHECKPOINT_CLIENT_ID=your-client-id \
--env CHECKPOINT_SECRET=your-client-secret \
--env CHECKPOINT_AUTH_URL=https://cloudinfra-gw-us.portal.checkpoint.com/auth/external \
--env CHECKPOINT_API_URL=https://cloudinfra-gw-us.portal.checkpoint.com/app/hec-api \
-- checkpoint-harmony-mcp
Scope auto-discovery
The Harmony API requires a scopes value on every call, but it isn't shown in the
Infinity Portal. This server resolves it for you: leave CHECKPOINT_SCOPE blank and,
on first use, it calls scopes_list and uses your single scope automatically (logging it
so you can pin it later). Set CHECKPOINT_SCOPE explicitly only if your key spans
multiple scopes — the server will list the available values in an error if so.
Example prompts
- "How many phishing emails did we get today?" →
events_querywithcount_only. - "Find the email from
scdc205@proton.meto me on June 4th." →entities_find. - "Quarantine event
<id>, then restore it." →events_action(quarantine → restore). - "Block the sender
bad@example.com." / "Remove that block." →exceptions_create/exceptions_delete. - "Show me the full detail for entity
<id>." →entities_get_by_id.
Development
uv run pytest # full suite (HTTP fully mocked with respx; no live calls)
uv run ruff check . # lint
Releases publish to PyPI automatically when a v* tag is pushed (see
.github/workflows/publish.yml).
License
Metadata
Release files for checkpoint-harmony-mcp 0.2.5b1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| checkpoint_harmony_mcp-0.2.5b1.tar.gz | 137.9 kB | With provenance | Details for checkpoint_harmony_mcp-0.2.5b1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| checkpoint_harmony_mcp-0.2.5b1-py3-none-any.whl | Python 3 | none | any | Details for checkpoint_harmony_mcp-0.2.5b1-py3-none-any.whl |
Total release size: 165.9 kB
Release files / checkpoint_harmony_mcp-0.2.5b1.tar.gz
| Download URL | checkpoint_harmony_mcp-0.2.5b1.tar.gz |
|---|---|
| Size | 137.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e3ed24c678e8b4b2af9d587c2b49e685f83f76b08a3fe57603c6b4843198448c
|
|
BLAKE2b-256 checksum How to use checksums |
b5cc63965616cfdd2002f0ebb9191d02474740b9cd97332a8fdc862de559bcb7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.
Transparency logRelease files / checkpoint_harmony_mcp-0.2.5b1-py3-none-any.whl
| Download URL | checkpoint_harmony_mcp-0.2.5b1-py3-none-any.whl |
|---|---|
| Size | 27.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
357dab710f458db103cfd580330a1e8a09493addc7dfa559d13e07a45e86004b
|
|
BLAKE2b-256 checksum How to use checksums |
64e4c3fc230a071739282690abb8c31b3b2d9f837c2cb5a678908852a33b33e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.
Transparency logSecurity for checkpoint-harmony-mcp 0.2.5b1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for checkpoint_harmony_mcp-0.2.5b1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.