VulnMCP 标志

VulnMCP

组织
vulnerability-lookup

A modular MCP server providing AI-driven vulnerability management skills, including severity classification and automated insights.

发布者vulnerability-lookup
代码仓库VulnMCP
语言Python
复刻数
7
星标数
43
可用工具
0
传输类型stdio
许可协议AGPL-3.0
链接
  • 将工具接入 AI 工作流

    VulnMCP 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 0 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 43 个星标和 7 个复刻。

VulnMCP

VulnMCP is an MCP server built with FastMCP that provides AI clients, chat agents, and other automated systems with tools for vulnerability management. It offers modular "skills" that can be easily extended or integrated, enabling intelligent analysis and automated insights on software vulnerabilities.

Features

Installation

Requires Python 3.10+ and Poetry v2+.

bash
git clone https://github.com/vulnerability-lookup/VulnMCP.git
cd VulnMCP
poetry install

This installs the CPU-only build of PyTorch, which is what you want on a machine without an NVIDIA GPU. Inference on the classification models runs fine on CPU.

On a GPU host, opt in to the CUDA build instead:

bash
poetry install --extras cuda

This pulls torch from the CUDA 13.0 index along with the NVIDIA runtime libraries -- roughly 2.5 GB more than the CPU build. There is no cpu extra: CPU is simply the default when --extras cuda is not passed.

On macOS, torch always comes from PyPI and the cuda extra has no effect, since NVIDIA CUDA builds do not exist for that platform.

Running the MCP server

stdio (default)

The default transport, used by most MCP clients (Claude Code, Claude Desktop, etc.):

bash
poetry run vulnmcp

HTTP transport

For network access or multiple concurrent clients:

bash
poetry run fastmcp run vulnmcp/server.py --transport http --host 127.0.0.1 --port 9000

Available tools

ToolDescription
classify_severityClassify vulnerability severity (low/medium/high/critical) from a text description. Supports English, Chinese, and Russian with auto-detection.
classify_cwePredict CWE categories from a vulnerability description. Returns top-5 predictions with parent CWE mapping.
classify_attack_techniquesPredict MITRE ATT&CK techniques from a vulnerability description. Returns ranked techniques with names and sigmoid scores; scores >= 0.5 are positive predictions.
get_recent_vulnerabilities_by_cweFetch the 3 most recent CVEs for a given CWE ID.
get_vulnerabilityLook up a specific vulnerability by ID (e.g. CVE-2025-14847) with optional comments, sightings, bundles, linked vulnerabilities, and KEV enrichment.
search_vulnerabilitiesSearch vulnerabilities with filters: source, CWE, product, date range, pagination, and optional KEV-aware prioritization.
search_sightingsSearch vulnerability sightings (seen/exploited/patched/etc.) with filters to identify what is actively discussed or abused.
create_sightingCreate a new sighting for a vulnerability (requires API permissions on most instances).
get_most_sighted_vulnerabilitiesRetrieve a ranking of vulnerabilities by sighting activity to help prioritize important issues.
search_commentsSearch community comments related to vulnerabilities, with filters by vulnerability ID or author.
search_bundlesSearch curated vulnerability bundles (grouped CVEs for a campaign, product, or incident), with filters by vulnerability ID or author.
list_kev_entriesList and filter KEV catalog entries by vulnerability ID, status reason, exploited flag, date range, author, or origin catalog UUID.
guess_cpesQuery cpe-guesser with product keywords to infer likely CPE identifiers.
list_gna_entriesList all Global Numbering Authorities (GNA) from the GCVE registry.
get_gna_entryGet a specific GNA entry by numeric ID or exact short name.
search_gnaSearch GNA entries by name (case-insensitive substring match).
list_gcve_referencesList GCVE references including KEV catalog UUIDs for use with list_kev_entries.
search_cna_partnersSearch the CNA partners of the CVE Program by name, country, program role, or organization type.
get_cna_partnerGet one CNA partner's full record (disclosure policy, advisory links, contacts) by exact short name.

List all tools:

bash
poetry run fastmcp list vulnmcp/server.py

Testing tools from the command line

Use fastmcp call to invoke any tool directly:

bash
# Look up a specific CVE
poetry run fastmcp call vulnmcp/server.py get_vulnerability vulnerability_id=CVE-2025-14847

# Search for recent SQL injection vulnerabilities
poetry run fastmcp call vulnmcp/server.py search_vulnerabilities cwe=CWE-89 per_page=5

# Retrieve top most-sighted vulnerabilities
poetry run fastmcp call vulnmcp/server.py get_most_sighted_vulnerabilities limit=5

# Search comments for a specific CVE
poetry run fastmcp call vulnmcp/server.py search_comments vuln_id=CVE-2024-3094

# Search bundles related to a CVE
poetry run fastmcp call vulnmcp/server.py search_bundles vuln_id=CVE-2024-3094

