Keycloak MCP Server

MCP server for Keycloak

Local serverstdioTypeScript

What is the Keycloak MCP Server?

MCP server for Keycloak

What it actually does

A Model Context Protocol (MCP) server implementation for Keycloak, providing a standardized interface for managing Keycloak users and realms.

This project implements an MCP server that integrates with Keycloak, allowing you to manage Keycloak users and realms through a standardized protocol. It uses the official Keycloak Admin Client to interact with Keycloak's API.

Configuration

  • Node.js (Latest LTS version recommended) - npm - A running Keycloak instance

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Configuration

  • Node.js (Latest LTS version recommended) - npm - A running Keycloak instance
VariableDescriptionRequired
KEYCLOAK_URLCredential the server authenticates with.Yes
KEYCLOAK_ADMINCredential the server authenticates with.Yes
KEYCLOAK_ADMIN_PASSWORDCredential the server authenticates with.Yes

Frequently asked questions

MCP server for Keycloak Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.