MCP.so
Sign In

Keycloak MCP Server

@ChristophEnglisch

About Keycloak MCP Server

MCP server implementation for Keycloak user management. Enables AI-powered administration of Keycloak users and realms through the Model Context Protocol (MCP). Seamlessly integrates with Claude Desktop and other MCP clients for automated user operations.

Basic information

Category

Other

Transports

stdio

Publisher

ChristophEnglisch

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "keycloak-model-context-protocol": {
      "command": "npx",
      "args": [
        "-y",
        "@smithery/cli",
        "install",
        "keycloak-model-context-protocol",
        "--client",
        "claude"
      ]
    }
  }
}

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is Keycloak MCP Server?

It is a Model Context Protocol server for Keycloak administration, providing tools to manage users and realms. It is intended for developers and administrators who want to integrate Keycloak management into MCP-compatible applications like Claude Desktop.

How to use Keycloak MCP Server?

Install via Smithery or NPM, then configure the server in your MCP client’s configuration file with the environment variables KEYCLOAK_URL, KEYCLOAK_ADMIN, and KEYCLOAK_ADMIN_PASSWORD. Use the provided tools (create-user, delete-user, list-realms, list-users) to interact with a running Keycloak instance.

Key features of Keycloak MCP Server

  • Create new users in specific realms
  • Delete users from realms
  • List available realms
  • List users in specific realms

Use cases of Keycloak MCP Server

  • Automate user provisioning in Keycloak realms
  • Manage user lifecycle via AI assistants
  • Query realm and user information for administration
  • Integrate Keycloak management into MCP-enabled tools

FAQ from Keycloak MCP Server

What tools does Keycloak MCP Server provide?

It provides create-user, delete-user, list-realms, and list-users tools for Keycloak administration.

How do I configure the server?

Set the environment variables KEYCLOAK_URL, KEYCLOAK_ADMIN, and KEYCLOAK_ADMIN_PASSWORD in your MCP client configuration.

What are the prerequisites?

Node.js 18 or higher and a running Keycloak instance are required.

How can I install it?

Install via Smithery with npx @smithery/cli install keycloak-model-context-protocol --client claude or use npx -y keycloak-model-context-protocol directly.

Does it support local development?

Yes, clone the repository, run npm install and npm run build, then configure the local path in your MCP client configuration.

Comments

More Other MCP servers