home / mcp / defectdojo mcp server
An experimental ModelContextProtocol server connecting LLMs to DefectDojo for AI-powered security workflows. Enables natural language interaction with vulnerability data, simplifies security analysis, and automates reporting through a lightweight middleware integration.
Configuration
View docs{
"mcpServers": {
"jamiesonio-defectdojo-mcp": {
"command": "uvx",
"args": [
"defectdojo-mcp"
],
"env": {
"DEFECTDOJO_API_BASE": "https://your-defectdojo-instance.com",
"DEFECTDOJO_API_TOKEN": "YOUR_API_TOKEN_HERE"
}
}
}
}This MCP server lets you interact with DefectDojo programmatically through a standardized set of tools. You can fetch and manage findings, inspect products, and handle engagements from MCP-enabled clients, enabling automation and AI workflows.
You connect an MCP client to the DefectDojo MCP Server to perform common vulnerability management tasks. Use the client to list, search, create, and update findings; list and retrieve products; and manage engagements. Each operation exposes a clear tool you can call from your automation scripts or AI agents. Keep your DefectDojo API token secure and supply the base URL of your DefectDojo instance when configuring the MCP server in your client.
Prerequisites you need before running the MCP server are a Python runtime and a tool to execute MCP commands. You will set up the server either by using the uvx runner to create a temporary virtual environment or by installing the package directly with pip.
# Option 1: Run with uvx (recommended)
uvx defectdojo-mcp
# Option 2: Install via pip from the source directory
pip install .
after installation, run the server with:
defectdojo-mcpConfigure your MCP client with the required environment variables to connect to DefectDojo. You must provide your API token and the base URL of your DefectDojo instance.
{
"mcpServers": {
"defectdojo": {
"command": "uvx",
"args": ["defectdojo-mcp"],
"env": {
"DEFECTDOJO_API_TOKEN": "YOUR_API_TOKEN_HERE",
"DEFECTDOJO_API_BASE": "https://your-defectdojo-instance.com"
}
}
}
}Protect your API token as a secret and rotate it regularly. Use HTTPS for your DefectDojo base URL and limit MCP access to trusted clients. Keep the MCP server up to date with security patches and monitor usage for unusual activity.
If the server fails to start, verify that Python is installed, the chosen runner (uvx or pip-installed entry point) is accessible in your environment, and that the environment variables are set correctly. Check that the DefectDojo instance is reachable at the provided base URL and that the API token has the necessary permissions.
Retrieve findings with optional filters for status, severity, and pagination.
Search findings by query text with optional filters and pagination.
Update the status of a specific finding (e.g., Active, Verified, False Positive).
Add a textual note to a finding.
Create a new finding associated with a test.
List products with optional name/type filtering and pagination.
List engagements with optional product_id/status/name filters and pagination.
Get details for a specific engagement by ID.
Create a new engagement for a product.
Modify details of an existing engagement.
Mark an engagement as completed.