Skip to main content
Glama

mcp-keycloak

by idoyudha

get_user_sessions

Retrieve a list of active sessions for a specific user in Keycloak. Specify the user ID and optionally target a realm to manage and monitor access effectively.

Instructions

Get active sessions for a user. Args: user_id: The user's ID realm: Target realm (uses default if not specified) Returns: List of active sessions

Input Schema

NameRequiredDescriptionDefault
realmNo
user_idYes

Input Schema (JSON Schema)

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