Skip to main content
Glama

mcp-keycloak

by idoyudha

assign_client_role_to_user

Assign specific client roles to a user in Keycloak by specifying user ID, client ID, and role names. Manage access permissions effectively within a defined realm.

Instructions

Assign client roles to a user. Args: user_id: User ID client_id: Client database ID role_names: List of role names to assign realm: Target realm (uses default if not specified) Returns: Status message

Input Schema

NameRequiredDescriptionDefault
client_idYes
realmNo
role_namesYes
user_idYes

Input Schema (JSON Schema)

{ "properties": { "client_id": { "title": "Client Id", "type": "string" }, "realm": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Realm" }, "role_names": { "items": { "type": "string" }, "title": "Role Names", "type": "array" }, "user_id": { "title": "User Id", "type": "string" } }, "required": [ "user_id", "client_id", "role_names" ], "title": "assign_client_role_to_userArguments", "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/idoyudha/mcp-keycloak'

If you have feedback or need assistance with the MCP directory API, please join our Discord server