技能潮 SkillTide 提交收录
官方说明7 个来源MCP 服务8 天前
mrz1880/mcp-keycloak-admin

mrz1880/mcp-keycloak-admin

Administer Keycloak
在 GitHub 查看 ↗直链 · 无中转页
配置模板(请按你的客户端调整)
claude mcp add mcp-keycloak-admin -- npx -y mcp-keycloak-admin
这是根据仓库名生成的可粘贴骨架,命令行参数与包名请以该项目 README 为准。
★ 数取值
2 ★ · mrz1880/mcp-keycloak-admin · 取自 GitHub 搜索 API · (2026-10-16 20:00:20 核对)
来源明细
收录自 punkpeye/awesome-mcp-servers 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-10-09 · 最近见到 2026-10-16 · 共见到 32 次 · 被 7 个来源列出
评分构成
综合分 703 · 2 ★ · 7 个来源 · mcp
常见问题(答案都来自我们的记录)
怎么安装?
我们【没有】从该仓库取到安装命令(我们的 install 覆盖率只有约 4%)。请看它的 README 或 releases 页。
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 mrz1880/mcp-keycloak-admin;我们收录于 2026-10-09;最近见到 2026-10-16。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
第三方质量标记

mcp-keycloak-admin

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

A Model Context Protocol (MCP) server to
administer a Keycloak instance through its Admin
REST API. Safe by default, configurable, and built with a clean, test-driven
architecture.
Compatible with **Keycloak 26.x** (validated against 26.0.5).
Install
No install needed — run it straight from npm with npx:
The server speaks MCP over stdio, so you normally wire it into an MCP client
rather than running it by hand — see Usage with an MCP client.
New to it? The Quickstart spins up a local Keycloak and a
client config in a couple of minutes.
Why
Administering Keycloak from an MCP client (an assistant, an IDE, a custom agent)
means exposing day-to-day operations — searching users, managing roles, reading
events — as MCP tools, without handing over a raw admin console. This server
does that with strong guardrails so destructive actions never happen silently.
Features
- **Two authentication modes**, selectable by configuration:
- service_account — a confidential client with a service account
(recommended; no admin password stored).
- password — the admin-cli client with an admin username/password.
- **Safe by default:**
- READ_ONLY mode hides every write/destructive tool.
- ALLOWED_REALMS restricts which realms the server may operate on.
- Destructive operations require explicit confirmation (native MCP
elicitation, with a confirm: true parameter fallback for clients that do
not support elicitation).
- **Clean Architecture**: a framework-free domain, application use cases, and
infrastructure adapters. No business concept travels as a raw string or
number — every one is a validated value object.
Requirements
- Node.js >= 20
- A reachable Keycloak 26.x server
Usage with an MCP client
Add the server to your MCP client configuration:
See docs/setup-keycloak.md to create the mcp-admin
client and grant it the least-privilege roles it needs.
Multiple Keycloak instances
Each server entry targets **one** Keycloak (one base URL + realm + auth). To
manage several environments, add **one entry per instance** — each fully
isolated, with its own credentials and guardrails:
The client namespaces the tools per server (e.g. kc-prod:keycloak_user_delete),
so there's no risk of running an operation against the wrong environment. This
is the recommended pattern: you can, for example, keep production READ_ONLY
while preprod stays writable.
Configuration
| Variable | Required | Description |
| ------------------- | --------------------- | -------------------------------------------------------- |
| KEYCLOAK_BASE_URL | yes | Base URL of the Keycloak server (no trailing slash). |
| KEYCLOAK_REALM | yes | Realm the server operates on. |
| AUTH_MODE | yes | service_account or password. |
| KC_CLIENT_ID | if service_account | Confidential client id (e.g. mcp-admin). |
| KC_CLIENT_SECRET | if service_account | Client secret. |
| KC_ADMIN_USERNAME | if password | Admin username. |
| KC_ADMIN_PASSWORD | if password | Admin password. |
| KC_ADMIN_REALM | no (default master) | Realm holding the admin user (password mode). |
| READ_ONLY | no (default false) | When true, write/destructive tools are not registered. |
| ALLOWED_REALMS | no | Comma-separated allow-list of realms. Empty = all. |
A full example lives in .env.example.
Tools
Levels: **[R]** read-only · **[W]** write · **[D]** destructive (requires
confirmation). Every tool carries the matching MCP annotations
(readOnlyHint / destructiveHint / idempotentHint).
Currently implemented:
> **Note:** this table tracks the main branch, which can run ahead of the
> latest npm release shown by the version badge above. To confirm what's
来源
awesome · https://github.com/mrz1880/mcp-keycloak-admin
按领域浏览
MCP 服务
Traction
2 ★
收录于
昨天

更多MCP 服务

查看MCP 服务全部 5,525 条 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引