defectdojo-http-api-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@defectdojo-http-api-mcp List active high-severity findings and add a triage note to the first one"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
defectdojo-http-api-mcp
MCP (Model Context Protocol) server for DefectDojo over the official HTTP API
(Authorization: Token …). Same style as gitlab-http-api-mcp /
youtrack-http-api-mcp: controlled tool surface, no OpenAPI dump.
Для новой сессии агента: /session-start (.cursor/commands/session-start.md).
Requirements
Node.js 18+
DefectDojo URL + API token
Related MCP server: Dependency-Track MCP Server
Install
From source (GitLab / GitHub)
git clone git@gitlab.greenworm.ru:ai/defectdojo-http-api-mcp.git
cd defectdojo-http-api-mcp
npm installПубличное зеркало: https://github.com/rkorablin/defectdojo-http-api-mcp.
From npm
npm install defectdojo-http-api-mcp
# or
npm install -g defectdojo-http-api-mcpConfiguration
Variable | Required | Description |
| Yes | Base URL without trailing slash |
| Yes | API token ( |
| No | Default product type name filter (e.g. |
| No | Optional label for docs / host wrappers |
Usage
Standalone (stdio)
export DEFECTDOJO_URL="http://defectdojo.example.com"
export DEFECTDOJO_API_TOKEN="…"
node server.mjsCursor / MCP host
Option 1: Local clone
"defectdojo": {
"command": "node",
"args": ["/absolute/path/to/defectdojo-http-api-mcp/server.mjs"],
"env": {
"DEFECTDOJO_URL": "http://defectdojo.example.com",
"DEFECTDOJO_API_TOKEN": "…"
}
}Option 2: npm / npx
"defectdojo": {
"command": "npx",
"args": ["--yes", "--prefer-online", "defectdojo-http-api-mcp@latest"],
"env": {
"DEFECTDOJO_URL": "http://defectdojo.example.com",
"DEFECTDOJO_API_TOKEN": "…"
}
}Option 3: wrapper + secrets (recommended)
See ~/.config/ai-mcp pattern (GitLab / YouTrack / Confluence):
secrets in
~/.config/ai-mcp/it-aces.env(DEFECTDOJO_*)launcher
~/.config/ai-mcp/bin/run-defectdojo-mcp-itaces.shentry in
~/ai/general/.cursor/mcp.json
Tools
Tool | Purpose |
| Identity smoke: |
| Organizations / product types |
| Products (optional org / name filter) |
| Engagements |
| Tests under engagement |
| Findings with triage filters (compact by default) |
| One finding by id |
| PATCH status / false_p / risk_accepted / … |
| Notes on a finding |
| Note via |
Typical agent workflow
defectdojo_whoami— check tokendefectdojo_list_productswith organization — inventorydefectdojo_list_findings(active=true, severity filters)defectdojo_get_finding— detailsdefectdojo_update_finding/defectdojo_add_note— triage
Tests
npm testRemotes
GitLab (origin, экосистема ~/ai/): https://gitlab.greenworm.ru/ai/defectdojo-http-api-mcp
GitHub (зеркало): https://github.com/rkorablin/defectdojo-http-api-mcp
npm publish (без TOTP каждый раз)
Релизы — через Trusted Publishing (OIDC) и workflow
.github/workflows/publish.yml: тег v* на GitHub.
Одноразовая настройка и детали: docs/npm-trusted-publishing.md.
License
MIT
Available Tools
10 toolsdefectdojo_add_noteC
Add a note to a finding (POST /findings/{id}/notes/)
Inputs: entry (required), finding_id (required), private, note_type.
defectdojo_get_findingC
Get one finding by id (full object)
Inputs: id (required).
defectdojo_list_engagementsC
List engagements; optional product id
Inputs: limit, offset, product_id.
defectdojo_list_findingsB
List findings with triage filters (severity, active, false_p, verified, duplicate, product). Compact by default.
Inputs: raw, limit, active, offset, +8 more.
defectdojo_list_notesC
List notes on a finding
Inputs: finding_id (required).
defectdojo_list_productsC
List DefectDojo products (compact). Optional name / product_type filters.
Inputs: raw, name, limit, offset, +2 more.
defectdojo_list_product_typesC
List product types (organizations in UI terms)
Inputs: name, limit, offset.
defectdojo_list_testsC
List tests; optional engagement id
Inputs: limit, offset, engagement_id.
defectdojo_update_findingC
PATCH finding triage fields (active, verified, false_p, out_of_scope, risk_accepted, is_mitigated, severity). Notes via defectdojo_add_note.
Inputs: id (required), active, false_p, severity, +4 more.
defectdojo_whoamiA
Identity smoke: prefers GET /user_profile/ (username), then /users/me/, else products-count fallback for CI/service tokens. 404 on /users/me/ is normal on some DD builds.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 10 tools
Each tool has a clearly distinct resource and action: product types, products, engagements, tests, findings, and notes. The only shared verb is list, but the objects are unambiguous and filters are described. get_finding, update_finding, list_notes, and add_note are also easy to distinguish.
Almost all tools follow a consistent defectdojo_verb_noun snake_case pattern, such as list_products, get_finding, and update_finding. The only notable deviation is defectdojo_whoami, which is a readable but non-verb_noun identity tool.
Ten tools is well within the expected range and each appears to serve a specific role in browsing DefectDojo resources and triaging findings. The set is focused rather than bloated.
The server covers the core read hierarchy and finding triage/notes well, including listing products, product types, engagements, tests, and findings. However, it lacks create/delete operations for findings and write lifecycle operations for products, engagements, and tests, plus note update/delete, so it is not complete CRUD coverage for the stated DefectDojo API domain.
Maintenance
Related MCP Connectors
Security scanning for code, containers and IaC: request scans, read findings, report fixes.
Programmatic control of the Hiro security platform: scans, tasks, plans, and approvals.
Wopee.io AI testing agents: dispatch analyses and test runs, fetch artifacts and results.
Read targets, scans, issues and fixed occurrences; add targets, start or cancel scans in Intruder.
Related MCP Servers
- AlicenseBqualityDmaintenanceProvides a Model Context Protocol server implementation that allows AI agents and other MCP clients to programmatically interact with DefectDojo, a vulnerability management tool, for managing findings, products, and engagements.11142 PyPI22MIT
- AlicenseNot gradedqualityDmaintenanceEnables querying projects, fetching findings, triggering analysis, uploading CycloneDX BOMs, and checking async token status for OWASP Dependency-Track.1MIT
- FlicenseNot gradedqualityDmaintenanceEnables interaction with Azure DevOps, including listing pipelines and runs, viewing logs and artifacts, collecting and normalizing security reports, and triggering pipelines with safety controls.-
- AlicenseAqualityBmaintenanceEnables LLM agents to browse and triage vulnerability observations, manage products, branches and rules, import scan reports and SBOMs, run scans and background jobs, and generate VEX documents via SecObserve's REST API.18126 PyPI2MIT