Skip to main content
Glama

Advanced Keycloak MCP server

by Octodet
MIT License
277

update-user-roles

Manage user roles in Keycloak by adding or removing client-specific roles for a user within a specified realm and client. Simplify role updates efficiently and accurately.

Instructions

Add and/or remove client roles for a user in a specific realm and client

Input Schema

NameRequiredDescriptionDefault
clientIdYesClient ID
realmYesRealm name
rolesToAddNoRoles to add
rolesToRemoveNoRoles to remove
userIdYesUser ID

Input Schema (JSON Schema)

{ "properties": { "clientId": { "description": "Client ID", "type": "string" }, "realm": { "description": "Realm name", "type": "string" }, "rolesToAdd": { "description": "Roles to add", "items": { "type": "string" }, "type": "array" }, "rolesToRemove": { "description": "Roles to remove", "items": { "type": "string" }, "type": "array" }, "userId": { "description": "User ID", "type": "string" } }, "required": [ "realm", "userId", "clientId" ], "type": "object" }
Install Server

Other Tools from Advanced Keycloak MCP server

Related Tools

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

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