NVD MCP Server
NVD MCP Server
Python-MCP-Server zum Abfragen der NVD Vulnerability API 2.0 (NIST).
Funktionen
Detaillierte Abfrage nach CVE-Kennung.
Suche nach Schlüsselwort, CPE, CWE, CVSS-v3-Schweregrad und CISA-KEV-Katalog.
Abfrage von Schwachstellen nach Veröffentlichungszeitraum.
MCP-Transport über SSE für Remote-Nutzung oder STDIO für lokale Ausführung.
Ausführung im Docker-Container mit Nicht-Root-Benutzer.
Related MCP server: nvd-cve-mcp-server
Anforderungen
Python 3.10 oder höher, oder Docker mit Docker Compose.
Optional ein NVD-API-Schlüssel in der Variable
NVD_API_KEY.
Ausführung mit Docker Compose
docker compose up --buildStandardmäßig ist der Server unter http://localhost:8000/sse erreichbar.
Um einen NVD-API-Schlüssel zu verwenden, setzen Sie NVD_API_KEY in der Umgebung, bevor Sie Compose starten:
NVD_API_KEY=sua-chave docker compose up --buildIn PowerShell:
$env:NVD_API_KEY = "sua-chave"
docker compose up --buildLokale Ausführung
Installieren Sie die Abhängigkeiten und starten Sie den SSE-Server:
python -m pip install -r requirements.txt
python nvd_mcp_server.pyFür STDIO:
MCP_TRANSPORT=stdio python nvd_mcp_server.pyIn PowerShell:
$env:MCP_TRANSPORT = "stdio"
python nvd_mcp_server.pyDie Variablen MCP_HOST, MCP_PORT und MCP_TRANSPORT ermöglichen die Anpassung des Transports und der Listen-Adresse.
MCP-Tools
get_cve_details: liefert die Details eines CVE.search_vulnerabilities: durchsucht Schwachstellen mit Filtern.get_recent_vulnerabilities_by_date: fragt Veröffentlichungen in einem Datumsbereich ab.
Client-Konfiguration
Die Datei agent_config.json enthält eine Beispielkonfiguration für einen entfernten MCP-Client. Ändern Sie die URL auf die tatsächliche Adresse des Servers, bevor Sie sie verwenden.
Lizenz
Dieses Projekt legt keine Lizenz fest. Konsultieren Sie den Eigentümer, bevor Sie den Code in anderen Projekten wiederverwenden.
This server cannot be deployed
Maintenance
Related MCP Connectors
Search and audit NIST NVD CVEs by keyword, severity, CWE, CISA KEV status, and CPE.
NVD MCP — wraps the NIST National Vulnerability Database API.…
CVE, KEV, EPSS, SBOM and advisory lookups; per-CVE exposure from Shodan data (© Shodan). Keyless.
CVE lookups (NVD) and dependency-manifest audits (OSV) for AI agents. No API keys.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol (MCP) server for querying the NIST National Vulnerability Database (NVD) API, enabling search and retrieval of CVE details, temporal context, and KEV catalog entries.14MIT
- AlicenseAqualityCmaintenanceMCP server that provides tools to search, filter, and retrieve CVE data from the NVD API, including by ID, keyword, severity, and recency.4MIT
- AlicenseNot gradedqualityDmaintenanceEnables searching the NIST NVD for CVEs, retrieving full CVE details, checking software for known vulnerabilities, and searching the CPE database.1MIT
- FlicenseNot gradedqualityDmaintenanceEnables CVE vulnerability lookup and search using the National Vulnerability Database (NVD), allowing users to retrieve detailed information about specific CVEs and search for vulnerabilities by keyword.-