Keycloak MCP Server

Keycloak MCP Server

A Model Context Protocol (MCP) server that provides programmatic access to Keycloak administration functionality.

17
Stars
3
Forks
5
Releases

Overview

The Keycloak MCP Server is a Model Context Protocol server that enables AI assistants and development tools to interact with Keycloak through the MCP. It exposes a comprehensive set of Keycloak administration operations including user management, realm configuration, client administration, and authentication flow management. Users authenticate with their own Keycloak-issued JWT tokens and communicate via SSE transport for HTTP-based interactions. The server is designed for production-ready deployments on OpenShift and Kubernetes, supports multi-architecture container images, and can build GraalVM native images for efficient deployment. Documentation covers getting started, authentication, OpenShift deployment, developer guides, and a full index. The project relies on Quarkus, the official Keycloak Admin Client, and the MCP Protocol to enable AI systems to perform administration tasks across users, realms, clients, roles, groups, and identity providers within Keycloak.

Details

Owner
sshaaf
Language
Java
License
Updated
2025-12-07

Features

User JWT Token Authentication

Users authenticate with their own JWT tokens from Keycloak to access the MCP server.

Comprehensive Keycloak Operations

Supports user management, realm configuration, client administration, roles, groups, identity providers, and authentication flow management via MCP.

SSE Transport

Provides Server-Sent Events (SSE) transport for HTTP-based communication with clients.

OpenShift/Kubernetes Deployment

Production-ready deployment support for OpenShift and Kubernetes environments.

Multi-Architecture Container Images

Supports multi-architecture container images for broad deployment compatibility.

GraalVM Native Image Support

Can compile to GraalVM native images for efficient standalone execution.

Audience

AI developersBuild AI assistants and integration tools that manage Keycloak through MCP.
DevOps / Platform engineersAutomate Keycloak administration in deployments using MCP for users, realms, and configurations.
Software developers integrating KeycloakIntegrate MCP-based admin operations into applications and services.

Tags

KeycloakMCPModel Context ProtocolAI integrationUser managementRealm managementClient administrationAuthenticationSSEOpenShiftKubernetesGraalVMQuarkusContainer images