Cve 搜尋 Mcp
概覽
什麼是 CVE-Search MCP?
CVE-Search MCP(模型上下文協議)是一個設計用來與 CVE-Search API 進行交互的伺服器。它允許用戶高效地查詢和檢索有關常見漏洞和暴露(CVE)的信息。這個工具對於需要隨時了解影響其軟體和系統的漏洞的開發者、安全專業人士和組織特別有用。
CVE-Search MCP 的特點
- API 集成:無縫集成 CVE-Search API,提供有關漏洞的實時數據。
- 用戶友好的界面:設計簡單,便於用戶導航和檢索信息。
- 開源:作為公共存儲庫,用戶可以為其開發做出貢獻並根據自己的需求進行自定義。
- 通知:用戶可以訂閱特定漏洞或數據庫變更的更新通知。
- 分支和協作:用戶可以分支存儲庫以創建自己的版本,並與社區中的其他人協作。
如何使用 CVE-Search MCP
- 安裝:從 GitHub 克隆存儲庫,並按照 README 文件中提供的安裝說明進行操作。
- 配置:設置必要的配置以連接到 CVE-Search API。
- 查詢:使用提供的端點查詢特定 CVE,檢索詳細信息並分析數據。
- 貢獻:如果您有改進或要添加的功能,可以分支存儲庫,進行更改並提交拉取請求。
常見問題解答
CVE 是什麼?
CVE(常見漏洞和暴露)是一種公開披露的網絡安全漏洞。每個 CVE 都會被分配一個唯一的標識符,以便於共享和跟踪。
我如何能夠為 CVE-Search MCP 做出貢獻?
您可以通過分支存儲庫、進行改進或添加功能,然後提交拉取請求以供審核來做出貢獻。
CVE-Search MCP 是免費使用的嗎?
是的,CVE-Search MCP 是一個開源項目,根據 MIT 許可證免費使用和修改。
我可以在哪裡找到 CVE-Search MCP 的文檔?
文檔通常可以在存儲庫的 README 文件中或存儲庫內的專用 docs 文件夾中找到。
我該如何報告錯誤或問題?
您可以通過在 GitHub 存儲庫中打開一個問題來報告錯誤或問題,提供盡可能多的詳細信息,以幫助維護者有效地解決。
詳細
CVE-Search MCP Server
A Model Context Protocol (MCP) server for querying the CVE-Search API. This server provides comprehensive access to CVE-Search, browse vendor and product、get CVE per CVE-ID、get the last updated CVEs.
Requirements
- python 3.10+
- uv
- Cline、Roo Code etc
Tools
- To get a JSON with all the vendors
- To get a JSON with all the products associated to a vendor
- To get a JSON with all the vulnerabilities per vendor and a specific product
- To get a JSON of a specific CVE ID
- To get a JSON of the last 30 CVEs including CAPEC, CWE and CPE expansions
- To get more information about the current databases in use and when it was updated
Quick Start
- Git clone this repository
git clone https://github.com/roadwy/cve-search_mcp.git
- Install the dependencies
cd cve-search_mcp
uv sync
3.Add to your mcp client(vscode with cline/roo code) configuration file, modify the "YOU_CVE_SEARCH_MCP_DIR_PATH"
as you self dir.
"cve-search_mcp": {
"command": "uv",
"args": [
"--directory",
"YOU_CVE_SEARCH_MCP_DIR_PATH",
"run",
"main.py"
],
"disabled": false,
"autoApprove": []
}
Reference
伺服器配置
{
"mcpServers": {
"cve-search-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/metorial/mcp-container--roadwy--cve-search_mcp--cve-search-mcp",
"python main.py --directory directory"
],
"env": {}
}
}
}