Skip to main content
Glama

Trivy

Official
by aquasecurity
jetbrains.md1.23 kB
# JetBrains IDE Integration This guide explains how to configure and use the Trivy MCP Server Plugin with JetBrains IDEs. ## Prerequisites - Any JetBrains IDE (IntelliJ IDEA, PyCharm, WebStorm, etc.) with the CoPilot Extension installed - Trivy MCP Plugin installed (see [Installation Guide](../installation.md)) ## Configuring the MCP Server in JetBrains IDEs 1. Open CoPilot Chat and choose `Agent (Preview)` from the tabs at the top 2. At the bottom of the chat window, select the tools icon and choose `Add More Tools...` 3. The `mcp.json` file will be opened. Add the following block or update the existing `servers` block to add `trivy`: ```json { "servers": { "trivy": { "type": "stdio", "command": "trivy", "args": ["mcp"] } } } ``` ## Using the MCP Server in JetBrains IDEs 1. Open the CoPilot Chat panel in your JetBrains IDE 2. Ensure you are using the Agent (Preview) mode 3. Type a query related to security scanning, such as: ``` Are there any vulnerabilities in this project? ``` ## Example Queries for JetBrains IDEs See the [Example Queries](../example-queries.md) page for a comprehensive list of queries you can use with the Trivy MCP Server Plugin.

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/aquasecurity/trivy-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server