
DefectDojo Community
io.github.systechgd由 GitHub 账号 systechgd 发布v0.1.1更新于 Nov 5, 2026
Read-only MCP server for DefectDojo Community Edition: triage findings, grouped across products.
概览
面向 DefectDojo Community Edition 的只读 MCP 服务器,让助手列出、查看并按漏洞跨产品归并安全发现。
- 可以做什么
- 检查连通性与认证,返回实例地址和产品数量
- 列出所有产品及其发现数量
- 按严重程度列出可处理的发现,可限定到单个产品
- 按 CVE(无则用 CWE 加标题)跨所有产品归并严重级发现,影响面最大的排在前
- 列出被标记为重复的发现,并获取单条发现的完整详情
- 适用场景
- 适用于运行 DefectDojo Community Edition、希望助手协助分诊发现的场景,尤其是把每个产品各报一次的同一 CVE 合并成一组,便于只开一个跟踪单。若使用 DefectDojo Pro,其内置 MCP 服务器更合适。
- 运行要求
- 以 Python 3.10+ 包或容器镜像在本地通过 stdio 运行。需要 DEFECTDOJO_URL(不含 /api/v2 的基础地址)和 DEFECTDOJO_API_KEY(API v2 令牌)。可选 DEFECTDOJO_TIMEOUT_SECONDS(默认 30)和 DEFECTDOJO_VERIFY_TLS。需能访问你的 DefectDojo 实例。
安装
在 SourceWeft 中
- 打开 控制台中的 DefectDojo Community,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
DefectDojo Community MCP Server
[CI] [PyPI] [Python] [License] [OpenSSF Scorecard]
A read-only Model Context Protocol server for DefectDojo Community Edition — so an AI assistant can read your vulnerability findings, group the same vulnerability across every product, and draft issues for whatever tracker you use.
Unofficial. This is an independent open-source project. It is not affiliated with, endorsed by, or supported by DefectDojo Inc. or OWASP. "DefectDojo" is used only to describe what this server connects to.
Do you actually need this?
If you run DefectDojo Pro, you probably don't. Pro has a built-in MCP server — use that instead; it is maintained by the vendor and more capable.
This project exists because Community Edition has no MCP server at all. It talks to the ordinary REST API v2 with a normal API token, so it needs nothing enabled server-side and no particular DefectDojo version.
Not to be confused with the unrelated
defectdojo-mcppackage on PyPI, which is a different third-party project. This one isdefectdojo-community-mcp.
Tools
"Actionable" means active and not false-positive, duplicate, risk-accepted,
out-of-scope or mitigated — the set actually worth someone's time.
group_critical_by_vuln is the reason this exists. A monorepo-shaped scanner
setup reports the same upstream CVE once per product; this collapses them into one
group per vulnerability listing every affected product, which maps cleanly onto one
tracker issue.
Install
Requires Python 3.10+.
Or as a container:
Listed on the MCP Registry as
io.github.systechgd/defectdojo-community-mcp, so MCP clients that read the
registry can install it by name.
Or from source:
Configure
Two environment variables are required.
Get a token from DefectDojo → your user → API v2 Key.
Create a dedicated read-only user for it. The token inherits that user's permissions, and nothing in this server needs write access. If the token leaks, a read-only one cannot be used to alter your findings.
Check it works before wiring up a client:
Connect an MCP client
Claude Code
Claude Desktop / generic JSON config
If the console script is not on your PATH, use
"command": "python", "args": ["-m", "defectdojo_community_mcp"].
Docker
The server speaks MCP over stdio, so run it attached (-i), not detached:
Example
Group every critical finding by vulnerability and show me the ones affecting more than three services.
The assistant calls group_critical_by_vuln and gets back, per vulnerability, the
CVE, title, affected product list and a direct DefectDojo URL per finding — enough
to write one issue covering all of them, instead of twelve near-identical ones.
Safety model
Read-only is a design invariant, not a default.
- No tool issues a
POST,PUT,PATCHorDELETE. - The HTTP client class exposes no method capable of doing so, so a mutating tool cannot be added by accident — only by deliberately changing that class.
- A test asserts that every request made by every tool is a
GET.
Adding write support would be a breaking change to this guarantee. If it ever happens it will be a separate server, so operators can keep granting read without granting write.
Findings data is attacker-influenced — scanner output can contain text from dependency metadata, file paths and commit messages. Treat tool results as data, never as instructions. See SECURITY.md for the full threat model and how to report a vulnerability.
Development
The test suite runs entirely against httpx.MockTransport. CI additionally runs the
suite on Python 3.10–3.13 and against both MCP SDK generations (mcp<2, which has
FastMCP, and mcp>=2, which renamed it to MCPServer).
See CONTRIBUTING.md and CODE_OF_CONDUCT.md.
License
Apache-2.0. See NOTICE.
来源:README.md,提交 2fd5472
工具
0版本历史
1- v0.1.1最新Nov 5, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分