βœ“
Security MCP Server AI for SecOps & Auditing Active Network / API Queries Featured Verified Nov 2026

Nuclei MCP Server

Structured MCP tool wrapper enabling authorized template scanning and structured JSON finding triage inside security workflows.

Prerequisites & Step-by-Step Installation

Copy & run inside isolated lab

Before You Start (Prerequisites)

  • + ProjectDiscovery Nuclei CLI v3.x installed and templates synced (nuclei -ut)
  • + Written target authorization and explicit CIDR/domain allowlist file
  • + MCP client (Claude Code, Cursor, or Codex CLI)
1

Install Nuclei CLI and verify community templates

go install -v github.com/projectdiscovery/nuclei/v3/cmd/nuclei@latest
nuclei -update-templates

Run as a non-privileged user with outbound rate limits enabled.

2

Create a strict target scope allowlist before wiring MCP

mkdir -p ~/.config/mcp-scopes
printf 'https://staging.example.internal
10.20.0.0/16
' > ~/.config/mcp-scopes/nuclei-allowlist.txt

Never expose unrestricted arbitrary URL scanning to an autonomous agent.

3

Register the scoped Nuclei MCP connector

claude mcp add nuclei-mcp -- nuclei-mcp --allowlist-file ~/.config/mcp-scopes/nuclei-allowlist.txt --severity medium,high,critical

Enforces severity filtering and blocks out-of-scope domains at the server boundary.

Verify Setup Works
nuclei -version && test -f ~/.config/mcp-scopes/nuclei-allowlist.txt && echo "SCOPE READY"
Expected output: Nuclei Engine Version: v3.x.x ... SCOPE READY

Client Integration & Configuration Files

Review scope limits before wiring
claude mcp add nuclei-mcp-server -- nuclei-mcp --allowlist-cidr 10.0.0.0/8 --severity medium,high,critical
{
    "mcpServers": {
        "nuclei-mcp-server": {
            "command": "nuclei-mcp",
            "args": [
                "--allowlist-cidr",
                "10.0.0.0/8",
                "--severity",
                "medium,high,critical"
            ],
            "env": {
                "TOOLWAR_SAFE_MODE": "strict",
                "AUTH_TOKEN": "YOUR_SCOPED_TOKEN_HERE"
            }
        }
    }
}
{
    "mcpServers": {
        "nuclei-mcp-server": {
            "command": "nuclei-mcp",
            "args": [
                "--allowlist-cidr",
                "10.0.0.0/8",
                "--severity",
                "medium,high,critical"
            ]
        }
    }
}
services:
  nuclei-mcp-server:
    image: toolwar-sandbox/mcp-runner:latest
    read_only: true
    cap_drop:
      - ALL
    security_opt:
      - no-new-privileges:true

How to Use & Defensive Workflow

Authorized assessment protocol

Typical Scenario: Run read-only TLS, security-header, and known-CVE verification templates against an authorized staging host and summarize remediation patches.

  1. 01. Verify your staging hostname or CIDR exists in ~/.config/mcp-scopes/nuclei-allowlist.txt.
  2. 02. Trigger a scoped template run filtered to non-intrusive misconfiguration and exposure tags.
  3. 03. Export verified findings to SARIF/JSON and cross-check false positives against application logs.
Example Defensive Prompt / Run Command
Check https://staging.example.internal using only tags "misconfig,headers,ssl" at medium/high severity, and group confirmed findings by remediation priority.
Security Hardening & Authorized Scope Guidelines

Bind the MCP server exclusively inside a read-only workspace or isolated container (`read_only: true`, `--cap-drop=ALL`). Enforce strict CIDR/directory allowlists and never expose local MCP stdio or SSE ports on untrusted network interfaces without mutual authentication.

Technical Architecture & Deployment Brief

Overview & Role in Security Engineering

Nuclei MCP Server (Security MCP Server) is engineered to support practitioners focused on authorized web perimeter template execution, strict severity allow-listing, target CIDR scoping, and SARIF remediation summarization. Within the ToolWar ecosystem, it serves as an explicit bridge between AI reasoning layers and verifiable cybersecurity telemetry.

Technical Architecture & Data Flow

The Model Context Protocol (MCP) separates the language model reasoning layer from privileged binary execution. Rather than letting an AI assistant invoke unconstrained shell commands, this server exposes typed, schema-validated read/inspection tools with explicit scope boundaries.

Unlike ad-hoc prompt wrappers that execute unconstrained strings directly in a shell, structured integration enforces typed parameter validation, bounded scope allowlists, and explicit separation between untrusted analyzed artifacts (source files, telemetry logs, network banners, or binary samples) and system-level control instructions.

Recommended Deployment Practice

  1. Isolate the Execution Boundary: Deploy integrations inside ephemeral containers or dedicated analysis VMs so untrusted repositories, binaries, or HTTP responses cannot affect primary workstations.
  2. Enforce Least-Privilege Scoping: Use read-only filesystem mounts, non-privileged service tokens, and target CIDR allowlists before enabling interactive assistant sessions.
  3. Verify Outputs Deterministically: Pair this connector with least-privilege runtime profiles and inspect every returned JSON schema before forwarding findings into automated tickets or dashboards.

Integration & Operational Caveats

  • Treat all external content ingested by an LLM (including code comments, HTML titles, log lines, and MCP responses) as potential prompt-injection vectors.
  • Review configuration JSON and SKILL.md manifests carefully before binding credentials or running inside automated CI/CD pipelines.

Bridged ToolWar Classic Arsenal

2 linked tools

Community Field Notes (0)

No notes posted yet. Share verified runtime configs or hardening tips below.