
Avanan MSP (Legacy SmartAPI)
io.github.wyre-technologyPublished by GitHub account wyre-technologyv1.1.0Updated Oct 26, 2026
MCP server for the Avanan MSP SmartAPI — manage child MSPs, users, tenants, licenses, and usage.
Overview
MCP server for the legacy Avanan MSP SmartAPI, letting an assistant manage MSP partners, tenants, users and licenses and handle per-tenant security events and…
- What you can do
- Test the connection and list key scopes to see which kind of API key is in use
- Query and read security events, and search or fetch secured emails
- List, read, add, update and delete exceptions
- Quarantine or restore events and emails, and check remediation task status
- List, create and delete child MSPs, MSP users and customer tenants
- List licenses and add-ons, assign licenses, and read monthly or daily usage
- When to use it
- Useful for managed service providers or security teams running Avanan/Check Point email security who want an assistant to triage events, apply exceptions and remediation, and administer tenants, users and licensing from one place.
- Requirements
- Runs locally as a container image over stdio, or over HTTP with MCP_TRANSPORT=http. Needs an Avanan SmartAPI client ID and secret (AVANAN_CLIENT_ID, AVANAN_CLIENT_SECRET) and a region; MSP-management tools require an MSP-issued key. HTTP mode requires CONDUIT_S2S_SECRET and, in gateway mode, per-request client headers. Network access to the regional Avanan endpoint.
Installation
In SourceWeft
- Open Avanan MSP (Legacy SmartAPI) in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
avanan-legacy-mcp
MCP server for the legacy Avanan SmartAPI on smart-api-production-*.avanan.net:
MSP tenant management plus per-tenant security (events, entities, exceptions, remediation).
Distinct from avanan-mcp, which targets the Check Point Infinity Portal HEC API.
Implements the Avanan MSP SmartAPI Reference Guide (22 July 2026) and the Avanan SmartAPI Reference Guide (Feb 2024):
Features
- Interactive tenant card (MCP Apps, SEP-1865):
avanan_get_tenantrenders as an interactive card in MCP Apps hosts (Claude Desktop/web) showing domain, status, deployment mode, license package, protected users, PoC dates, and add-ons. The card is read-only, neutral by default, and brandable viawindow.__BRAND__injection orMCP_BRAND_*env vars (MCP_BRAND_NAME,MCP_BRAND_LOGO_URL,MCP_BRAND_PRIMARY_COLOR,MCP_BRAND_ACCENT_COLOR,MCP_BRAND_BG,MCP_BRAND_TEXT). Plain-JSON behavior is unchanged in other hosts. Rebuild the embedded card HTML after editingui/withnpm run build:ui.
Configuration
Copy .env.example. Leave CONDUIT_S2S_SECRET empty there.
/health stays unauthenticated and does not read credentials. The stdio transport does not use CONDUIT_S2S_SECRET or X-Gateway-S2S.
HTTP authentication
With MCP_TRANSPORT=http and a real CONDUIT_S2S_SECRET, every request except /health must include X-Gateway-S2S:
v1 is HMAC-SHA256 over the ASCII string t=<unix seconds> (the same t= prefix that starts the header), keyed with CONDUIT_S2S_SECRET, encoded as 64 lowercase hex characters. The timestamp must be within 300 seconds of the server clock. The comparison is timing-safe. A missing or invalid header returns 401 and does not touch Avanan credentials. The secret is never logged.
In AUTH_MODE=gateway, the request must also include X-Avanan-Client-Id and X-Avanan-Client-Secret (X-Avanan-Region is optional). Those headers are the only credential source. A request missing either one returns 401 and does not fall back to AVANAN_CLIENT_ID / AVANAN_CLIENT_SECRET.
In AUTH_MODE=env, /mcp still requires a valid X-Gateway-S2S header. Vendor credentials come from the environment when the request does not carry both client headers.
Docker
The image listens on 0.0.0.0 inside the container (MCP_HTTP_HOST) and sets AUTH_MODE=gateway. Publish the port on loopback and pass the S2S secret. In gateway mode, Avanan credentials arrive on each request as headers; they are not read from the environment.
Compose refuses to start when CONDUIT_S2S_SECRET is unset, sets AUTH_MODE=gateway, publishes 127.0.0.1:8080:8080, and does not put AVANAN_CLIENT_ID or AVANAN_CLIENT_SECRET in the service environment:
Single-tenant HTTP (AUTH_MODE=env) still requires the S2S secret, then uses AVANAN_CLIENT_ID and AVANAN_CLIENT_SECRET. That is separate from the gateway Compose service.
Local HTTP without a secret is development-only. It binds 127.0.0.1 even if MCP_HTTP_HOST is 0.0.0.0, and logs a warning:
Generate a secret with openssl rand -hex 32. Do not leave a placeholder in CONDUIT_S2S_SECRET; startup treats those values as unset and exits.
The server performs the token handshake itself: it calls GET /v1.0/auth, caches the
one-hour JWT per client ID, and refreshes it a minute before expiry.
[!IMPORTANT] The MSP-management tools need an MSP API key. These are not self-service: Check Point/Avanan Support issues them on request, through your distributor if you buy Avanan through the channel, one per region. A key generated inside a customer tenant authenticates successfully, but every
/msp/*endpoint then answers403 MSP endpoint, access denied. The security tools (events, entities, exceptions, remediation) work with either kind of key.avanan_test_connectionreports which kind you have.
With an MSP key, the security tools cover every managed customer; pass scopes (query
and search) or scope (actions) with values from avanan_list_scopes to target one.
Parent MSPs can scope list and create calls to a child MSP with the optional MSPId
argument (msp_ids on the usage tools), as in Check Point's reference client.
Authentication details
The wire format was verified against the live US endpoint in September 2026 and is pinned
by tests/client.test.ts. Two details differ from the reference guide:
x-av-datemust not end inZ(2026-09-09T16:49:12.123). The documented.000Zform makes the API return HTTP 500.x-av-sigissha256(base64(reqId + clientId + date + path?query + secret))as hex. The path is omitted on the/authcall only, and the/authresponse body is the raw JWT rather than JSON.
Both match Check Point's reference
client.py.
Build
Regional endpoints
All endpoints sit under /v1.0/msp/....
Source: README.md at commit 48d55e9
Tools
0Version history
1- v1.1.0LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts