MCP SBOM Server logo

MCP SBOM Server

by gkhays

MCP server to perform a Trivy scan and produce an SBOM in CycloneDX format. It leverages the Model Context Protocol (MCP).

View on GitHub

Last updated: N/A

What is MCP SBOM Server?

The MCP SBOM Server is a server that integrates with Trivy to scan for vulnerabilities and generate a Software Bill of Materials (SBOM) in the CycloneDX format. It's designed to work within the Model Context Protocol (MCP) ecosystem.

How to use MCP SBOM Server?

  1. Install prerequisites: uv, trivy, and Node.js.
  2. Configure the MCP client with the provided JSON configuration, specifying the path to the mcp-sbom directory.
  3. Build the project using uv sync to synchronize dependencies and update the lockfile.
  4. Debug using MCP Inspector, launched with npx @modelcontextprotocol/inspector uv --directory /path/to/mcp-sbom run mcp-sbom.
  5. When running on Windows, use Windows-style paths.

Key features of MCP SBOM Server

  • Trivy integration

  • CycloneDX SBOM generation

  • MCP compatibility

  • uv build system

  • MCP Inspector debugging

Use cases of MCP SBOM Server

  • Generating SBOMs for software projects

  • Identifying vulnerabilities in software dependencies

  • Integrating security scanning into MCP workflows

  • Automating security compliance

  • Improving software supply chain security

FAQ from MCP SBOM Server

What is an SBOM?

A Software Bill of Materials (SBOM) is a list of all the components in a piece of software.

What is Trivy?

Trivy is a comprehensive and versatile security scanner.

What is CycloneDX?

CycloneDX is a full-stack Bill of Materials (BOM) standard designed for modern supply chains.

What is MCP?

MCP stands for Model Context Protocol.

How do I install the prerequisites?

Follow the installation instructions in the README for uv, trivy, and Node.js.