You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/mcp-server-vdb/src/mcp_server_vdb/server.py
+20-9Lines changed: 20 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -25,8 +25,8 @@
25
25
26
26
logger=logging.getLogger('mcp_server_vdb')
27
27
28
-
# Age in days before the database needs refreshing. 5 days
29
-
VDB_AGE_DAYS=os.getenv("VDB_AGE_DAYS", "5")
28
+
# Age in days before the database needs refreshing. 2 days
29
+
VDB_AGE_DAYS=os.getenv("VDB_AGE_DAYS", "2")
30
30
ifVDB_AGE_DAYS.isdigit():
31
31
VDB_AGE_DAYS=int(VDB_AGE_DAYS)
32
32
@@ -42,6 +42,17 @@
42
42
pass
43
43
44
44
45
+
SERVER_INSTRUCTIONS="""
46
+
This MCP server allows users to search for vulnerabilities and malware aggregated from sources such as AppThreat vuln-list, OSV, NVD, and GitHub. Vulnerability data is stored in SQLite-based storage with indexes for offline access and efficient searches. The database is downloaded upon the first run and can be refreshed every few days by simply restarting the MCP client, such as Claude Desktop.
47
+
48
+
## Key Features
49
+
50
+
- Query vulnerabilities by Package URLs (purl), CPE identifiers, or GitHub repository URLs
51
+
- Retrieve detailed information about specific vulnerabilities using CVE or GHSA IDs
0 commit comments