Integrations
Required runtime environment to execute the MCP server, supporting the server's execution for vulnerability scanning functionality.
Development language used for building the MCP server, providing type safety for the Nessus vulnerability scanning integration.
Nessus MCP Server
A Model Context Protocol (MCP) server for interacting with the Tenable Nessus vulnerability scanner. This server allows AI assistants to perform vulnerability scanning and analysis through the MCP protocol.
Features
- Vulnerability Scanning: Start and monitor vulnerability scans against specified targets
- Scan Management: List, track, and retrieve results from vulnerability scans
- Vulnerability Analysis: Search for and get detailed information about specific vulnerabilities
- Mock Mode: Fully functional mock mode for testing without a Nessus API key
Tools
The server provides the following tools:
Tool Name | Description |
---|---|
list_scan_templates | List available Nessus scan templates |
start_scan | Start a new vulnerability scan against a target |
get_scan_status | Check the status of a running scan |
get_scan_results | Get the results of a completed scan |
list_scans | List all scans and their status |
get_vulnerability_details | Get detailed information about a specific vulnerability |
search_vulnerabilities | Search for vulnerabilities by keyword |
Installation
Prerequisites
- Node.js 16 or higher
- TypeScript (for development)
Building from Source
- Clone the repository:Copy
- Install dependencies:Copy
- Build the server:Copy
Usage
Running in Mock Mode
By default, the server runs in mock mode, which doesn't require a Nessus API key:
Running with Nessus API
To connect to a real Nessus instance, set the following environment variables:
Then run the server:
Using with Claude for Desktop
To use this server with Claude for Desktop:
- Edit your Claude for Desktop configuration file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:
%APPDATA%\Claude\claude_desktop_config.json
- macOS:
- Add the server configuration:
For mock mode, you can omit the env
section.
Example Interactions
Starting a Scan
Getting Scan Results
Searching for Vulnerabilities
Development
Project Structure
src/index.ts
: Main server entry pointsrc/nessus-api.ts
: Nessus API client with mock fallbacksrc/mock-data.ts
: Mock vulnerability data for testingsrc/tools/
: Tool implementationssrc/utils/
: Utility functions
Adding New Tools
- Define the tool schema and handler in the appropriate file in
src/tools/
- Import and register the tool in
src/index.ts
License
MIT
Disclaimer
This server is not affiliated with or endorsed by Tenable. Nessus is a trademark of Tenable, Inc.
You must be authenticated.
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Tools
Nessus MCP Server