upload_bom
Upload a CycloneDX or SPDX SBOM to Dependency-Track for vulnerability scanning. Specify project name and version; optionally auto-create the project if missing.
Instructions
⚠ WRITE. Upload a CycloneDX/SPDX SBOM to Dependency-Track.
Issues POST /api/v1/bom with the SBOM as a base64-encoded
string. Returns an upload token — the caller should poll
GET /api/v1/bom/token/{token} (not an MCP tool in v0.2) to
detect when processing finishes and findings become visible.
When auto_create=True, the project is created if missing; this
requires the PROJECT_CREATION_UPLOAD permission in DT.
Args: project_name: Target project name (must exist unless auto_create=True). project_version: Target project version. bom: Base64-encoded SBOM document (CycloneDX or SPDX). auto_create: Create project/version if missing. Requires extra permission. parent_name: Optional parent project name for hierarchy. parent_version: Optional parent project version.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_name | Yes | ||
| project_version | Yes | ||
| bom | Yes | ||
| auto_create | No | ||
| parent_name | No | ||
| parent_version | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||