CRA-Switch EU CRA Article 14 & OpenVEX MCP Server
v2.1.0EU CRA Article 14 CVE triage, ENISA SRP 24h worksheets, CSIRT mapping & Ed25519 OpenVEX MCP.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
craswitch_scan_lockfile
Scan a dependency lockfile or SBOM via POST /api/v1/scan (when baseUrl is provided) or local @cra-switch/core fallback. Returns CycloneDX PURL count, matched KEV/EUVD advisories, and 4-state triage status (triage_required on raw matches — never starts 24h statutory clock automatically — or clean).
| Parameter | Type | Description |
|---|---|---|
content * | string | Raw UTF-8 text content of the lockfile or SBOM. |
kind * | string | Lockfile/SBOM kind or filename (e.g. "package-lock.json", "pnpm-lock.yaml", "Cargo.lock", "go.sum", "requirements.txt", "poetry.lock", "pom.xml", "cyclonedx.json", "spdx.json"). |
baseUrl | string | Optional CRA-Switch API base URL for remote POST /api/v1/scan. |
repo | string | Optional repository slug (e.g. "acme-eu/payments-sdk"). |
craswitch_init_vex
Scaffold a valid .cra-vex.json v2 configuration file (with empty suppressions and triageEvents arrays) for EU CRA Article 14 compliance.
| Parameter | Type | Description |
|---|---|---|
repo * | string | Repository identifier (e.g. "acme-eu/payments-sdk"). |
securityEmail * | string | Security contact email for internal triage alerts (e.g. "security@example.eu"). |
coordinatorCsirt | string | Optional coordinator CSIRT (e.g. "BSI (DE)", "ANSSI (FR)"). |
euMemberStates | array | Optional list of ISO-3166 EU Member State codes where the product is distributed (e.g. ["DE", "FR", "NL"]). |
craswitch_add_suppression
Append a spec-compliant OpenVEX not_affected suppression AND an auditable triageEvents timestamp entry to .cra-vex.json v2.
| Parameter | Type | Description |
|---|---|---|
cveId * | string | Vulnerability identifier (e.g. "CVE-2021-23337" or "EUVD-2025-55182"). |
impactStatement * | string | Human-readable engineering rationale explaining why the product is not affected. |
justification * | string | Standard OpenVEX v0.2.0 not_affected justification label. |
purl * | string | Affected component PURL (e.g. "pkg:npm/lodash@4.17.20"). |
detectedAt | string | Optional ISO-8601 timestamp when the vulnerability was first detected. |
existingVexJson | string | Optional existing .cra-vex.json file text to update in place. |
expiresAt | string | Optional ISO-8601 expiry timestamp for the suppression. |
triagedBy | string | Optional identifier of the engineer/security reviewer performing triage. |
craswitch_draft_enisa_srp
Generate a 1:1 ENISA SRP manual web-form copy-paste worksheet AND parallel EU CRA Article 14(8) customer notification advisory draft. Never auto-submits to ENISA.
| Parameter | Type | Description |
|---|---|---|
confirmedAt * | string | ISO-8601 timestamp when vendor explicitly confirmed active exploitation (starts 24h/72h/14d statutory clock). |
cveId * | string | Confirmed vulnerability identifier (e.g. "CVE-2025-55182"). |
memberStates * | array | EU Member States where the affected product is distributed (e.g. ["DE", "FR"]). |
affectedPurls | array | Optional list of affected production PURLs. |
coordinatorCsirt | string | Optional designated Coordinator CSIRT (e.g. "BSI (DE)"). |
detectedAt | string | Optional ISO-8601 timestamp when dependency match was initially detected. |
mitigationStatus | string | Optional current mitigation/patch status description. |
productName | string | Optional product/repository identifier (e.g. "acme-eu/legacy-gateway"). |
releaseVersion | string | Optional affected release tag/version (e.g. "v1.9.3"). |
stage | string | Optional Article 14 notification stage (defaults to early_warning_24h). |
check_vendor_cra_status
Query a vendor repository EU CRA Article 14 attestation via HTTP x402 (/api/v1/x402/attest/:org/:repo). Returns structured payment-required challenge details on HTTP 402 or the signed CRA posture on HTTP 200.
| Parameter | Type | Description |
|---|---|---|
org * | string | GitHub/GitLab organization or owner slug (e.g. "acme-eu"). |
repo * | string | Repository name (e.g. "payments-sdk"). |
baseUrl | string | Optional CRA-Switch API base URL (defaults to CRA_SWITCH_URL). |
paymentProof | string | Optional x402 payment proof sent in X-Payment-Proof header. |
verify_vex_signature
Fetch /.well-known/vex.json?repo=<org>/<repo> and cryptographically verify its Ed25519 signature via WebCrypto.
| Parameter | Type | Description |
|---|---|---|
org * | string | Repository owner or organization slug. |
repo * | string | Repository name. |
baseUrl | string | Optional CRA-Switch API base URL. |
publicKey | string | Optional Ed25519 public key (base64 SPKI, ed25519:<base64url>, PEM, or JWK JSON). Auto-discovered from document or response headers if omitted. |
scan_lockfile_kev
Legacy alias: parse a dependency lockfile and check active CISA KEV / ENISA EUVD exploit status locally via @cra-switch/core (or remotely via POST /api/v1/scan when baseUrl is provided).
| Parameter | Type | Description |
|---|---|---|
content * | string | Raw text content of the lockfile. |
filename * | string | Lockfile filename or path (e.g. "package-lock.json", "Cargo.lock", "requirements.txt", "go.sum", "pom.xml", "pnpm-lock.yaml", "poetry.lock"). |
baseUrl | string | Optional CRA-Switch API base URL for remote /api/v1/scan execution. |