create_client_scope
Creates a new client scope in a specified Keycloak realm, enabling MCP clients to define reusable scope configurations via the Keycloak Admin API.
Instructions
Create a new client scope.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"realm": "<realm>",
"scope_data": "<scope_data>"
},
"name": "create_client_scope"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| realm | Yes | Realm name | |
| scope_data | Yes | Client scope representation |