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
REST API
https://comply.strac.io/api/v1. Read your controls, policies, documents, audits, tests and people, and make the key writes, like approving a policy or publishing a document. Sign requests with a Personal Access Token.
MCP server
https://mcp.comply.strac.io/mcp. Connect Claude Code, Codex, Gemini CLI, Grok Build, Cursor or OpenCode. You sign in once in your browser (OAuth 2.1 + PKCE), and the agent only sees the tools your scopes allow.
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:
curl 'https://comply.strac.io/api/v1/frameworks' \ -H 'Authorization: Bearer strac_pat_xxxxxxxxxxxx'Response:
{ "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.
What each scope allows is listed on the REST reference and MCP pages.
How your data stays safe
Safe to build against
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
- Authentication: create a PAT, or run the OAuth flow
- REST reference: every endpoint, with parameters and examples
- MCP server: connect your agent, and every tool it can call