SSyncDev

Keycloak MCP Server

Model Context Protocol server for Keycloak administration

Local serverstdio

What is the Keycloak MCP Server?

Keycloak MCP lets Claude, Cursor and other MCP clients work with Keycloak MCP directly. Model Context Protocol server for Keycloak administration.

What Keycloak MCP does

A powerful Model Context Protocol server for Keycloak administration, providing a comprehensive set of tools to manage users, realms, roles, and other Keycloak resources through LLM interfaces.

Key capabilities

  • User Management — Create, delete, and list users across realms
  • Realm Administration — Comprehensive realm management capabilities
  • Secure Integration — Authentication with admin credentials
  • Easy Configuration — Simple setup with environment variables
  • LLM Integration — Seamless use with Claude, ChatGPT, and other MCP-compatible AI assistants

Requirements

  • Node.js 18 or higher - Running Keycloak instance

Practical notes

  • Maintained by Octodet.

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.

How to install the Keycloak MCP Server

claude mcp add keycloak --env KEYCLOAK_URL=your-value --env KEYCLOAK_ADMIN=your-value --env KEYCLOAK_ADMIN_PASSWORD=your-value -- npx -y npx

Configuration

  • Node.js 18 or higher - 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

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