Skip to main content
Glama
thebylito

keycloak-mcp-server

by thebylito

assign-role-to-user

Assign a specified role to a user in Keycloak. Provide realm, user ID, and role name; optionally include client ID to assign a client role.

Instructions

Assign a realm role, or a client role when clientId is given, to a user

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
realmYesRealm name
userIdYesUser ID
clientIdNoClient ID to resolve roleName as a client role. Omit for a realm role
roleNameYesRole name

Tool Definition Quality

Score is being calculated. Check back soon.

Install Server

Other Tools

Latest Blog Posts

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/thebylito/keycloak-mcp-server'

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