create-user
Add a new user to a Keycloak realm by specifying username, email, first name, and last name using the Keycloak MCP Server tool.
Instructions
Create a new user in a specific realm
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>",
"username": "<username>",
"email": "<email>",
"firstName": "<firstName>",
"lastName": "<lastName>"
},
"name": "create-user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | |||
| firstName | Yes | ||
| lastName | Yes | ||
| realm | Yes | ||
| username | Yes |