Skip to content

Strac Comply developer platform

Read your live compliance status and send evidence back from code. You get two ways in: a REST API you script from CI or any HTTP client, and an MCP server your AI agent connects to. Both use scoped tokens you can revoke, and writes such as uploads, approvals, publishes and N/A marks land in an append-only audit log with who made them.

Two ways in

Choose your authentication

There are two token types. Both are scoped and you can revoke either one. Use a Personal Access Token (strac_pat_*) when you script the REST API from CI. Use OAuth 2.1 + PKCE (mcp_at_*) for MCP clients, which run the sign-in for you; that token also works on the REST API. The full walkthrough is in Authentication.

Auditing a Strac Comply customer? Your AI assistant connects to a separate auditor MCP server with your Auditor Portal account. See For auditors.

Quickstart

Create a PAT (see Authentication), then make your first call. GET /frameworks needs only the compliance:read scope:

bashGET /api/v1/frameworks
curl 'https://comply.strac.io/api/v1/frameworks' \  -H 'Authorization: Bearer strac_pat_xxxxxxxxxxxx'

Response:

json
{  "success": true,  "frameworks": [    {      "id": "soc2",      "name": "SOC 2",      "shortLabel": "SOC 2"    },    {      "id": "iso27001",      "name": "ISO 27001:2022",      "shortLabel": "ISO 27001"    }  ]}

Scopes

Every token carries scopes. Ask for only what your script or agent needs. Write scopes need an owner or admin to grant them.

compliance:read
policies:read
policies:write
policies:approve
documents:read
documents:write
tests:write
personnel:read
audits:read
evidence:write
chat:ask
vendors:read
vendors:write
risks:read
risks:write
audit-requests:write

What each scope allows is listed on the REST reference and MCP pages.

How your data stays safe

Safe to build against

The server decides who made each request from the token, so no one can write under someone else's name. A token only reaches its own company. A request for another company's data is refused (403 on REST, not_found on MCP), never served. Writes such as uploads, approvals and publishes are recorded in an append-only audit log. The log entry is written after the change, so if writing it fails, the change still stands without its entry. Evidence you attach to an audit is pinned to the exact version you attached.

Where to go next