# EU CRA & ENISA EUVD Compliance MCP Server (`eurobridge-labs/eu-cra-euvd-compliance-mcp`) Actor

Automate EU Cyber Resilience Act (CRA) vulnerability triage via MCP or batch API. Cross-reference packages, manifests, and CycloneDX/SPDX SBOMs against OSV, CISA KEV, and ENISA EUVD to detect 24-hour ENISA reporting triggers with zero-guess pricing.

- **URL**: https://apify.com/eurobridge-labs/eu-cra-euvd-compliance-mcp.md
- **Developed by:** [EuroBridge Labs](https://apify.com/eurobridge-labs) (community)
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 package cra checks

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/actors/store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## EU CRA dependency and SBOM audit with ENISA EUVD

Audit exact software dependency versions for known vulnerabilities and prioritize EU Cyber Resilience Act (CRA) Article 14 triage. This Apify Actor checks OSV.dev for affected versions and fixes, then cross-references CISA's Known Exploited Vulnerabilities catalog and ENISA's European Vulnerability Database (EUVD). Use MCP for interactive checks or Apify's Input tab for a batch audit with a dataset result.

### Tools and pricing

| MCP tool | Batch `mode` | Pay-per-event name | USD per eligible result |
| --- | --- | --- | ---: |
| `check_package_cra_status` | `package` | `package-check` | $0.002 |
| `audit_manifest_cra_compliance` | `manifest` | `manifest-cra-audit` | $0.05 |
| `lookup_euvd_advisory` | `advisory` | `euvd-lookup` | $0.002 |

A manifest or SBOM audit costs one event for the entire submitted inventory when all applicable checks complete. A definitive package check is eligible even if it finds zero advisories. An advisory lookup is eligible when it finds a verified record and all applicable checks complete. Invalid input, verified advisory misses, and incomplete source coverage incur zero Actor event charges. Apify may separately bill platform usage. The Actor makes direct public HTTPS requests with $0 Apify Proxy cost.

If your run budget cannot cover the event, the operation returns `BUDGET_LIMIT_REACHED` and withholds the payable result. Inspect `billing.status` before retrying. `BILLING_UNCERTAIN` means the charge receipt could not be confirmed. Subsequent payable operations in that run return a billing error. Local unmetered runs use `billing.reason: localDevelopment`.

### Inputs

Paste one of these JSON objects into the Apify Input tab. The batch run writes exactly one object to the default dataset, including for validation failures. For MCP, send the same fields without `mode` as the tool arguments. After MCP initialization, a package call has this JSON-RPC body.

```json
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"check_package_cra_status","arguments":{"ecosystem":"PyPI","name":"jinja2","version":"3.1.6"}}}
```

**Check one package**

```json
{"mode":"package","ecosystem":"PyPI","name":"jinja2","version":"3.1.6"}
```

You can also send `{"mode":"package","purl":"pkg:pypi/jinja2@3.1.6"}`. Supported ecosystems include PyPI, npm, Maven, Go, Cargo, and NuGet.

**Audit a requirements file**

```json
{"mode":"manifest","format":"requirements.txt","content":"jinja2==3.1.6\n"}
```

**Audit a CycloneDX SBOM**

```json
{"mode":"manifest","format":"cyclonedx","content":"{\"bomFormat\":\"CycloneDX\",\"specVersion\":\"1.5\",\"version\":1,\"components\":[{\"type\":\"library\",\"name\":\"jinja2\",\"version\":\"3.1.6\",\"purl\":\"pkg:pypi/jinja2@3.1.6\"}]}"}
```

The allowed formats are `requirements.txt`, `pyproject.toml`, `package.json`, `package-lock.json`, `cyclonedx`, and `spdx`. Send raw file text in `content`, including serialized JSON for lockfiles and SBOMs. Exact versions are required. Use a lockfile or SBOM with resolved versions when your manifest contains ranges. The limit is 2 MiB of UTF-8 content and 1,000 unique package versions. URLs and local file paths are unsupported inputs.

**Look up an advisory**

```json
{"mode":"advisory","id":"CVE-2021-44228"}
```

`{"mode":"advisory","id":"EUVD-2021-34768"}` looks up the ENISA identifier directly. Advisory lookup reports `found`, `notFound`, or `incomplete`, along with verified identifiers, ENISA severity and exploitation evidence where available.

### Results

This local package result is one default-dataset row. MCP returns the same object in `result.structuredContent`.

```json
{
  "craComplianceStatus": "PASS",
  "earlyWarningRequired": false,
  "summary": {
    "severityCounts": {"critical": 0, "high": 0, "medium": 0, "low": 0, "unknown": 0},
    "activelyExploitedCount": 0,
    "fixableCount": 0
  },
  "findings": [],
  "sourceStatus": {
    "osv": {"status": "ok", "reasons": [], "coverage": {"unit": "packages", "total": 1, "complete": 1}},
    "cisaKev": {"status": "notApplicable", "reasons": ["noAffectedAdvisories"]},
    "euvd": {"status": "notApplicable", "reasons": ["noAffectedAdvisories"]}
  },
  "checkedAt": "2026-11-28T22:57:55Z",
  "disclaimer": "Technical triage only. The manufacturer must assess evidence of exploitation in its product and its legal obligations. The Article 14 early-warning window starts when the manufacturer becomes aware of an actively exploited vulnerability. This service provides no legal advice.",
  "billing": {"status": "notCharged", "reason": "localDevelopment", "eventName": "package-check", "chargedCount": 0}
}
```

This local fixture shows a positive early-warning result for a sample package with one matched advisory.

```json
{
  "craComplianceStatus": "CRA_24H_REPORTING_TRIGGER",
  "earlyWarningRequired": true,
  "summary": {
    "severityCounts": {"critical": 0, "high": 1, "medium": 0, "low": 0, "unknown": 0},
    "activelyExploitedCount": 1,
    "fixableCount": 1
  },
  "findings": [
    {
      "package": "demo-lib",
      "version": "1.0",
      "purl": "pkg:pypi/demo-lib@1.0",
      "osvIds": ["GHSA-jfh8-c2jp-5v3q"],
      "cveIds": ["CVE-2021-44228"],
      "ghsaIds": ["GHSA-jfh8-c2jp-5v3q"],
      "euvdIds": ["EUVD-2021-34768"],
      "cvss": {"score": 8.0, "version": "3.1", "vector": null, "source": "euvd"},
      "severity": "high",
      "activelyExploited": true,
      "exploitationSources": ["euvd"],
      "fixedVersion": "1.2",
      "recommendedUpgrade": "1.2",
      "advisoryUrls": [
        "https://euvd.enisa.europa.eu/enisa/EUVD-2021-34768",
        "https://osv.dev/vulnerability/GHSA-jfh8-c2jp-5v3q"
      ]
    }
  ],
  "sourceStatus": {
    "osv": {"status": "ok", "reasons": [], "coverage": {"unit": "packages", "total": 1, "complete": 1}},
    "cisaKev": {"status": "ok", "reasons": [], "coverage": {"unit": "cves", "total": 1, "complete": 1}},
    "euvd": {"status": "ok", "reasons": [], "coverage": {"unit": "cves", "total": 1, "complete": 1}}
  },
  "checkedAt": "2026-11-29T12:04:16Z",
  "disclaimer": "Technical triage only. The manufacturer must assess evidence of exploitation in its product and its legal obligations. The Article 14 early-warning window starts when the manufacturer becomes aware of an actively exploited vulnerability. This service provides no legal advice.",
  "billing": {"status": "notCharged", "reason": "localDevelopment", "eventName": "package-check", "chargedCount": 0}
}
```

An MCP audit with `{"format":"requirements.txt","content":"  "}` returns this typed operation error in `result.structuredContent`. Missing or wrong-typed MCP arguments may instead be rejected by the protocol before the operation runs.

```json
{
  "error": {
    "code": "INVALID_INPUT",
    "message": "The submitted operation input is invalid.",
    "details": [{"type": "invalid_input", "loc": [], "msg": "content: Inventory contains no auditable dependencies."}]
  },
  "billing": {"status": "notCharged", "reason": "invalidInput", "chargedCount": 0}
}
```

- `PASS` means the applicable checks completed and returned zero affected advisories for the submitted versions.
- `ACTION_REQUIRED` means the checks found an affected dependency or could not establish complete coverage. Read `sourceStatus` before drawing a conclusion.
- `CRA_24H_REPORTING_TRIGGER` with `earlyWarningRequired: true` flags a matched dependency with positive CISA KEV or EUVD exploitation evidence. Apply the manufacturer assessment below.

Findings include affected package coordinates, OSV/CVE/GHSA/EUVD identifiers, CVSS where known, exploitation sources, advisory links, and fixes where supported. `fixedVersion` applies to the individual finding. `recommendedUpgrade` accounts for all findings returned for that installed dependency. Candidate versions do not receive a separate OSV scan.

### Connect an MCP client

For the hosted Actor, copy the **MCP URL** from the Apify **Server** tab. Use Streamable HTTP at `/mcp` and authenticate with your Apify API token. In the examples, replace `https://your-actor.apify.actor/mcp` with the copied URL. For local clients, use `http://127.0.0.1:4321/mcp` and omit authentication. Hosted clients need a server URL they can reach. [Apify Server Actor connection guide](https://docs.apify.com/actors/running/server-actors)

#### Claude Code

Add this entry to the `mcpServers` object in `.mcp.json`. Set `APIFY_TOKEN` in the client environment and check the connection with `/mcp`. [Claude Code MCP configuration](https://code.claude.com/docs/en/mcp)

```json
{
  "mcpServers": {
    "eu-cra": {
      "type": "http",
      "url": "https://your-actor.apify.actor/mcp",
      "headers": {"Authorization": "Bearer ${APIFY_TOKEN}"}
    }
  }
}
```

#### Cursor

Add the entry to `.cursor/mcp.json` or `~/.cursor/mcp.json`. Set `APIFY_TOKEN` in the Cursor process environment. [Cursor MCP configuration](https://cursor.com/docs/mcp)

```json
{
  "mcpServers": {
    "eu-cra": {
      "url": "https://your-actor.apify.actor/mcp",
      "headers": {"Authorization": "Bearer ${env:APIFY_TOKEN}"}
    }
  }
}
```

#### Codex

Set `APIFY_TOKEN` in the Codex process environment. Run this command and restart the client session. Omit the bearer option when pointing at the local development server. [Codex MCP configuration](https://developers.openai.com/codex/mcp)

```sh
codex mcp add eu-cra --url https://your-actor.apify.actor/mcp --bearer-token-env-var APIFY_TOKEN
```

#### n8n

Add an **MCP Client** node. Set **Server Transport** to **HTTP Streamable**, **MCP Endpoint URL** to `https://your-actor.apify.actor/mcp`, and **Authentication** to **Bearer Auth** with your Apify API token in the credential. Select `check_package_cra_status` and supply `ecosystem: PyPI`, `name: jinja2`, and `version: 3.1.6`. [n8n MCP Client configuration](https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-langchain.mcpclient)

#### Make

Add the **MCP Client → Execute an action with AI** module. Create a connection with **+ New MCP Server**, set **URL** to `https://your-actor.apify.actor/mcp`, and enter your Apify API token in **API Key / Access token**. In **Tools**, select the operations the scenario may call. [Make MCP Client configuration](https://apps.make.com/mcp-client)

### Coverage and CRA limitations

Submit the inventory of the product you need to assess. The Actor treats every submitted dependency version as in use, including development and conditional dependencies if supplied. It does not establish runtime reachability, deployment state, or exploitation within your product. A lack of positive exploitation evidence can reflect published-data gaps or unavailable sources. Inspect `sourceStatus` for incomplete or stale evidence, and use confirmed positive findings even if another provider is unavailable.

Article 14's 24-hour early-warning period is measured from manufacturer awareness. The manufacturer must assess whether the exploitation evidence applies to a vulnerability in its own product and determine its reporting obligations. This service provides technical triage and does not submit notifications or provide legal advice. [Regulation (EU) 2024/2847, Articles 3 and 14](https://eur-lex.europa.eu/eli/reg/2024/2847/oj)

### Run locally

Use Python 3.12 and install `requirements.txt`. Run the server from the checkout with `apify run --server`. `GET /health` returns `{"status":"ok"}` and `GET /` returns `{"status":"ready"}`, including when Apify sends its readiness-probe header. To run batch mode, save one input example as `input.json` and run `apify run --input-file input.json`. The local default dataset is under `storage/datasets/default/`.

For development, install `requirements-dev.txt` and run `python -m pytest -q -o asyncio_default_fixture_loop_scope=function`. To check the public providers, set `CRA_RUN_LIVE_TESTS=1` and run `python -m pytest -q -s -o asyncio_default_fixture_loop_scope=function tests/test_live.py`. The live tests make public HTTPS requests and use no Actor billing.

# Actor input Schema

## `mode` (type: `string`):

Select the operation to run.

## `ecosystem` (type: `string`):

Package ecosystem for package mode.

## `name` (type: `string`):

Exact package name for package mode.

## `version` (type: `string`):

Exact installed version for package mode.

## `purl` (type: `string`):

Versioned PURL alternative to ecosystem, name and version.

## `format` (type: `string`):

Format for manifest mode.

## `content` (type: `string`):

Raw manifest or serialized JSON SBOM text, up to 2 MiB.

## `id` (type: `string`):

CVE or EUVD identifier for advisory mode.

## Actor input object example

```json
{}
```

# Actor output Schema

## `results` (type: `string`):

Structured batch results in the default dataset.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("eurobridge-labs/eu-cra-euvd-compliance-mcp").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("eurobridge-labs/eu-cra-euvd-compliance-mcp").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call eurobridge-labs/eu-cra-euvd-compliance-mcp --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,eurobridge-labs/eu-cra-euvd-compliance-mcp"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/Tmkdapij9Dm3GMUEu/builds/JUCfRKfMEh6e9tRm8/openapi.json
