TrustMCPdocs

API reference

Base URL: https://network.trustmcp.app (or your operator / http://localhost:8000). Interactive OpenAPI docs are served at /docs.

Auth tiers

HeaderWhoFor
X-TrustMCP-Service-Tokenthe web backendcreating vendors on behalf of users
X-TrustMCP-Owner-Tokena vendormanaging its own trust center
Authorization: Bearer tmcp_live_…a customerreading a profile (scoped)

Consumer (read) endpoints

MethodPathScope
GET/v1/vendors/{vid}/manifestmanifest
GET/v1/vendors/{vid}/attestationsattestations
GET/v1/vendors/{vid}/subprocessorsattestations
GET/v1/vendors/{vid}/freshnessmanifest
GET/v1/vendors/{vid}/artifacts/{aid}artifacts

Public (no auth)

MethodPath
GET/v1/mark/{vid}
GET/v1/directory
GET/v1/vendors/{vid}/public
GET/v1/vendors/{vid}/artifacts/{aid}/public
POST/v1/keys/request
POST/v1/keys/request-with-contract

POST /v1/keys/request returns {"status":"granted", key, ...} immediately when an auto-release policy matches; otherwise {"status":"pending"}.

Owner (management)

Vendor profile, artifacts (incl. content upload), attestations, subprocessors, domains + verify, key requests (approve with scope / ttl_days / artifact_ids, deny), revoke, audit (/audit, /audit.csv). PUT …/profile also accepts notify_email, notify_on_request, listed, auto_approve_domains, auto_approve_crm, auto_approve_on_contract.

Full table: docs/api-reference.md.