Skip to main content
Glama

mcp-keycloak

by idoyudha

get_user_realm_roles

Retrieve realm roles for a specified user in Keycloak, including effective roles when needed, with optional realm targeting for precise access management.

Instructions

Get realm roles for a user. Args: user_id: User ID effective: Get effective roles (including composite roles) realm: Target realm (uses default if not specified) Returns: List of realm roles

Input Schema

NameRequiredDescriptionDefault
effectiveNo
realmNo
user_idYes

Input Schema (JSON Schema)

{ "properties": { "effective": { "default": false, "title": "Effective", "type": "boolean" }, "realm": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Realm" }, "user_id": { "title": "User Id", "type": "string" } }, "required": [ "user_id" ], "title": "get_user_realm_rolesArguments", "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