Skip to main content
Glama
anchore

Grype MCP Server

Official
by anchore

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
find_grypeB

Find the grype binary and check if it's installed.

Returns information about grype installation status.

update_grypeA

Install or update the grype binary to the latest version.

Downloads and installs grype using the official Anchore installer.

scan_dirC

Scan a directory for vulnerabilities using Grype.

Args: path: Path to the directory to scan include_dev: Include development dependencies

scan_purlA

Scan a specific package using PURL (Package URL) format.

Args: package_url: Package URL in PURL format (e.g., pkg:npm/lodash@4.17.20)

scan_imageA

Scan a container image for vulnerabilities.

Args: image: Container image name/tag (e.g., nginx:latest, ubuntu:20.04)

search_vulnsB

Search the Grype database for vulnerability information.

Args: query: Search query (CVE ID, package name, etc.) search_type: Type of search: vuln, package, or cpe

get_vuln_detailsC

Get detailed information about a specific vulnerability.

Args: cve_id: CVE identifier (e.g., CVE-2021-44228)

get_db_infoA

Get information about the Grype vulnerability database.

update_dbB

Update the Grype vulnerability database.

Args: force: Force update even if database is recent

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/anchore/grype-mcp'

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