Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
KEYCLOAK_URLYesBase URL of the Keycloak server
KEYCLOAK_ADMINNoDeprecated alias still supported for password grant login
KEYCLOAK_PASSWORDNoPassword for password grant login
KEYCLOAK_USERNAMENoUsername for password grant login
KEYCLOAK_CLIENT_IDNoClient ID for client_credentials login (recommended)
KEYCLOAK_AUTH_REALMNoRealm where the login account or client livesmaster
KEYCLOAK_GRANT_TYPENoEither client_credentials or password; detected from what you setauto
KEYCLOAK_MCP_REALMSNoComma-separated allowlist of target realmsall
KEYCLOAK_MCP_TOOLSETSNoEnabled toolsets, or allcore,groups,roles
KEYCLOAK_CLIENT_SECRETNoClient secret for client_credentials login (recommended)
KEYCLOAK_MCP_LOG_LEVELNodebug, info, warn or error (stderr)info
KEYCLOAK_MCP_READ_ONLYNoRegister read-only tools onlyfalse
KEYCLOAK_ADMIN_PASSWORDNoDeprecated alias still supported for password grant login
KEYCLOAK_MCP_TIMEOUT_MSNoHTTP timeout for Keycloak requests30000
KEYCLOAK_MCP_ALLOW_MASTER_WRITENoAllow write tools in the master realmfalse
KEYCLOAK_MCP_REQUIRE_CONFIRMATIONNoDestructive and sensitive tools need confirm: truetrue

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription
create-userC

Create a new user in a specific realm

delete-userC

Delete a user from a specific realm

list-realmsB

List all available realms

list-usersC

List users in a specific realm

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.2/5.0

Scored across 4 tools

Disambiguation5/5

Each tool has a clearly distinct purpose with no overlap: create-user and delete-user handle user lifecycle actions, list-realms lists realms, and list-users lists users within a realm. The descriptions make it unambiguous which tool to use for each operation.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern with hyphen separation (e.g., create-user, delete-user, list-realms, list-users). This uniformity makes the tool set predictable and easy to understand.

Tool Count3/5

With only 4 tools, the set feels thin for a Keycloak server, which typically manages realms, users, roles, clients, and groups. While the tools cover basic user and realm operations, the scope is limited compared to the domain's complexity.

Completeness2/5

There are significant gaps in the tool surface for Keycloak management. Missing operations include updating users, managing roles, handling clients, and performing authentication flows. This incomplete coverage will likely cause agent failures when trying to perform common administrative tasks.

Maintenance

ActivityMaintained
ResponsivenessNo issues