Trivy MCP Server Plugin
About
Trivy MCP Server Plugin starts a Model Context Protocol (MCP) server that integrates Trivy's security scanning capabilities with VS Code and other MCP-enabled tools, allowing users to ask security-related questions in natural language.
Details
- Author
- aquasecurity
- GitHub stars
- 45
- Downloads
- 346
- Categories
- Developer Tools, Security
Jump to
- Natural language scanning for security issues
- Filesystem scanning for local projects
- Container image vulnerability scanning
- Remote repository security analysis
- Optional integration with Aqua Security’s platform
- Support for stdio, streamable HTTP, and SSE transports
Install the plugin with trivy plugin install mcp, then start the server with trivy mcp. After configuring your IDE, you can ask natural language security questions such as "Are there any vulnerabilities or misconfigurations in this project?"
Trivy MCP Server Plugin
https://github.com/user-attachments/assets/125791b0-3164-4dcc-8fb3-e45481a9cbf7
This plugin starts a Model Context Protocol (MCP) server that integrates Trivy's security scanning capabilities with VS Code and other MCP-enabled tools.
Features
- Natural Language Scanning: Ask questions about security issues in natural language
- Multiple Scan Types:
- Filesystem scanning for local projects
- Container image vulnerability scanning
- Remote repository security analysis
- Integration with Aqua Platform: Optional integration with Aqua Security's platform for enhanced scanning capabilities and assurance policy compliance
- Flexible Transport: Support for stdio, streamable HTTP, and SSE (Server-Sent Events) transport protocols
- IDE Integration: Seamless integration with VS Code, Cursor, JetBrains IDEs, and Claude Desktop
Quick Start
Installation
trivy plugin install mcp
Starting the Server
trivy mcp
Documentation
For comprehensive documentation, please see the docs directory:
- Installation Guide
- Quick Start Guide
- Configuration Options
- IDE Integration
- VS Code
- Cursor
- JetBrains IDE
- Claude Desktop
- Example Queries
- Authentication
Example Query
After setting up the plugin and configuring your IDE, you can start asking security-related questions:
Are there any vulnerabilities or misconfigurations in this project?
For more examples, see the Example Queries page.
License
MIT License - see the LICENSE file for details.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





