Tenable Security MCP
README.md
# ๐ Tenable Security MCP
## AI-Assisted Vulnerability Management with Claude Desktop
---
## ๐ Executive Summary
**Tenable Security MCP** is a cutting-edge **Model Context Protocol (MCP) server** that unifies vulnerability management intelligence, enabling security teams to leverage AI for rapid threat prioritization and remediation planning.
๐ฏ **Transform this:**
```
Nessus โ CVE โ CVSS โ EPSS โ CISA KEV โ Exploit Research โ Risk Assessment
```
โจ **Into this:**
```
Claude Desktop โ Tenable Security MCP โ Unified Intelligence โ Actionable Insights
```
---
## ๐ฏ Core Capabilities
### ๐ Nessus Operations
- โ
Retrieve server information and scan details
- โ
List, launch, and manage scans
- โ
Access granular host and vulnerability data
- โ
Manage policies, folders, and agent deployments
### ๐ก๏ธ Vulnerability Intelligence
- โ
Enrich findings with CVE details (NVD)
- โ
Cross-reference CVSS scores & EPSS probabilities
- โ
Check CISA Known Exploited Vulnerabilities (KEV)
- โ
Aggregate public exploit and PoC intelligence
### ๐ Risk Prioritization Engine
Intelligent correlation across multiple signals:
- ๐ด Nessus severity ratings
- ๐ CVSS base & temporal scores
- โก EPSS exploitation probability
- ๐จ CISA KEV status
- ๐ฃ Public exploit availability
- ๐ข Asset context & criticality
### ๐ฌ Example Queries
```
"Analyze my latest scan and list critical findings"
"Get complete intelligence for CVE-2024-3094"
"Which vulnerabilities require urgent remediation?"
"Prioritize findings using severity, CVSS, EPSS, and exploit data"
"Create a remediation roadmap for high-risk assets"
```
---
## ๐๏ธ Architecture Overview
### ๐ Integration Model
```
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Claude Desktop Application โ
โโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Tenable Security MCP Server (Python) โ
โโโโฌโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโ
โ โ โ โ
โผ โผ โผ โผ
Nessus NVD/CVE EPSS/CISA Exploit
(Local) (Public) (Public) Intelligence
```
### ๐ Security Design
- ๐ข **Nessus stays local** - No public internet exposure required
- ๐ข **MCP handles external APIs** - Isolated API credential management
- ๐ข **Zero trust** - All data validated and contextualized
- ๐ข **Analyst-in-the-loop** - AI assists, humans decide
---
## ๐ Quick Start
### ๐ฆ Prerequisites
- โ
Claude Desktop (latest version)
- โ
Nessus Essentials or Professional/Expert
- โ
Nessus API keys (access key + secret key)
- โ
Git installed
---
## ๐ง Installation Guide
### **Step 1๏ธโฃ: Clone Repository**
```bash
git clone https://github.com/kasireddy-sec/tenable-security-mcp.git
cd tenable-security-mcp
```
### **Step 2๏ธโฃ: Build Extension**
#### **Option A: GitHub Actions (Recommended) โญ**
1. Push changes to GitHub (or trigger manually)
2. Navigate to: **Actions โ build.yml**
3. Click **Run workflow**
4. Wait for completion (2-3 minutes)
5. Download `extension.mcpb` artifact
#### **Option B: Local Build**
```bash
# Install MCP build tools
pip install -r requirements.txt
# Build the extension
mcp build
# Verify output
ls dist/extension.mcpb
```
### **Step 3๏ธโฃ: Install to Claude Desktop**
1. Open **Claude Desktop**
2. Navigate to: **Settings โ Extensions โ Advanced Settings**
3. Click **Install Extension**
4. Select `extension.mcpb` file
5. Enable the extension
### **Step 4๏ธโฃ: Configure Nessus**
1. Go to: **Settings โ Extensions โ Tenable Security MCP**
2. Click **Configure** and enter:
- **Nessus URL**: `https://localhost:8834`
- **API Access Key**: `your_access_key_here`
- **API Secret Key**: `your_secret_key_here`
### **Step 5๏ธโฃ: Verify Installation**
```bash
# In Claude Desktop, test with:
"Get my Nessus server information"
```
โ
You should receive live Nessus data!
---
## ๐ Practical Security Workflows
### ๐ด Critical Incident Response
```
"Analyze my latest scan and list critical findings with affected hosts"
```
โ Immediate visibility into high-risk assets
### ๐ CVE Deep Dive
```
"Get complete intelligence for CVE-2024-3094: CVSS, EPSS, CISA KEV, and exploit status"
```
โ Comprehensive threat context in seconds
### ๐ Smart Prioritization
```
"Which 5 vulnerabilities pose highest risk based on EPSS, exploitability, and asset criticality?"
```
โ Data-driven remediation sequencing
### ๐๏ธ Coverage Assessment
```
"Identify assets that haven't been scanned in the last 7 days"
```
โ Risk visibility across your estate
### ๐ ๏ธ Remediation Planning
```
"Create a prioritized roadmap for findings above CVSS 7.0 with CISA KEV or public exploits"
```
โ Structured remediation strategy
---
## ๐ข Technology Stack
| Component | Technology |
|-----------|-----------|
| **Language** | Python 3.9+ |
| **Framework** | MCP Python SDK |
| **Transport** | HTTPS/REST |
| **APIs** | Nessus, NVD, EPSS, CISA KEV, Exploit Intelligence |
| **Build Tool** | GitHub Actions + MCP Build |
---
## ๐ Project Structure
```
tenable-security-mcp/
โโโ ๐ .github/workflows/
โ โโโ test.yml # Automated testing pipeline
โ โโโ build.yml # MCPB packaging & release
โโโ ๐ extension/
โ โโโ manifest.json # Extension metadata
โ โโโ pyproject.toml # Dependencies & configuration
โ โโโ ๐ src/
โ โโโ server.py # MCP server implementation
โโโ pyproject.toml # Project configuration
โโโ README.md # This file
```
---
## ๐ Build & Release Pipeline
```
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Developer Pushes to GitHub โ
โโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ GitHub Actions Triggered โ
โโโโโโฌโโโโโโโโโโโโโโโโโโโโฌโโโโ
โ โ
โผ โผ
โโโโโโโโโโโโ โโโโโโโโโโโโโโโโ
โRun Tests โ โ Build MCPB โ
โโโโโโโโโโโโ โโโโโโโโฌโโโโโโโโ
โ
โโโโโโโโโโโโโผโโโโโโโโโโโโโ
โ extension.mcpb Created โ
โโโโโโโโโโโโโฌโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโผโโโโโโโโโโโโโโโโ
โ Download from Workflow โ
โ Install to Claude โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโ
```
---
## โ ๏ธ Known Issues & Solutions
### ๐ช Windows MSIX Installation Issue
**Problem:**
```
can't open file ... src/server.py
[Errno 2] No such file or directory
```
**Root Cause:** MSIX resolves MCP server paths incorrectly
**Solution:** Use standard Claude Desktop installer (not MSIX/enterprise)
โ
**Recommended**: Standard installer for Windows users
### ๐ UV / Python Permission Denied
**Problem:**
```
Access is denied (installing dependencies)
```
**Root Cause:** Microsoft Store Python has restricted write permissions
**Solution:** Extension uses isolated user-level UV environment
โ
**No manual action needed** - automatic fallback enabled
---
## ๐ Security Best Practices
### โ
**DO**
- ๐ข Store Nessus API credentials in configuration (never commit to repo)
- ๐ข Use standard Claude Desktop installer
- ๐ข Validate Claude's recommendations before production changes
- ๐ข Treat exploit intelligence as supporting evidence
- ๐ข Maintain audit logs of all vulnerability assessments
### โ **DON'T**
- ๐ด Commit API credentials to GitHub
- ๐ด Expose local Nessus to public internet
- ๐ด Scan systems without proper authorization
- ๐ด Treat AI recommendations as definitive without analyst review
- ๐ด Share sensitive finding details in untrusted environments
---
## ๐ค Contributing
We welcome contributions from the security community!
### Development Workflow
```bash
# 1. Fork repository
git clone https://github.com/YOUR-USERNAME/tenable-security-mcp.git
# 2. Create feature branch
git checkout -b feature/your-feature-name
# 3. Make changes to extension/src/server.py
# ... your code changes ...
# 4. Test locally
mcp build
mcp run
# 5. Commit and push
git add .
git commit -m "Add: your feature description"
git push origin feature/your-feature-name
# 6. Submit Pull Request
# GitHub Actions will automatically build and test
```
**Contribution Guidelines:**
- ๐ Follow Python PEP 8 style guide
- ๐งช Include test cases for new features
- ๐ Update documentation
- โ
Ensure GitHub Actions passes all checks
---
## ๐ License
**MIT License** - Open source and free to use
See [LICENSE](LICENSE) file for complete details
---
## ๐ฏ Vision
**Transform vulnerability management from reactive firefighting to strategic risk management.**
- ๐ **Faster Analysis** - Minutes instead of hours
- ๐ก **Better Decisions** - AI-assisted prioritization
- ๐ **Reduced Risk** - Intelligent remediation
- โฑ๏ธ **Increased Velocity** - Automate the routine
---
## ๐ Support & Resources
| Resource | Link |
|----------|------|
| **GitHub Issues** | [Report Bug / Request Feature](../../issues) |
| **Documentation** | README.md (you are here) |
| **Tenable Docs** | [Nessus API Reference](https://docs.tenable.com/nessus) |
| **CISA KEV** | [Known Exploited Vulnerabilities](https://cisa.gov/known-exploited-vulnerabilities) |
| **EPSS** | [Exploit Prediction Scoring System](https://www.first.org/epss) |
---
<div align="center">
### ๐ Built to Turn Raw Nessus Findings into Actionable Security Intelligence
**Tenable Security MCP** โ Faster Analysis โ Better Decisions โ Reduced Risk
[](LICENSE)
[](https://www.python.org/)
**Made for Security Professionals | Built on MCP | Powered by Claude AI**
</div>
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo issues