mcpbeat Sign in

Keycloak Model Context Protocol MCP Server

by christophenglisch Your server? Claim it
local only

Keycloak Model Context Protocol runs on your own machine — the client starts it, so there is no endpoint to ping. 301 installs a week from npm. Last commit 26 Oct 2026.

Manage Keycloak users, groups, roles and realms through the Keycloak Admin REST API.

Installs per day peak 55 · avg 7 · -11% w/w
a month agotoday
301
Installs / week
npm · keycloak-model-context-protocol
46
Stars
3 open issues
26 Oct 2026
Last commit
5 releases in 90 days
MIT
License
TypeScript

Nothing serious here today

Today is the operative word: we check Keycloak Model Context Protocol every 15 minutes and re-read its code on every release. Watch it and you find out the day that stops being true.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add keycloak-model-context-protocol -e 'KEYCLOAK_URL=<KEYCLOAK_URL>' -- npx -y keycloak-model-context-protocol
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "keycloak-model-context-protocol": {
      "command": "npx",
      "args": [
        "-y",
        "keycloak-model-context-protocol"
      ],
      "env": {
        "KEYCLOAK_URL": "<KEYCLOAK_URL>"
      }
    }
  }
}
~/.codex/config.toml
[mcp_servers.keycloak-model-context-protocol]
command = "npx"
args = ["-y", "keycloak-model-context-protocol"]
env = { KEYCLOAK_URL = "<KEYCLOAK_URL>" }
.cursor/mcp.json
{
  "mcpServers": {
    "keycloak-model-context-protocol": {
      "command": "npx",
      "args": [
        "-y",
        "keycloak-model-context-protocol"
      ],
      "env": {
        "KEYCLOAK_URL": "<KEYCLOAK_URL>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "keycloak-model-context-protocol": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "keycloak-model-context-protocol"
      ],
      "env": {
        "KEYCLOAK_URL": "<KEYCLOAK_URL>"
      }
    }
  }
}

Put your own value in place of <KEYCLOAK_URL> (Base URL of the Keycloak server, e.g. https://keycloak.example.com). The author’s registry entry marks it as required.

Optional settings from the registry entry, left out of the block above: KEYCLOAK_AUTH_REALM (Realm used to obtain the admin token), KEYCLOAK_CLIENT_ID (Client ID used for login (default admin-cli for the password grant, required for client_credentials)), KEYCLOAK_CLIENT_SECRET (Client secret for the client_credentials grant (recommended: a dedicated service account)), KEYCLOAK_USERNAME (Username for the password grant (alternative to client credentials)), KEYCLOAK_PASSWORD (Password for the password grant), KEYCLOAK_GRANT_TYPE (Grant type; auto-detected if unset (client_credentials when a secret is set, else password)), KEYCLOAK_MCP_READ_ONLY (If true, only read-only tools are registered), KEYCLOAK_MCP_REALMS (Comma-separated allowlist of target realms; empty means all realms), KEYCLOAK_MCP_ALLOW_MASTER_WRITE (If true, write tools may modify the master realm), KEYCLOAK_MCP_TOOLSETS (Comma-separated enabled toolsets (core, groups, roles, clients, sessions, events, security) or all), KEYCLOAK_MCP_REQUIRE_CONFIRMATION (If true, destructive tools require confirm=true), KEYCLOAK_MCP_TIMEOUT_MS (HTTP timeout for Keycloak requests in milliseconds), KEYCLOAK_MCP_LOG_LEVEL (Log level written to stderr).

Alternatives to Keycloak Model Context Protocol

same job, measured the same way
Keycloak Admin
by mrz1880

Administer Keycloak via its Admin REST API: users, roles, clients, groups, IdP, events.

109 installs/wk local only
Mailsend
by cloudcorprecords

Send and manage email, domains, audiences, and API keys through the Resend API.

254 installs/wk local only
MCP Keycloak
by dockndevai

Keycloak admin for AI agents — realms, users, clients, roles; safe-by-default governance.

189 installs/wk local only
Groupsio
by ke4qqq

MCP server for consuming and managing Groups.io data via the Groups.io REST API

41 installs/wk local only
Anthropic Billing
by mcp-dir

Anthropic organization usage and cost reporting through an admin API key connected by the user.

9 tools answering
OpenAI Billing
by mcp-dir

OpenAI organization usage and cost reporting through an admin API key connected by the user.

9 tools answering
Onelogin MCP
by onelogin

MCP server for OneLogin API - manage users, apps, roles, and authentication

4 004 installs/wk local only
GameServerApp
by gameserverapp-mcp

Manage game servers, configurations, players, and groups through the GameServerApp MCP server.

answering

Keycloak Model Context Protocol — questions

Answers built from our own checks of this server.

Why is there no uptime for Keycloak Model Context Protocol?
Keycloak Model Context Protocol runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package keycloak-model-context-protocol was installed 301 times last week.
How do I connect Keycloak Model Context Protocol?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls keycloak-model-context-protocol straight from npm; nothing to host, nothing to sign up for.
How many people use Keycloak Model Context Protocol?
The npm package keycloak-model-context-protocol was installed 301 times in the last week. Week over week that is -11%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Keycloak Model Context Protocol open source?
Yes — it is published under the MIT licence, written in TypeScript, 46 stars on GitHub and 3 open issues. The source link is on this page, so you can read exactly what it does with your data before you connect it.