mcpbeat Sign in

MCP Keycloak MCP Server

local only

MCP Keycloak runs on your own machine — the client starts it, so there is no endpoint to ping. 327 installs a week from npm. Last commit 30 Nov 2026.

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

Installs per day peak 188 · avg 18 · +395% w/w
a month agotoday
327
Installs / week
npm · @dockndevai/mcp-keycloak
1
Stars
2 open issues
30 Nov 2026
Last commit
7 releases in 90 days
MIT
License
TypeScript

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 mcp-keycloak -e 'KEYCLOAK_URL=<KEYCLOAK_URL>' -- npx -y @dockndevai/mcp-keycloak
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "mcp-keycloak": {
      "command": "npx",
      "args": [
        "-y",
        "@dockndevai/mcp-keycloak"
      ],
      "env": {
        "KEYCLOAK_URL": "<KEYCLOAK_URL>"
      }
    }
  }
}
~/.codex/config.toml
[mcp_servers.mcp-keycloak]
command = "npx"
args = ["-y", "@dockndevai/mcp-keycloak"]
env = { KEYCLOAK_URL = "<KEYCLOAK_URL>" }
.cursor/mcp.json
{
  "mcpServers": {
    "mcp-keycloak": {
      "command": "npx",
      "args": [
        "-y",
        "@dockndevai/mcp-keycloak"
      ],
      "env": {
        "KEYCLOAK_URL": "<KEYCLOAK_URL>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "mcp-keycloak": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@dockndevai/mcp-keycloak"
      ],
      "env": {
        "KEYCLOAK_URL": "<KEYCLOAK_URL>"
      }
    }
  }
}

Put your own value in place of <KEYCLOAK_URL> (Base URL of the Keycloak server (no trailing slash)). The author’s registry entry marks it as required.

Optional settings from the registry entry, left out of the block above: KEYCLOAK_CLIENT_ID (Client id used to authenticate (default admin-cli)), KEYCLOAK_CLIENT_SECRET (Service-account client secret (or use KEYCLOAK_USERNAME/PASSWORD)), KEYCLOAK_MODE (Access mode: read-only | read-write | admin).

Nothing serious here today

Today is the operative word: we check MCP Keycloak 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

Alternatives to MCP Keycloak

same job, measured the same way
SuperLocalMemory
by qualixar

Local-first memory for AI agents: recall with sources, answer checks, documents, mesh, governance.

3 580 installs/wk local only
Bernstein
by sipyourdrink-ltd

An open-source governance layer for AI agents. Byte-identical run receipts, CLI adapters, air-gap.

3 441 installs/wk local only
agent-config
by event4u-app

Governed skills, rules and commands for AI coding agents, served by a read-only MCP server.

2 182 installs/wk local only
KeyCloak MCP
by shigechika

MCP server for KeyCloak Admin REST API via Service Account

592 installs/wk local only
pgleash
by mufasil

Postgres proxy for AI agents: read-only by default, blocks DROP and unbounded DELETE, caps rows.

532 installs/wk local only
Identity AIops
by aiops-tools

Governed Keycloak + authentik identity ops: users, events, clients, MFA, RCA. 29 tools.

498 installs/wk local only
Keycloak Model Context Protocol
by christophenglisch

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

425 installs/wk local only
Agent Guardrail MCP Server
by jarvisonm4

Action-level governance for AI agents -- control what they DO, not what they SAY

197 installs/wk local only

MCP Keycloak — questions

Answers built from our own checks of this server.

Why is there no uptime for MCP Keycloak?
MCP Keycloak 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 @dockndevai/mcp-keycloak was installed 327 times last week.
How do I connect MCP Keycloak?
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 @dockndevai/mcp-keycloak straight from npm; nothing to host, nothing to sign up for.
How many people use MCP Keycloak?
The npm package @dockndevai/mcp-keycloak was installed 327 times in the last week. Week over week that is +395%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is MCP Keycloak open source?
Yes — it is published under the MIT licence, written in TypeScript, 1 stars on GitHub and 2 open issues. The source link is on this page, so you can read exactly what it does with your data before you connect it.