Guides
How Risk Register works with AI assistants and your own code: the MCP endpoint, the REST API, drafts and proposals, and webhooks. The API reference is at /docs/api.
Start here
- API overviewWhat the REST API and the MCP endpoint offer, and where each guide is.
- Getting startedA first call with curl: make a personal access token, list your registers, create a risk and retry it safely.
- MCP endpointConnecting an AI assistant: the URL, the tools, and how a tool call behaves (results, errors, idempotency, limits).
- Connect an AI assistantSetting up Claude Code, VS Code, Cursor, Gemini CLI and Codex CLI with a token, where each keeps it, and what to do if it does not connect.
- Drafts and proposalsHow saved work waits for a person: drafts, proposals against a revision, adoption in the app, who is emailed, and what writes go straight in.
- Reviewing a register your assistant wroteWhat to check before you adopt a draft: risks that don't belong, scores you can't support, duplicates, controls on paper, owners and categories.
Using the API
- AuthenticationPersonal access tokens and organisation API keys: what each reads and writes, and their limits.
- ErrorsThe error envelope, its codes and subcodes, and what to do about each.
- IdempotencyRetrying a write safely with an Idempotency-Key.
- ETag concurrencyChange a record only if nobody has changed it since you read it: ETags and x-rr-if-match.
- PaginationCursor pages, and how filters travel with them.
- Rate limitsThe read and write limits, and what a 429 says.
Reference
- The register document (v5)A whole register as one JSON document: its fields, rules and limits, and how drafts and imports treat it.
Webhooks
- WebhooksSigned event notifications to your endpoint: delivery, retries and replay protection.
- Webhook event typesEvery event and its payload.
- Slack and TeamsPost the weekly digest, reviews falling due and proposals waiting to a Slack or Microsoft Teams channel: setting it up, what is sent and what is not.
- Verifying webhook signaturesChecking an event came from Risk Register, in your own code.