
tenablemcp
Tenable MCP Server
Repository Info
About This Server
Tenable MCP Server
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
Tenable MCP (Management Control Panel)
A Spring Boot application that provides a comprehensive interface for managing and visualizing Tenable.io security data.
Features
-
Configuration Management
- Easy configuration of Tenable.io API credentials
- Support for custom API endpoints
- Configurable timeouts and retry policies
-
Security Visualization
- Vulnerability distribution by severity
- Asset vulnerability trends
- Top vulnerable assets analysis
- Vulnerability age distribution
- Remediation progress tracking
- Asset risk score distribution
- Vulnerability category analysis
-
Reporting
- Comprehensive CSV exports
- Detailed security posture summaries
- Customizable time range filtering
Prerequisites
- Java 17 or later
- Gradle 7.x or later (included in the project)
- Docker (optional, for containerized deployment)
- Tenable.io API credentials
Quick Start
-
Clone the repository:
git clone https://github.com/yourusername/tenablemcp.git cd tenablemcp -
Run the setup script:
chmod +x setup.sh ./setup.sh -
Update the configuration: Edit
src/main/resources/application.ymlwith your Tenable.io credentials:tenable: apiKey: "your-api-key" accessKey: "your-access-key" secretKey: "your-secret-key" baseUrl: "https://cloud.tenable.com" -
Run the application:
./gradlew bootRun
Running with Docker
-
Build the Docker image:
docker build -t tenable-mcp . -
Run the container:
docker run -p 8080:8080 tenable-mcp
API Endpoints
Configuration
-
GET /api/config- Get current configuration
- Response: Current configuration settings
-
POST /api/config- Update configuration
- Body: JSON with configuration parameters
- Example:
{ "accessKey": "your-access-key", "secretKey": "your-secret-key", "baseUrl": "https://cloud.tenable.com" }
Visualizations
-
GET /api/v1/visualizations/report- Get comprehensive security report
- Query Parameters:
startTime(optional): ISO-8601 formatted start timeendTime(optional): ISO-8601 formatted end time
- Response: JSON containing multiple visualizations
-
GET /api/v1/visualizations/export/vulnerabilities- Export report as CSV
- Query Parameters:
startTime(optional): ISO-8601 formatted start timeendTime(optional): ISO-8601 formatted end time
- Response: CSV file download
Visualization Types
-
Vulnerability Distribution
- Pie chart showing distribution by severity
- Color-coded for easy interpretation
-
Asset Vulnerability Trend
- Line chart showing vulnerability trends over time
- Helps track security posture improvements
-
Top Vulnerable Assets
- Bar chart of most vulnerable assets
- Helps prioritize remediation efforts
-
Vulnerability Age Distribution
- Pie chart showing age ranges of vulnerabilities
- Helps identify stale vulnerabilities
-
Remediation Progress
- Doughnut chart showing fixed vs. open vulnerabilities
- Tracks remediation effectiveness
-
Asset Risk Score Distribution
- Bar chart showing distribution of asset risk scores
- Helps identify high-risk assets
Development
Project Structure
src/main/kotlin/com/tenable/mcp/
├── config/ # Configuration classes
├── controller/ # REST controllers
├── service/ # Business logic
├── client/ # Tenable.io API client
└── model/ # Data models
Building
./gradlew clean build
Running Tests
./gradlew test
Contributing
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.
Support
For support, please open an issue in the GitHub repository or contact the maintainers.
Quick Start
Clone the repository
git clone https://github.com/rajagrawal104/tenablemcpInstall dependencies
cd tenablemcp
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.