Skip to content
AI-Point.uz
← Back to catalog
MCP serverCommunity

Keycloak Admin API

Unofficial: one tool per Keycloak admin operation on a realm, read-only unless writes are enabled

sferarc · ↓ 0 installs

Install

Add the config to your client settings. Replace values in <angle brackets> with your own.

Config file: claude_desktop_config.json
{
  "mcpServers": {
    "keycloak-api-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "keycloak-api@3.8.0"
      ],
      "env": {
        "KEYCLOAK_URL": "<KEYCLOAK_URL>",
        "KEYCLOAK_REALM": "<KEYCLOAK_REALM>",
        "KEYCLOAK_TOKEN": "<KEYCLOAK_TOKEN>",
        "KEYCLOAK_CLIENT_ID": "<KEYCLOAK_CLIENT_ID>",
        "KEYCLOAK_CLIENT_SECRET": "<KEYCLOAK_CLIENT_SECRET>",
        "KEYCLOAK_TOKEN_REALM": "<KEYCLOAK_TOKEN_REALM>",
        "KEYCLOAK_MCP_ALLOW_WRITES": "<KEYCLOAK_MCP_ALLOW_WRITES>",
        "KEYCLOAK_MCP_RESOURCES": "<KEYCLOAK_MCP_RESOURCES>"
      }
    }
  }
}

Or in one command — the CLI adds the server to your client config:

CLI
npx ai-point add io.github.sferarc/keycloak-api-mcp

Tools

The tool list will appear once the server has a sandbox or the editors fill it in.

Report a problem ↗ (Opens GitHub in a new tab)