MCP.so
Sign In

Keycloak MCP Server

@ChristophEnglisch

Basic information

Category

Other

Transports

stdio

Author

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.

Keycloak MCP Server 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"
      ]
    }
  }
}

Keycloak MCP Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

Fetch the live tool list by running this server in a temporary sandbox using the button above.

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

Frequently asked questions

1

What tools does Keycloak MCP Server provide?

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

2

How do I configure the server?

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

3

What are the prerequisites?

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

4

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.

5

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