create-user
Create a new user in a Keycloak realm by specifying details like username, email, first and last name, and credentials. Enables efficient user management in the Advanced Keycloak MCP server.
Instructions
Create a new user in a specific realm
Input Schema
Name | Required | Description | Default |
---|---|---|---|
credentials | No | User credentials | |
Yes | Email address for the new user | ||
emailVerified | No | Whether the email is verified | |
enabled | No | Whether the user is enabled | |
firstName | Yes | First name of the user | |
lastName | Yes | Last name of the user | |
realm | Yes | Realm name | |
username | Yes | Username for the new user |
Input Schema (JSON Schema)
{
"properties": {
"credentials": {
"description": "User credentials",
"items": {
"properties": {
"temporary": {
"description": "Whether the credential is temporary",
"type": "boolean"
},
"type": {
"description": "Credential type (e.g., 'password')",
"type": "string"
},
"value": {
"description": "Credential value",
"type": "string"
}
},
"required": [
"type",
"value"
],
"type": "object"
},
"type": "array"
},
"email": {
"description": "Email address for the new user",
"format": "email",
"type": "string"
},
"emailVerified": {
"description": "Whether the email is verified",
"type": "boolean"
},
"enabled": {
"default": true,
"description": "Whether the user is enabled",
"type": "boolean"
},
"firstName": {
"description": "First name of the user",
"type": "string"
},
"lastName": {
"description": "Last name of the user",
"type": "string"
},
"realm": {
"description": "Realm name",
"type": "string"
},
"username": {
"description": "Username for the new user",
"type": "string"
}
},
"required": [
"realm",
"username",
"email",
"firstName",
"lastName"
],
"type": "object"
}