Skip to content

List organizations

Use this to list ChalkSurf organizations available to the authenticated user.

{
"annotations": {
"readOnlyHint": true,
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": false
},
"fileParams": [],
"requiredPermission": "read",
"security": {
"type": "oauth2",
"scopes": [
"chalksurf:read"
]
}
}

The server advertises this JSON Schema to MCP clients. Runtime authorization and business-rule checks still apply.

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {},
"type": "object"
}
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"organizations": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"mcpPermission": {
"anyOf": [
{
"enum": [
"read",
"write"
],
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"type": "string"
},
"role": {
"enum": [
"owner",
"editor",
"viewer"
],
"type": "string"
},
"selected": {
"type": "boolean"
},
"type": {
"enum": [
"personal",
"team"
],
"type": "string"
}
},
"required": [
"id",
"name",
"role",
"selected",
"type"
],
"type": "object"
},
"type": "array"
},
"selectedOrganizationId": {
"anyOf": [
{
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"organizations",
"selectedOrganizationId"
],
"type": "object"
}