Skip to content
MCP serverOfficial: Published to the official MCP Registry by the GitHub account or domain it is named after, which owns its code or website.

DefectDojo

Official DefectDojo MCP server: search, triage and import findings, read-only by default

Runs locally

DefectDojo is an open-source MCP server for security. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, Self-hosted
Runs
Locally
What it can do
Can change data (4 tools)
Access
Needs a secret key or token

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add defectdojo-mcp --env DEFECTDOJO_URL='<DEFECTDOJO_URL>' --env DEFECTDOJO_API_KEY='<DEFECTDOJO_API_KEY>' -- uvx defectdojo-mcp-server

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "defectdojo-mcp": {
      "command": "uvx",
      "args": [
        "defectdojo-mcp-server"
      ],
      "env": {
        "DEFECTDOJO_URL": "<DEFECTDOJO_URL>",
        "DEFECTDOJO_API_KEY": "<DEFECTDOJO_API_KEY>"
      }
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "defectdojo-mcp": {
      "command": "uvx",
      "args": [
        "defectdojo-mcp-server"
      ],
      "env": {
        "DEFECTDOJO_URL": "<DEFECTDOJO_URL>",
        "DEFECTDOJO_API_KEY": "<DEFECTDOJO_API_KEY>"
      }
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "defectdojo-mcp": {
      "command": "uvx",
      "args": [
        "defectdojo-mcp-server"
      ],
      "env": {
        "DEFECTDOJO_URL": "<DEFECTDOJO_URL>",
        "DEFECTDOJO_API_KEY": "<DEFECTDOJO_API_KEY>"
      }
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "defectdojo-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "defectdojo-mcp-server"
      ],
      "env": {
        "DEFECTDOJO_URL": "<DEFECTDOJO_URL>",
        "DEFECTDOJO_API_KEY": "<DEFECTDOJO_API_KEY>"
      }
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add defectdojo-mcp --env DEFECTDOJO_URL='<DEFECTDOJO_URL>' --env DEFECTDOJO_API_KEY='<DEFECTDOJO_API_KEY>' -- uvx defectdojo-mcp-server

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.defectdojo-mcp]
command = "uvx"
args = ["defectdojo-mcp-server"]
env = { DEFECTDOJO_URL = "<DEFECTDOJO_URL>", DEFECTDOJO_API_KEY = "<DEFECTDOJO_API_KEY>" }

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "defectdojo-mcp": {
      "command": "uvx",
      "args": [
        "defectdojo-mcp-server"
      ],
      "env": {
        "DEFECTDOJO_URL": "<DEFECTDOJO_URL>",
        "DEFECTDOJO_API_KEY": "<DEFECTDOJO_API_KEY>"
      }
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "defectdojo-mcp": {
          "command": "uvx",
          "args": [
            "defectdojo-mcp-server"
          ],
          "env": {
            "DEFECTDOJO_URL": "<DEFECTDOJO_URL>",
            "DEFECTDOJO_API_KEY": "<DEFECTDOJO_API_KEY>"
          }
        }
      }
    }

    Or run: gemini mcp add -s user -e DEFECTDOJO_URL='<DEFECTDOJO_URL>' -e DEFECTDOJO_API_KEY='<DEFECTDOJO_API_KEY>' defectdojo-mcp uvx -- defectdojo-mcp-server

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "defectdojo-mcp": {
          "command": "uvx",
          "args": [
            "defectdojo-mcp-server"
          ],
          "env": {
            "DEFECTDOJO_URL": "<DEFECTDOJO_URL>",
            "DEFECTDOJO_API_KEY": "<DEFECTDOJO_API_KEY>"
          }
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "defectdojo-mcp": {
          "command": "uvx",
          "args": [
            "defectdojo-mcp-server"
          ],
          "env": {
            "DEFECTDOJO_URL": "<DEFECTDOJO_URL>",
            "DEFECTDOJO_API_KEY": "<DEFECTDOJO_API_KEY>"
          }
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "defectdojo-mcp": {
          "command": "uvx",
          "args": [
            "defectdojo-mcp-server"
          ],
          "env": {
            "DEFECTDOJO_URL": "<DEFECTDOJO_URL>",
            "DEFECTDOJO_API_KEY": "<DEFECTDOJO_API_KEY>"
          }
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "defectdojo-mcp": {
          "command": "uvx",
          "args": [
            "defectdojo-mcp-server"
          ],
          "env": {
            "DEFECTDOJO_URL": "<DEFECTDOJO_URL>",
            "DEFECTDOJO_API_KEY": "<DEFECTDOJO_API_KEY>"
          }
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "defectdojo-mcp": {
          "command": "uvx",
          "args": [
            "defectdojo-mcp-server"
          ],
          "env": {
            "DEFECTDOJO_URL": "<DEFECTDOJO_URL>",
            "DEFECTDOJO_API_KEY": "<DEFECTDOJO_API_KEY>"
          }
        }
      }
    }

    The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "defectdojo-mcp": {
          "command": "uvx",
          "args": [
            "defectdojo-mcp-server"
          ],
          "env": {
            "DEFECTDOJO_URL": "<DEFECTDOJO_URL>",
            "DEFECTDOJO_API_KEY": "<DEFECTDOJO_API_KEY>"
          }
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "defectdojo-mcp": {
          "command": "uvx",
          "args": [
            "defectdojo-mcp-server"
          ],
          "env": {
            "DEFECTDOJO_URL": "<DEFECTDOJO_URL>",
            "DEFECTDOJO_API_KEY": "<DEFECTDOJO_API_KEY>"
          }
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

Configuration

  • DEFECTDOJO_URLBase URL of your DefectDojo instance, for example https://defectdojo.example.comRequired
  • DEFECTDOJO_API_KEYDefectDojo API v2 keyRequired
  • DEFECTDOJO_ALLOW_WRITESSet to true to enable write tools. Read-only by default.
  • DEFECTDOJO_VERIFY_SSLtrue, false, or a path to a CA bundle
  • DEFECTDOJO_IMPORT_DIRSFolders that scan reports may be read from for imports
  • DEFECTDOJO_URLBase URL of your DefectDojo instance, for example https://defectdojo.example.comRequired
  • DEFECTDOJO_API_KEYDefectDojo API v2 keyRequired
  • DEFECTDOJO_ALLOW_WRITESSet to true to enable write tools. Read-only by default.
  • DEFECTDOJO_VERIFY_SSLtrue, false, or a path to a CA bundle
  • DEFECTDOJO_IMPORT_DIRSFolders that scan reports may be read from for imports

About DefectDojo

Security teams that keep their vulnerability findings in DefectDojo can point an assistant at their own instance through its REST API v2. It works with open-source DefectDojo 2.x and 3.x and with DefectDojo Pro, and asks for the instance URL and an API key from a dedicated account that has only the permissions the assistant needs.

Read tools cover findings, products, product types, engagements, tests, scan types, locations and import history. A finding search can filter by product, severity, status flags, CVE, CWE, component, file path, tags and dates, and a stats tool returns exact counts by severity and status. Write tools are not registered at all unless DEFECTDOJO_ALLOW_WRITES is true; then an assistant can import or reimport scans, add notes, change finding status, risk-accept up to 50 findings and create products and engagements.

Text coming back from DefectDojo is marked as untrusted because scanner output can carry prompt injection. Scan files can be read only from folders listed in DEFECTDOJO_IMPORT_DIRS, or sent as base64. The README states there is no telemetry.

Tools this server provides (23)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 4 of 23 tools change data; 3 names don't say.

From the server's own tool labels and tool names; not verified by us.

get_instance_infoName suggests: reads
Instance URL, DefectDojo version, edition, current user and whether writes are on.
list_findingsName suggests: reads
Searches findings with many filters.
get_findingName suggests: reads
One finding with full text, ids, CWE, path, component, notes and context.
get_finding_statsName suggests: reads
Exact counts by severity and status.
list_finding_notesName suggests: reads
Notes on a finding.
list_productsName suggests: reads
Lists products.
get_productName suggests: reads
Returns one product.
list_product_typesName suggests: reads
Lists product types.
list_engagementsName suggests: reads
Lists engagements.
get_engagementName suggests: reads
Returns one engagement.
list_testsName suggests: reads
Lists tests.
get_testName suggests: reads
Returns one test.
list_scan_typesName suggests: reads
Scan types the instance can import.
list_test_importsName suggests: reads
Import and reimport history for a test.
get_current_userName suggests: reads
The user the API key belongs to.
list_locationsName suggests: reads
Hosts, URLs and other locations.
import_scan
Uploads a scan report as a new test (writes enabled).
reimport_scan
Uploads a newer report into an existing test (writes enabled).
add_finding_noteName suggests: changes
Adds a note to a finding (writes enabled).
update_finding_statusName suggests: changes
Sets active, verified, false positive, out of scope or mitigated (writes enabled).
risk_accept_findings
Risk-accepts or revokes acceptance for up to 50 findings (writes enabled).
create_productName suggests: changes
Creates a product (writes enabled).
create_engagementName suggests: changes
Creates an engagement (writes enabled).

What it does

Finding search
Filters findings by product, severity, CVE, CWE, status, component, path, tags and dates.
Exact statistics
Returns counts by severity and status for a product, engagement, test or the whole instance.
Read-only by default
Write tools exist only when DEFECTDOJO_ALLOW_WRITES is enabled.
Scan import
Uploads or reimports scan reports, closing fixed findings and adding new ones.
Triage actions
Sets finding status, adds notes and risk-accepts up to 50 findings.
Untrusted text marking
Flags text from DefectDojo as untrusted because scanner output can contain prompt injection.

Good for

  • Ask for open critical findings in one product
  • Compare what two scan imports created or closed
  • Import a CI scan report into an engagement
  • Mark confirmed false positives with a note
  • Check which scan types an instance can import

Pricing

Open source

Open-source server; needs your own DefectDojo instance

DefectDojo FAQ

Can DefectDojo change data by default?

No. It is read-only unless DEFECTDOJO_ALLOW_WRITES is set to true.

Which DefectDojo versions work?

Open-source 2.x and 3.x, and DefectDojo Pro.

How do I install DefectDojo?

Run it with uvx defectdojo-mcp-server, or use the ghcr.io/defectdojo/defectdojo-mcp container image, with DEFECTDOJO_URL and DEFECTDOJO_API_KEY set.

Which PyPI package is right?

defectdojo-mcp-server; a package called defectdojo-mcp on PyPI is an unrelated project.

How are report files read?

From folders listed in DEFECTDOJO_IMPORT_DIRS, or as a base64 upload; path imports are refused when no folder is set.

Is DefectDojo free?

Yes. DefectDojo is open source, so you can use and self-host it for free.

How do I add DefectDojo to Claude Code?

Run this command in your terminal: claude mcp add defectdojo-mcp --env DEFECTDOJO_URL='<DEFECTDOJO_URL>' --env DEFECTDOJO_API_KEY='<DEFECTDOJO_API_KEY>' -- uvx defectdojo-mcp-server

What are the best alternatives to DefectDojo?

The closest alternatives to DefectDojo are REA, AiSOC, x64dbg-mcp-server, redamon and Treasure Map.

Where this comes from

  • Description: written from the project's README.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers