KeyCloak MCP

● Active

io.github.shigechika/keycloak-mcp

MCP server for KeyCloak Admin REST API via Service Account

Connect this server

One click to install, or copy the config below. Suits: Claude Desktop · Cursor.

Add to Cursor Add to VS CodeClaude Desktop / Claude Code: paste the config below.

Or add it manually — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor):

{
  "mcpServers": {
    "keycloak-mcp": {
      "command": "uvx",
      "args": [
        "keycloak-mcp"
      ]
    }
  }
}
One line, from the terminal
Claude Code
claude mcp add keycloak-mcp -- uvx keycloak-mcp
OpenAI Codex CLI
codex mcp add keycloak-mcp -- uvx keycloak-mcp
VS Code
code --add-mcp '{"name":"keycloak-mcp","type":"stdio","command":"uvx","args":["keycloak-mcp"]}'

Syntax from each client's docs (Claude Code: claude mcp add; Codex: codex mcp add; VS Code: code --add-mcp). Placeholders in angle brackets are values you fill in.

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Security & Identity
Version
1.6.0
Registry
active
Published
11/14/2026
Listed in:Official MCP registry ↗how this is checked

Is it safe? Is it maintained?

Serverdex check: Nov 17, 2026

Looks healthy: KeyCloak MCP is maintained, open source.

Maintained
Active
Last commit 8 days ago (Nov 14, 2026), 8 open issues.
Official registry
Active
Published as io.github.shigechika/keycloak-mcp in the official MCP registry, version 1.6.0.
Source
Open source, MIT
Public repository under the MIT licence, 0 stars, 0 forks.
Runs
On your machine
A local PyPI package started by your client; it can reach whatever your user account can.
Credentials
None declared
The registry entry declares no required environment variables.
Owner
Unclaimed
Nobody has claimed this page yet; the data above comes from the registry, GitHub and the live check.

Facts only: last commit and licence from GitHub, the entry's status from the official registry, credentials from the live check. Not a code audit — run the security scan on the endpoint yourself.

On GitHub

read Nov 17, 2026
Stars
0
Forks
0
Last push
Nov 14, 2026
License
MIT

Pythonkeycloakmcp-serverrestapi

From the README

keycloak-mcp English | 日本語 An MCP (Model Context Protocol) server for the KeyCloak Admin REST API. Documentation: Authenticates via a Service Account (Client Credentials Grant), so no human password or TOTP is involved. Also Infinispan-safe — it never creates user sessions and never hits the userinfo endpoint. Features Users MFA / Credentials Groups Security KeyCloak client setup 1. Create a new client in the KeyCloak admin console. 2. Turn on Client authentication and Service account roles. 3. Give it view-users, view-events, view-clients, and — only if you need password reset — manage-users. Write operations Four tools change state by default. Everything else only reads. With group changes enabled (below), applygroupchanges is a fifth. All four need manage-users on the Service Account. Leave that role off and the server is read-only: those four tools fail with 403 and every other tool keeps working, so a realm can be handed to an AI assistant for investigation without granting any ability to modify it. Grant manage-users only when account recovery or containment is part of the job. Group changes (opt-in) plangroupchanges and applygroupchanges move users between groups (for example staff transfers).…

Read the full README on GitHub →

The most-starred Security & Identity servers in the index, with their live-check result.

ServerStarsLast pushLive check
Handsy AI5,215Nov 2026Local / not checked
HOL Guard1,118Nov 2026Local / not checked
SonarQube MCP Server689Nov 2026Local / not checked
MCP Ssh Manager545Nov 2026Local / not checked
Security Detections529Nov 2026Local / not checked

KeyCloak MCP: questions people ask

Is KeyCloak MCP a remote or a local MCP server?
According to its entry in the official MCP registry, KeyCloak MCP ships as a local package (PyPI) that your client starts on your machine.
Is KeyCloak MCP safe to use?
Looks healthy: KeyCloak MCP is maintained, open source. In detail — maintained: Active; official registry: Active; source: Open source, MIT; runs: On your machine; credentials: None declared. Serverdex check of Nov 17, 2026. This is a reading of the repository, the registry entry and the live check, not a code audit; run the Serverdex security scan on the endpoint before trusting it with real data.
Is KeyCloak MCP still maintained?
Active: the repository's last commit 8 days ago. Last push Nov 14, 2026, 0 GitHub stars, MIT licence. Read from GitHub on Nov 17, 2026.
How do I add KeyCloak MCP to Claude, Cursor or VS Code?
Copy the config in "Connect this server" into your client's MCP config file (claude_desktop_config.json, ~/.cursor/mcp.json or .vscode/mcp.json), or use the one-click Add to Cursor / Add to VS Code buttons and the one-line commands for Claude Code and Codex; then restart the client.
  1. MCP StdioStdio-to-HTTP gateway — connects MCP clients to remote HTTP MCP servers★ 9
  2. J-Quants MCPMCP server for retrieving Japanese stock market data via J-Quants API v2★ 3
  3. Junos MCPMCP server for Juniper Networks device operations via junos-ops★ 1
  4. MCP fork of Google Workspace CLIMCP fork of Google Workspace CLI (Gmail, Drive, Calendar, and more)★ 1
Browse all Security & Identity →

Add the badge to your site

Show visitors that KeyCloak MCP is listed here — it’s also the link we check for a free listing.

KeyCloak MCP — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-shigechika-keycloak-mcp?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="KeyCloak MCP — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![KeyCloak MCP — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-shigechika-keycloak-mcp?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.

Add to CursorAdd to VS CodeOpen in Claude Code

Install buttons — for your README

[![Add to Cursor](https://serverdex.io/brand/install-cursor.svg)](https://serverdex.io/install/cursor/io-github-shigechika-keycloak-mcp) [![Add to VS Code](https://serverdex.io/brand/install-vscode.svg)](https://serverdex.io/install/vscode/io-github-shigechika-keycloak-mcp) [![Open in Claude Code](https://serverdex.io/brand/install-claude-code.svg)](https://serverdex.io/install/claude-code/io-github-shigechika-keycloak-mcp)

One click opens Cursor or VS Code with this server's config prefilled; the Claude Code button lands on the one-line command. The links point at Serverdex, so when your config changes the buttons keep working.

Install buttons — HTML for your docs

<a href="https://serverdex.io/install/cursor/io-github-shigechika-keycloak-mcp"><img src="https://serverdex.io/brand/install-cursor.svg" alt="Add to Cursor — via Serverdex" width="140" height="28"></a>
<a href="https://serverdex.io/install/vscode/io-github-shigechika-keycloak-mcp"><img src="https://serverdex.io/brand/install-vscode.svg" alt="Add to VS Code — via Serverdex" width="147" height="28"></a>
<a href="https://serverdex.io/install/claude-code/io-github-shigechika-keycloak-mcp"><img src="https://serverdex.io/brand/install-claude-code.svg" alt="Open in Claude Code — via Serverdex" width="180" height="28"></a>

Same buttons as plain links for a docs page or website.

Prefer a live badge with the score, stars and live check? Score badge (links to a page that explains the number and back to this listing).