{
  "slug": "io-github-christophenglisch-keycloak-model-context-protocol",
  "name": "io.github.ChristophEnglisch/keycloak-model-context-protocol",
  "title": "keycloak-model-context-protocol",
  "description": "Manage Keycloak users, groups, roles and realms through the Keycloak Admin REST API.",
  "version": "1.1.0",
  "publishedAt": "2026-10-26T20:33:56.445967Z",
  "updatedAt": "2026-10-26T20:33:56.445967Z",
  "repoUrl": "https://github.com/ChristophEnglisch/keycloak-model-context-protocol",
  "websiteUrl": null,
  "namespace": {
    "type": "github",
    "owner": "ChristophEnglisch"
  },
  "kind": "local",
  "packages": [
    {
      "registryType": "npm",
      "identifier": "keycloak-model-context-protocol",
      "version": "1.1.0",
      "transport": "stdio",
      "runtimeHint": null
    }
  ],
  "remotes": [],
  "envVars": [
    {
      "name": "KEYCLOAK_URL",
      "isSecret": false,
      "isRequired": true,
      "description": "Base URL of the Keycloak server, e.g. https://keycloak.example.com"
    },
    {
      "name": "KEYCLOAK_AUTH_REALM",
      "isSecret": false,
      "isRequired": false,
      "description": "Realm used to obtain the admin token"
    },
    {
      "name": "KEYCLOAK_CLIENT_ID",
      "isSecret": false,
      "isRequired": false,
      "description": "Client ID used for login (default admin-cli for the password grant, required for client_credentials)"
    },
    {
      "name": "KEYCLOAK_CLIENT_SECRET",
      "isSecret": true,
      "isRequired": false,
      "description": "Client secret for the client_credentials grant (recommended: a dedicated service account)"
    },
    {
      "name": "KEYCLOAK_USERNAME",
      "isSecret": false,
      "isRequired": false,
      "description": "Username for the password grant (alternative to client credentials)"
    },
    {
      "name": "KEYCLOAK_PASSWORD",
      "isSecret": true,
      "isRequired": false,
      "description": "Password for the password grant"
    },
    {
      "name": "KEYCLOAK_GRANT_TYPE",
      "isSecret": false,
      "isRequired": false,
      "description": "Grant type; auto-detected if unset (client_credentials when a secret is set, else password)"
    },
    {
      "name": "KEYCLOAK_MCP_READ_ONLY",
      "isSecret": false,
      "isRequired": false,
      "description": "If true, only read-only tools are registered"
    },
    {
      "name": "KEYCLOAK_MCP_REALMS",
      "isSecret": false,
      "isRequired": false,
      "description": "Comma-separated allowlist of target realms; empty means all realms"
    },
    {
      "name": "KEYCLOAK_MCP_ALLOW_MASTER_WRITE",
      "isSecret": false,
      "isRequired": false,
      "description": "If true, write tools may modify the master realm"
    },
    {
      "name": "KEYCLOAK_MCP_TOOLSETS",
      "isSecret": false,
      "isRequired": false,
      "description": "Comma-separated enabled toolsets (core, groups, roles, clients, sessions, events, security) or all"
    },
    {
      "name": "KEYCLOAK_MCP_REQUIRE_CONFIRMATION",
      "isSecret": false,
      "isRequired": false,
      "description": "If true, destructive tools require confirm=true"
    },
    {
      "name": "KEYCLOAK_MCP_TIMEOUT_MS",
      "isSecret": false,
      "isRequired": false,
      "description": "HTTP timeout for Keycloak requests in milliseconds"
    },
    {
      "name": "KEYCLOAK_MCP_LOG_LEVEL",
      "isSecret": false,
      "isRequired": false,
      "description": "Log level written to stderr"
    }
  ],
  "category": "search-web",
  "subcategory": "apis",
  "company": "",
  "categoryAuto": true,
  "checks": [
    {
      "id": "source-linked",
      "label": "Source repository linked",
      "result": "pass",
      "detail": "https://github.com/ChristophEnglisch/keycloak-model-context-protocol"
    },
    {
      "id": "version-pinned",
      "label": "Version pinned",
      "result": "pass",
      "detail": "Every package has an explicit version"
    },
    {
      "id": "secrets-requested",
      "label": "Secrets requested",
      "result": "info",
      "detail": "Asks for 2 secrets: KEYCLOAK_CLIENT_SECRET, KEYCLOAK_PASSWORD"
    },
    {
      "id": "known-registry",
      "label": "Known package registry",
      "result": "pass",
      "detail": "All packages come from npm, PyPI, OCI, NuGet or MCPB"
    },
    {
      "id": "namespace",
      "label": "Namespace ownership",
      "result": "info",
      "detail": "Name verified via GitHub account ChristophEnglisch"
    },
    {
      "id": "meta-text",
      "label": "Registry text aimed at the AI",
      "result": "pass",
      "detail": "Description and settings contain no hidden characters or instructions to the AI"
    },
    {
      "id": "install-scripts",
      "label": "Install scripts",
      "result": "pass",
      "detail": "keycloak-model-context-protocol@1.1.0 runs nothing at install"
    },
    {
      "id": "code-flags",
      "label": "Code red flags",
      "result": "pass",
      "detail": "Read 31 files in keycloak-model-context-protocol@1.1.0: no obfuscation, encoded execution, credential reads or data-collection endpoints found"
    },
    {
      "id": "ai-text",
      "label": "Text aimed at the AI",
      "result": "pass",
      "detail": "No hidden characters or instructions to the AI in 31 files, including comments and the README"
    }
  ],
  "scannedAt": "2026-10-29",
  "level": "Scanned",
  "install": [
    {
      "label": "Claude Desktop (npm)",
      "kind": "claude_desktop_json",
      "text": "{\n  \"mcpServers\": {\n    \"keycloak-model-context-protocol\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"keycloak-model-context-protocol@1.1.0\"\n      ],\n      \"env\": {\n        \"KEYCLOAK_URL\": \"<your value>\"\n      }\n    }\n  }\n}"
    }
  ],
  "curated": true,
  "stars": 46,
  "archived": false,
  "pushedAt": "2026-10-26T20:50:03Z",
  "health": {
    "score": 70,
    "parts": {
      "popularity": 0.4834612581064529,
      "activity": 0.9170222824315899,
      "issues": null,
      "security": 1
    },
    "fail": 0,
    "warn": 0,
    "raw": {
      "stars": 46,
      "forks": 10,
      "downloads": 1160,
      "hn": {
        "n": 0,
        "pts": 0,
        "t": []
      },
      "issuesOpen": 3,
      "issuesClosed": 0,
      "prsMerged": 23,
      "commits90": 25,
      "release": "2026-10-26T20:30:14Z",
      "pushed": "2026-10-26T20:50:03Z",
      "growth": null,
      "growthDays": null,
      "archived": false
    },
    "at": "2026-10-31T07:42:38.200Z"
  }
}
