Skip to main content
Glama

MCP SBOM Server

by gkhays
README.md1.29 kB
# MCP SBOM Server [![Python](https://img.shields.io/badge/Python-3.12-blue.svg)](https://www.python.org/) [![MCP](https://img.shields.io/badge/MCP-1.6-CC5500.svg)](https://www.anthropic.com/news/model-context-protocol) MCP server to perform a Trivy scan and produce an SBOM in CycloneDX format. ## Installation ### Prerequisites Install the following. - [uv](https://github.com/astral-sh/uv) - [trivy](https://github.com/aquasecurity/trivy) - [Node.js](https://nodejs.org/en) ## MCP Clients ### Configuration ```json "mcpServers": { "mcp-sbom": { "command": "uv", "args": [ "--directory", "/path/to/mcp-sbom", "run", "mcp-sbom" ] } } ``` ## Building > [!NOTE] > This project employs `uv`. 1. Synchronize dependencies and update the lockfile. ``` uv sync ``` ## Debugging ### MCP Inspector Use [MCP Inspector](https://github.com/modelcontextprotocol/inspector). Launch the MCP Inspector as follows: ``` npx @modelcontextprotocol/inspector uv --directory /path/to/mcp-sbom run mcp-sbom ``` ![MCP Inspector](docs/mcp-inspector.png) ### Windows When running on Windows, use paths of the style: ```console C:/Users/gkh/src/mcp-sbom-server/src/mcp_sbom ```

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/gkhays/mcp-sbom-server'

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