{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.ChristophEnglisch/keycloak-model-context-protocol",
  "slug": "io.github.christophenglisch.keycloak-model-context-protocol",
  "title": "keycloak-model-context-protocol",
  "summary": "Manage Keycloak users, groups, roles and realms through the Keycloak Admin REST API.",
  "version": "1.1.0",
  "serverKey": "keycloak-model-context-protocol",
  "pageUrl": "http://23.23.102.237/tool/io.github.christophenglisch.keycloak-model-context-protocol",
  "installMdUrl": "http://23.23.102.237/tool/io.github.christophenglisch.keycloak-model-context-protocol/install.md",
  "trust": {
    "score": 83,
    "grade": "B",
    "smokeStatus": "needs_credentials",
    "status": "active",
    "verifiedAt": "2026-12-01T08:27:43.713564069Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "keycloak-model-context-protocol@1.1.0"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add keycloak-model-context-protocol -e 'KEYCLOAK_URL=<KEYCLOAK_URL>' -- npx -y keycloak-model-context-protocol@1.1.0"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"keycloak-model-context-protocol\": {\n      \"args\": [\n        \"-y\",\n        \"keycloak-model-context-protocol@1.1.0\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"KEYCLOAK_URL\": \"<KEYCLOAK_URL>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"keycloak-model-context-protocol\": {\n      \"args\": [\n        \"-y\",\n        \"keycloak-model-context-protocol@1.1.0\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"KEYCLOAK_URL\": \"<KEYCLOAK_URL>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"KEYCLOAK_URL\",\n      \"id\": \"keycloak-url\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"keycloak-model-context-protocol\": {\n      \"args\": [\n        \"-y\",\n        \"keycloak-model-context-protocol@1.1.0\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"KEYCLOAK_URL\": \"${input:keycloak-url}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.keycloak-model-context-protocol]\ncommand = \"npx\"\nargs = [\"-y\", \"keycloak-model-context-protocol@1.1.0\"]\nenv = { \"KEYCLOAK_URL\" = \"<KEYCLOAK_URL>\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "KEYCLOAK_URL",
      "required": true,
      "secret": false,
      "description": "Base URL of the Keycloak server, e.g. https://keycloak.example.com",
      "help": "Base URL of the Keycloak server, e.g. https://keycloak.example.com",
      "placeholder": "<KEYCLOAK_URL>"
    },
    {
      "name": "KEYCLOAK_AUTH_REALM",
      "required": false,
      "secret": false,
      "description": "Realm used to obtain the admin token",
      "help": "Realm used to obtain the admin token",
      "default": "master",
      "placeholder": "master"
    },
    {
      "name": "KEYCLOAK_CLIENT_ID",
      "required": false,
      "secret": false,
      "description": "Client ID used for login (default admin-cli for the password grant, required for client_credentials)",
      "help": "Client ID used for login (default admin-cli for the password grant, required for client_credentials)",
      "placeholder": "<KEYCLOAK_CLIENT_ID>"
    },
    {
      "name": "KEYCLOAK_CLIENT_SECRET",
      "required": false,
      "secret": true,
      "description": "Client secret for the client_credentials grant (recommended: a dedicated service account)",
      "help": "Client secret for the client_credentials grant (recommended: a dedicated service account)",
      "placeholder": "<KEYCLOAK_CLIENT_SECRET>"
    },
    {
      "name": "KEYCLOAK_USERNAME",
      "required": false,
      "secret": false,
      "description": "Username for the password grant (alternative to client credentials)",
      "help": "Username for the password grant (alternative to client credentials)",
      "placeholder": "<KEYCLOAK_USERNAME>"
    },
    {
      "name": "KEYCLOAK_PASSWORD",
      "required": false,
      "secret": true,
      "description": "Password for the password grant",
      "help": "Password for the password grant",
      "placeholder": "<KEYCLOAK_PASSWORD>"
    },
    {
      "name": "KEYCLOAK_GRANT_TYPE",
      "required": false,
      "secret": false,
      "description": "Grant type; auto-detected if unset (client_credentials when a secret is set, else password)",
      "help": "Grant type; auto-detected if unset (client_credentials when a secret is set, else password)",
      "placeholder": "<KEYCLOAK_GRANT_TYPE>"
    },
    {
      "name": "KEYCLOAK_MCP_READ_ONLY",
      "required": false,
      "secret": false,
      "description": "If true, only read-only tools are registered",
      "help": "If true, only read-only tools are registered",
      "default": "false",
      "placeholder": "false"
    },
    {
      "name": "KEYCLOAK_MCP_REALMS",
      "required": false,
      "secret": false,
      "description": "Comma-separated allowlist of target realms; empty means all realms",
      "help": "Comma-separated allowlist of target realms; empty means all realms",
      "placeholder": "<KEYCLOAK_MCP_REALMS>"
    },
    {
      "name": "KEYCLOAK_MCP_ALLOW_MASTER_WRITE",
      "required": false,
      "secret": false,
      "description": "If true, write tools may modify the master realm",
      "help": "If true, write tools may modify the master realm",
      "default": "false",
      "placeholder": "false"
    },
    {
      "name": "KEYCLOAK_MCP_TOOLSETS",
      "required": false,
      "secret": false,
      "description": "Comma-separated enabled toolsets (core, groups, roles, clients, sessions, events, security) or all",
      "help": "Comma-separated enabled toolsets (core, groups, roles, clients, sessions, events, security) or all",
      "default": "core,groups,roles",
      "placeholder": "core,groups,roles"
    },
    {
      "name": "KEYCLOAK_MCP_REQUIRE_CONFIRMATION",
      "required": false,
      "secret": false,
      "description": "If true, destructive tools require confirm=true",
      "help": "If true, destructive tools require confirm=true",
      "default": "true",
      "placeholder": "true"
    },
    {
      "name": "KEYCLOAK_MCP_TIMEOUT_MS",
      "required": false,
      "secret": false,
      "description": "HTTP timeout for Keycloak requests in milliseconds",
      "help": "HTTP timeout for Keycloak requests in milliseconds",
      "default": "30000",
      "placeholder": "30000"
    },
    {
      "name": "KEYCLOAK_MCP_LOG_LEVEL",
      "required": false,
      "secret": false,
      "description": "Log level written to stderr",
      "help": "Log level written to stderr",
      "default": "info",
      "placeholder": "info"
    }
  ],
  "agentSteps": [
    "Ask the user for: KEYCLOAK_URL. Never invent or guess these values; secrets go into the client config, not into chat logs.",
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T08:27:43.713564069Z"
}
