# DefectDojo

_OFFICIAL VENDOR · DEV_TOOLS · by DefectDojo_

Official open source MCP server for DefectDojo. Ask an assistant about findings, compare imports and, with writes switched on, import scans and update finding status. Read-only by default.

## Install

```sh
claude mcp add defectdojo --env DEFECTDOJO_URL=https://defectdojo.example.com --env DEFECTDOJO_API_KEY=your-api-key -- uvx defectdojo-mcp-server
```

## Config snippet

```json
{
    "mcpServers": {
      "defectdojo": {
        "command": "uvx",
        "args": [
          "defectdojo-mcp-server"
        ],
        "env": {
          "DEFECTDOJO_URL": "https://defectdojo.example.com",
          "DEFECTDOJO_API_KEY": "your-api-key"
        }
      }
    }
  }
```

**Env vars:** `DEFECTDOJO_URL`, `DEFECTDOJO_API_KEY`, `DEFECTDOJO_ALLOW_WRITES`, `DEFECTDOJO_VERIFY_SSL`, `DEFECTDOJO_TIMEOUT`, `DEFECTDOJO_IMPORT_DIRS`, `DEFECTDOJO_MAX_UPLOAD_MB`, `DEFECTDOJO_MCP_AUTH_TOKEN`, `DEFECTDOJO_MCP_ALLOWED_HOSTS`

**Supported hosts:** CLAUDE_DESKTOP, CLAUDE_CODE, CURSOR, VSCODE, OTHER

## Review

_Written from the maker's own published material. Not a hands-on test._

DefectDojo published an official MCP server in autumn 2026, open source under BSD-3-Clause. If you already run DefectDojo to collect scanner results, it lets an assistant read your findings and, if you allow it, update them.
  
  The design choices are the interesting part. It is read-only by default, and write tools only exist when you set DEFECTDOJO_ALLOW_WRITES. Imports by file path are refused until you list allowed folders. And because scanner output can contain text written by an attacker, the server marks DefectDojo text as untrusted to reduce prompt-injection risk. That is the sort of thinking you want from a security tool.
  
  Install is a single uvx command with your instance URL and an API v2 key. Use a dedicated account with only the permissions the assistant needs. One trap: a package called defectdojo-mcp also exists on PyPI and is unrelated. The right one is defectdojo-mcp-server.
  
  It is new and has few stars, so expect rough edges. For a team already on DefectDojo, the read-only mode is a low-risk way to try it.

## Verdict

> Careful defaults from the vendor. Start read-only with a dedicated low-privilege account.

## Good at

- Official and open source
- Read-only by default, writes are opt-in
- Marks scanner output as untrusted to resist prompt injection
- No telemetry
- Works with open source DefectDojo and Pro

## Watch out

- Needs a DefectDojo instance and API v2 key
- Similar PyPI name defectdojo-mcp is a different project, so install the right package
- Very new repo with few stars
- Import by file path is refused until DEFECTDOJO_IMPORT_DIRS is set

## Use cases

- Find open critical findings in a product
- Explain a finding and suggest a fix
- Compare two scan imports
- Import a scan report and update finding status (writes on)
- Summarise risk for a security review

## Getting started

## Get an API key
  
  In DefectDojo open the user menu and choose API v2 Key. Use a dedicated account with limited permissions.
  
  ## Add the server
  
  ```
  claude mcp add defectdojo \
    --env DEFECTDOJO_URL=https://defectdojo.example.com \
    --env DEFECTDOJO_API_KEY=your-api-key \
    -- uvx defectdojo-mcp-server
  ```
  
  ## Test it
  
  Ask: "List open critical findings for my product." Leave DEFECTDOJO_ALLOW_WRITES unset until you trust it.

---

Repo: https://github.com/DefectDojo/defectdojo-mcp
Homepage: https://github.com/DefectDojo/defectdojo-mcp
Canonical: https://delv.tools/mcp/defectdojo