unknown_role
HTTP 400MCP as.roles names a role that is not in the config.
Common causes
- A typo, or a role that
castra.config.tsdoes not declare. Applies to the local stdio server only.
How to fix
Use a role listed in roles in castra.config.ts.
Response
{
"type": "https://castra.mehmetozer.dev/problems/unknown_role",
"title": "…",
"status": 400,
"detail": "…"
}
detail says what exactly went wrong for this request.