# Check if a CVE is in a KEV catalog
poetry run fastmcp call vulnmcp/server.py list_kev_entries vuln_id=CVE-2021-44228

# List recent KEV entries from the last week
poetry run fastmcp call vulnmcp/server.py list_kev_entries date_from=2026-03-18 per_page=5

# List KEV entries from the CISA KEV catalog only
poetry run fastmcp call vulnmcp/server.py list_kev_entries vulnerability_lookup_origin=405284c2-e461-4670-8979-7fd2c9755a60 per_page=5

# Guess likely CPE values from product keywords
poetry run fastmcp call vulnmcp/server.py guess_cpes query='["outlook","connector"]'

# List all GNA entries from the GCVE registry
poetry run fastmcp call vulnmcp/server.py list_gna_entries

# Look up a specific GNA by short name
poetry run fastmcp call vulnmcp/server.py get_gna_entry short_name=CIRCL

# Search GNA entries
poetry run fastmcp call vulnmcp/server.py search_gna query=cert

# List GCVE references (includes KEV catalog UUIDs)
poetry run fastmcp call vulnmcp/server.py list_gcve_references

# Search CNA partners of the CVE Program
poetry run fastmcp call vulnmcp/server.py search_cna_partners country=Luxembourg

# Get one CNA partner's full record
poetry run fastmcp call vulnmcp/server.py get_cna_partner short_name=CIRCL

# Classify severity from a description
poetry run fastmcp call vulnmcp/server.py classify_severity \
    description="A remote code execution vulnerability allows an attacker to execute arbitrary code via a crafted JNDI lookup."

# Classify CWE from a description
poetry run fastmcp call vulnmcp/server.py classify_cwe \
    description="Fix buffer overflow in authentication handler"

# Predict ATT&CK techniques from a description
poetry run fastmcp call vulnmcp/server.py classify_attack_techniques \
    description="A remote code execution vulnerability allows an attacker to execute arbitrary code via a crafted JNDI lookup." top_k=5

Connecting to Claude Code

Register VulnMCP as an MCP server in Claude Code with:

bash
claude mcp add vulnmcp -- poetry --directory /path/to/VulnMCP run vulnmcp

Or with fastmcp install:

bash
poetry run fastmcp install claude-code vulnmcp/server.py --name VulnMCP

Once registered, the tools are available to Claude Code. You can verify with:

bash
claude mcp list

Configuration

Environment variableDescriptionDefault
VULNMCP_LOOKUP_URLBase URL for the Vulnerability Lookup APIhttps://vulnerability.circl.lu
VULNMCP_CPE_GUESSER_URLBase URL for the cpe-guesser APIhttps://cpe-guesser.cve-search.org
VULNMCP_API_KEYAPI key used for authenticated actions such as creating sightings(unset)

Contributing

Please read CONTRIBUTING.md before opening a pull request.

Note: this repository currently runs an experiment where only computer-assisted (AI-related) contributions are accepted.

License

AGPL-3.0-or-later

Funding

AIPITCH (AI-Powered Innovative Toolkit for Cybersecurity Hubs) is a co-funded EU project supported by the European Cybersecurity Competence Centre (ECCC) under the DIGITAL-ECCC-2024-DEPLOY-CYBER-06-ENABLINGTECH program and CIRCL.

The project brings together an international consortium to develop AI-based tools that enhance the capabilities of operational cybersecurity teams. These tools are designed to support critical services, with a focus on national security teams, while also being applicable to internal security teams in companies and institutions.

将 VulnMCP MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 VulnMCP 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 此 MCP 通过您设备上的 TypingMind MCP 连接器在本地运行。

本地连接器设置指南

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请勿关闭终端窗口或停止其中的连接器进程。
3

将 VulnMCP 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 VulnMCP MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "vulnmcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 VulnMCP MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 VulnMCP MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 VulnMCP 帮我完成这项任务吗?
VulnMCP
当然,我看过了。
以下是我使用 VulnMCP 得到的结果。

常见问题

VulnMCP MCP 服务器有什么用途?

VulnMCP 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 VulnMCP MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您无需为每个模型单独配置 MCP 服务器,就能在 Claude、ChatGPT、Gemini 或您在 TypingMind 中配置的其他 AI 模型中使用 VulnMCP。

为什么在 TypingMind 中使用 VulnMCP MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是最出色的大语言模型聊天前端之一。连接 VulnMCP 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 VulnMCP MCP 连接到 TypingMind?

VulnMCP 通过 TypingMind 本地 MCP 连接器运行。当 MCP 服务器需要访问您计算机上的本地文件、桌面应用、命令行工具或私有资源时,这种方式最合适。

VulnMCP MCP 在 TypingMind 中提供哪些工具?

VulnMCP 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 VulnMCP MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行选择模型提供商,并自行管理 API 密钥、提示词和 MCP 配置。如果 VulnMCP 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