Castra · Problem types

insufficient_scope

HTTP 403

The MCP token does not have the scope this tool needs.

Common causes

How to fix

Create a token with the missing scope: castra mcp token create --scopes .... The response names the missing scope.

Response

{
  "type": "https://castra.mehmetozer.dev/problems/insufficient_scope",
  "title": "…",
  "status": 403,
  "detail": "…"
}

detail says what exactly went wrong for this request.