mcp-keycloak

erikhoward/mcp-keycloak
★ 0 stars Go AI/LLM Updated today
A Go-based Model Context Protocol (MCP) server for Keycloak, enabling LLMs to manage realms, users, and roles via the Admin REST API.
View on GitHub → 🔍 Audit Wallet Slippage →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "mcp-keycloak": {
      "command": "go",
      "args": [
        "run",
        "github.com/erikhoward/mcp-keycloak@latest"
      ]
    }
  }
}

README Excerpt

A [Model Context Protocol](https://modelcontextprotocol.io/) server that lets AI agents administer a [Keycloak](https://www.keycloak.org/) identity server: realms, clients, users, groups and realm roles. Built with the official [Go MCP SDK](https://github.com/modelcontextprotocol/go-sdk) over [gocloak](https://github.com/Nerzal/gocloak) and the Keycloak Admin REST

Tools (7)

KEYCLOAK_ADMIN_PASSWORDKEYCLOAK_ADMIN_REALMKEYCLOAK_ADMIN_USERNAMEKEYCLOAK_CA_CERT_FILEKEYCLOAK_TIMEOUTKEYCLOAK_URLrealm_list

Topics

claude-codecodexcursorgogolangkeycloakmcpmcp-serveropencode