home / mcp / nuclei mcp server

Nuclei MCP Server

Provides an MCP server that integrates Nuclei scanning, template management, and vulnerability reporting.

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "addcontent-nuclei-mcp": {
      "url": "http://127.0.0.1:3000",
      "headers": {
        "NUCLEI_MCP_SERVER_PORT": "3000",
        "NUCLEI_MCP_CACHE_ENABLED": "true"
      }
    }
  }
}

You can run the Nuclei MCP Integration server to expose Nuclei scanning capabilities through the MCP ecosystem. It provides a RESTful interface for scans, template management, and result handling, and it supports both local (stdio) and HTTP-based MCP clients for flexible integration.

How to use

Use an MCP client to connect to the Nuclei MCP Integration server and perform vulnerability scans, manage templates, and retrieve results. Two primary ways exist to connect: via an HTTP MCP endpoint for remote access, and via a local stdio workflow for development or subprocess-based usage. You can perform full scans with advanced filtering, quick basic scans, and query structured results with remediation guidance.

How to install

Prerequisites: install Nuclei (it will be automatically downloaded if not present) and Node.js 14+ (for the MCP Inspector, optional). After meeting prerequisites, choose one of the installation options.

# Option 1: Download Pre-built Binary (Recommended)
# Download the latest release for your platform from the Releases page
# Extract the archive
# Run the binary:

# Linux/macOS
./nuclei-mcp

# Windows
nuclei-mcp.exe
```

```bash
# Option 2: Install with Go
go install github.com/your-org/nuclei-mcp/cmd/nuclei-mcp@latest
```

```bash
# Option 3: Build from Source
# Clone the repository and build
git clone https://github.com/your-org/nuclei-mcp.git
cd nuclei-mcp

go mod download

go build -o nuclei-mcp ./cmd/nuclei-mcp
./nuclei-mcp

Additional configuration and startup notes

Start the MCP server after installation. If you built from source, you can run the binary or execute the development command shown below.

# If using pre-built binary
./nuclei-mcp

# If built from source
go run cmd/nuclei-mcp/main.go

Available tools

nuclei_scan

Perform a full Nuclei scan with advanced filtering options.

basic_scan

Run a quick scan with minimal configuration.

vulnerability_resource

Query and retrieve scan results.

add_template

Add custom Nuclei templates to the template store.

list_templates

View available Nuclei templates.

get_template

Retrieve details of a specific template.