Skip to main content
Glama

Keycloak MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
KEYCLOAK_URLYesURL of your Keycloak instancehttp://localhost:8080
KEYCLOAK_ADMINYesKeycloak admin usernameadmin
KEYCLOAK_ADMIN_PASSWORDYesKeycloak admin passwordadmin

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
create-user

Create a new user in a specific realm

delete-user

Delete a user from a specific realm

list-realms

List all available realms

list-users

List users in a specific realm

assign-client-role-to-user

Assign a client role to a user

add-user-to-group

Add a user to a group

list-clients

List clients in a specific realm

list-groups

List groups in a specific realm

list-client-roles

List roles in a specific client

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

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