Keycloak MCP 服务器
Keycloak 管理的模型上下文协议服务器,提供管理用户和领域的工具。
特征
在特定领域中创建新用户
从领域中删除用户
列出可用领域
列出特定领域的用户
安装
通过 Smithery 安装
要通过Smithery自动为 Claude Desktop 安装 Keycloak:
通过 NPM(推荐)
该服务器可作为 NPM 包使用:
本地开发设置
如果您想开发或修改服务器:
配置
使用 NPM 包(推荐)
在您的 Claude Desktop 配置文件中配置服务器:
为了地方发展
可用工具
创建用户
在指定领域中创建新用户。
输入:
realm
:领域名称username
:新用户的用户名email
:用户的电子邮件地址firstName
:用户的名字lastName
:用户的姓氏
删除用户
从指定领域中删除用户。
输入:
realm
:领域名称userId
:要删除的用户的 ID
列表领域
列出所有可用的领域。
列表用户
列出指定领域内的所有用户。
输入:
realm
:领域名称
发展
测试
要使用 MCP Inspector 测试服务器:
部署
NPM 包
当 GitHub 上发布新版本时,该项目将通过 GitHub Actions 自动发布到NPM 。
部署设置要求
创建 NPM 帐户并获取访问令牌
将 NPM_TOKEN 密钥添加到 GitHub 存储库
转到存储库设置> Secrets
添加名为
NPM_TOKEN
的新机密粘贴您的 NPM 访问令牌作为值
先决条件
Node.js 18 或更高版本
运行 Keycloak 实例
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
模型上下文协议服务器提供管理 Keycloak 用户和领域的工具,允许您创建和删除用户、列出可用领域以及查看特定领域中的用户。
Related Resources
Related MCP Servers
- AsecurityFlicenseAqualityA Model Context Protocol server implementation that provides endpoints for wallet-based authentication, cluster management, and name registration services.Last updated -1
- AsecurityAlicenseAqualityA Model Context Protocol server that allows LLMs to interact with blockchain through MetaMask, keeping private keys securely in your crypto wallet while enabling transactions and blockchain operations.Last updated -2807MIT License
- AsecurityAlicenseAqualityA Model Context Protocol server that enables management of Keycloak users and realms through a standardized interface, providing tools for user creation, deletion, role assignment, and group management.Last updated -9322MIT License
- -securityFlicense-qualityA Model Context Protocol server that integrates with Slack API, allowing users to send messages, view channel history, manage channels, send direct messages, and retrieve user lists from Slack workspaces.Last updated -1