**Template filtering**: Allows filtering by severity, protocols, and template IDs
**Basic & Advanced Scanning**: Provides both simple and advanced scanning options
Usage
The server provides the following tools:
**nuclei_scan**: Perform a full Nuclei scan with template filtering
**basic_scan**: Perform a simple scan without template IDs
**vulnerability_resource**: Query scan results as resources
**advanced_scan**: Perform a comprehensive scan with extensive configuration options
**template_sources_scan**: Perform scans using custom template sources
Running the Server
You can run the server directly using Go:
Using the MCP Inspector
The MCP Inspector is a powerful tool for debugging and testing your MCP server. To use it with the Nuclei MCP server:
This will:
Start the MCP Inspector UI (available at http://localhost:5173)
Launch the Nuclei MCP server
Connect the inspector to the server
In the inspector UI, you can:
View available tools and their schemas
Execute tool calls and view results
Inspect resources provided by the server
Monitor server notifications
Configuration
Configure the server via environment variables:
`CACHE_EXPIRY`: Duration for cache expiry (default: 1h)
`LOG_LEVEL`: Logging level (default: info)
API
The server implements the standard MCP server interface. See the mpc package here: [Mark3 Labs MCP documentation](https://github.com/mark3labs/mcp-go) for details.