TrustSource for developers: API, CLI, MCP server and Community Edition

TrustSource can be driven from build pipelines, scripts and AI agents. This is the overview of the interfaces. Documentation is at help.trustsource.io.

ts-scan (CLI and GitHub Action)

ts-scan is the open-source scanner for software composition analysis. It detects direct and transitive dependencies of all common build systems, generates the SBOM and uploads it to TrustSource. It is available as a CLI, a Docker image and a GitHub Action. More on the product page.

ts-scan-agent (Apache-2.0) looks at a repository and proposes a scan concept: which parts become modules, infrastructure modules or linked modules, and which ts-scan command fits each. The result is a Markdown report (or JSON for scripts and coding agents) that you review yourself. The agent does not touch your TrustSource account.

TrustSource API (REST, version 2)

The API is served at https://api.trustsource.io/v2. The version lives in the base URL, the paths themselves are version-free. The API key is sent as the HTTP header x-api-key, never in the URL or the body. The reference is in the online help.

curl -H "x-api-key: $TS_API_KEY" https://api.trustsource.io/v2/core/projects

You create a key in your account after registering.

MCP server (ts-mcp)

ts-mcp (AGPL-3.0) exposes the TrustSource API as tools for Claude and other MCP-capable assistants: projects, modules and scans, compliance checks, approvals, vulnerabilities, risks and reports. It starts via Docker (docker run -i --rm -e TS_API_KEY=… trustsource/ts-mcp), is read-only by default (TS_ACCESS_MODE=read) and can be restricted to individual projects. The image is on Docker Hub.

TrustSource Community Edition

The Community Edition (AGPL-3.0) is the open-source version of the platform for self-hosting: component and license compliance, vulnerability tracking, SBOMs and release approvals. The reference setup runs with Docker Compose (app, MongoDB, license check service). Compared with the commercial edition it lacks, among other things, the AI assistant, risk management, single sign-on and the Legal Manager. If you need those, use the hosted platform.

More open-source tools

All public repositories are in the TrustSource GitHub organization.

Questions?

Write to support@trustsource.io or use the contact form. Operational status is at status.trustsource.io.