Keycloak MCP Server

Integrations

  • Provides tools for Keycloak administration, allowing management of users and realms including creating and deleting users, listing available realms, and viewing users within specific realms.

Keycloak MCP サーバー

Keycloak 管理用のモデル コンテキスト プロトコル サーバー。ユーザーとレルムを管理するためのツールを提供します。

特徴

  • 特定のレルムに新しいユーザーを作成する
  • レルムからユーザーを削除する
  • 利用可能なレルムの一覧
  • 特定のレルム内のユーザーを一覧表示する

インストール

Smithery経由でインストール

Smithery経由で Claude Desktop 用の Keycloak を自動的にインストールするには:

npx -y @smithery/cli install keycloak-model-context-protocol --client claude

NPM経由(推奨)

サーバーは NPM パッケージとして利用可能です:

# Direct usage with npx npx -y keycloak-model-context-protocol # Or global installation npm install -g keycloak-model-context-protocol

ローカル開発のセットアップ

サーバーを開発または変更する場合:

git clone <repository-url> cd keycloak-model-context-protocol npm install npm run build

構成

NPM パッケージの使用 (推奨)

Claude Desktop 構成ファイルでサーバーを構成します。

{ "mcpServers": { "keycloak": { "command": "npx", "args": ["-y", "keycloak-model-context-protocol"], "env": { "KEYCLOAK_URL": "http://localhost:8080", "KEYCLOAK_ADMIN": "admin", "KEYCLOAK_ADMIN_PASSWORD": "admin" } } } }

地域開発のために

{ "mcpServers": { "keycloak": { "command": "node", "args": ["path/to/dist/index.js"], "env": { "KEYCLOAK_URL": "http://localhost:8080", "KEYCLOAK_ADMIN": "admin", "KEYCLOAK_ADMIN_PASSWORD": "admin" } } } }

利用可能なツール

ユーザー作成

指定された領域に新しいユーザーを作成します。

入力:

  • realm : レルム名
  • username : 新しいユーザーのユーザー名
  • email : ユーザーのメールアドレス
  • firstName : ユーザーの名
  • lastName : ユーザーの姓

ユーザー削除

指定された領域からユーザーを削除します。

入力:

  • realm : レルム名
  • userId : 削除するユーザーのID

リストレルム

利用可能なすべてのレルムを一覧表示します。

リストユーザー

指定された領域内のすべてのユーザーを一覧表示します。

入力:

  • realm : レルム名

発達

npm run watch

テスト

MCP Inspector を使用してサーバーをテストするには:

npx -y @modelcontextprotocol/inspector npx -y keycloak-model-context-protocol

展開

NPMパッケージ

このプロジェクトは、GitHub で新しいリリースが公開されると、GitHub Actions を介してNPMに自動的に公開されます。

展開のセットアップ要件
  1. NPMアカウントを作成し、アクセストークンを取得する
  2. GitHubリポジトリにNPM_TOKENシークレットを追加する
    • リポジトリの設定 > シークレットに移動します
    • NPM_TOKENという名前の新しいシークレットを追加します
    • NPMアクセストークンを値として貼り付けます

前提条件

  • Node.js 18以上
  • Keycloakインスタンスの実行

You must be authenticated.

A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

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 ユーザーとレルムを管理するためのツールを提供するモデル コンテキスト プロトコル サーバー。ユーザーの作成と削除、使用可能なレルムの一覧表示、特定のレルム内のユーザーの表示が可能です。

  1. 特徴
    1. インストール
      1. Smithery経由でインストール
      2. NPM経由(推奨)
      3. ローカル開発のセットアップ
    2. 構成
      1. NPM パッケージの使用 (推奨)
      2. 地域開発のために
    3. 利用可能なツール
      1. ユーザー作成
      2. ユーザー削除
      3. リストレルム
      4. リストユーザー
    4. 発達
      1. テスト
        1. 展開
          1. NPMパッケージ
        2. 前提条件

          Related MCP Servers

          • -
            security
            A
            license
            -
            quality
            A Model Context Protocol server that provides a standardized interface for interacting with Notion's API, enabling users to list databases, create pages, and search across their Notion workspace.
            Last updated -
            95
            Python
            MIT License
            • Apple
          • -
            security
            A
            license
            -
            quality
            A Model Context Protocol server that enables Claude to interact with the ConnectWise Manage API to perform operations like retrieving, creating, updating, and deleting tickets, companies, contacts, and other entities.
            Last updated -
            JavaScript
            MIT License
            • Apple
          • -
            security
            F
            license
            -
            quality
            A Model Context Protocol server that provides a comprehensive interface for interacting with the ConnectWise Manage API, simplifying API discovery, execution, and management for both developers and AI assistants.
            Last updated -
            46
            2
            Python
            • Linux
            • Apple
          • -
            security
            F
            license
            -
            quality
            A Model Context Protocol server that enables interactions with the Hedera network, providing tools for wallet creation, balance checking, transaction building, and sending signed transactions.
            Last updated -
            JavaScript

          View all related MCP servers

          Appeared in Searches

          ID: ifddqujn9k