Keycloak MCP Server

by christophenglisch

19 stars
1k downloads
Not rated
GitHub

About

Integrates with Keycloak Admin to provide streamlined user and realm management operations for identity and access control automation.

Details

Author
christophenglisch
GitHub stars
19
Downloads
1,017
Categories
Cloud Service, Other, Security, API, Productivity, Design, Developer Tools, Infrastructure, Project Management
Tags
#mobile

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

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Keycloak MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

To install Keycloak for Claude Desktop automatically via Smithery:

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

npx -y keycloak-model-context-protocol

npm install -g keycloak-model-context-protocol


If you want to develop or modify the server:

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

1. Create NPM account and get access token
2. Add NPM_TOKEN secret to GitHub repository
- Go to repository Settings > Secrets
- Add new secret named
NPM_TOKEN`
- Paste your NPM access token as the value

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

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

McpServers

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

Administer Keycloak users and realms using a Model Context Protocol server.

A Model Context Protocol server for Keycloak administration, providing tools to manage users and realms.

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

To install Keycloak for Claude Desktop automatically viaSmithery:

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

The server is available as an NPM package:

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

If you want to develop or modify the server:

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

Configure the server in your Claude Desktop configuration file:

{ "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" } } } }

Creates a new user in a specified realm.

- realm: The realm name
- username: Username for the new user
- email: Email address for the user
- firstName: User's first name
- lastName: User's last name

- realm: The realm name
- userId: The ID of the user to delete

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

This project is automatically published toNPMvia GitHub Actions when a new release is published on GitHub.
- Create NPM account and get access token
- Add NPM_TOKEN secret to GitHub repository

- Go to repository Settings > Secrets
- Add new secret namedNPM_TOKEN
- Paste your NPM access token as the value

- Node.js 18 or higher
- Running Keycloak instance

A read-only MCP server that allows LLMs to query live PingOne data. Requires a separate CData JDBC Driver for PingOne.

Interact with Descope's Management APIs to search and retrieve project information.

A RESTful API to programmatically interact with the Opal Security platform.

Enterprise-grade authentication with secure credential management, multi-protocol support, and real-time threat detection.

Hosted OAuth 2.1 + Dynamic Client Registration (RFC 7591) for MCP servers

An MCP server for Keycloak administration, offering over 30 tools to manage users, realms, clients, roles, and more from AI assistants.

An OAuth 2.1 proxy for MCP servers that enables single sign-on with Google, domain validation, and per-user tokens.

A sample MCP server that uses Asgardeo for client authentication and connection.

ZeroID Agent Identity is a paid hosted remote MCP for ZeroID. It exposes Streamable HTTP tool calls, bearer-token access, public server-card metadata, usage logs, and receipt-oriented JSON f

Zero-setup MCP gateway securely connecting AI to your tools with authentication and workflows

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.