Servidor MCP para Keycloak

Su Keycloak Gestionado, dentro de la conversación.

El servidor MCP de Skycloak da a cualquier cliente MCP, Claude, ChatGPT, Gemini, Grok o su editor, acceso a toda su plataforma: clústeres, realms, aplicaciones, SSO, dominios personalizados, WAF, webhooks, SIEM y marca. Un comando, inicio de sesión en el navegador, nada que instalar.

terminal bash
$ claude mcp add --transport http skycloak https://mcp.skycloak.io

Eso es Claude Code. En cualquier otro lugar pega la misma URL: un conector personalizado en Claude, ChatGPT, Gemini o Grok, una entrada JSON en Cursor o VS Code. Sin clave de API que crear, pegar en un archivo de configuración u olvidar rotar.

Todo lo que la API puede hacer

No solo el realm. La plataforma que lo rodea.

Si apunta un agente a la API de administración de Keycloak, puede editar realms. No puede aprovisionar un clúster, verificar un dominio personalizado, cambiar una regla de WAF ni enviar eventos a su SIEM. Esas superficies son la plataforma gestionada, y es justo ahí donde un asistente ahorra más tiempo.

Clusters

Provision, resize, upgrade and inspect the managed Keycloak clusters themselves.

list_clusters get_cluster create_cluster update_cluster list_cluster_upgrades get_cluster_upgrade_path get_cluster_insights

Edge security & WAF

Read and change the protection in front of the cluster, not just the settings inside it.

get_cluster_security update_cluster_security

Custom domains

Add a domain, get back the DNS records to create, then trigger verification and manage routes.

list_domains create_domain verify_domain list_domain_routes create_domain_route

Webhooks

Subscribe to platform events, inspect what is subscribed, and fire a test delivery.

list_webhook_subscriptions list_webhook_event_types create_webhook_subscription test_webhook_subscription

SIEM destinations

Wire cluster events into Splunk, Datadog, Sentinel or a webhook sink, and test the pipe.

list_siem_destinations create_siem_destination update_siem_destination test_siem_destination

Events, logs & exports

Query authentication and admin events, read logs, and export realms or event history.

query_events get_logs create_export export_cluster_events create_realm_export

Realms, users & roles

The Keycloak layer: realms, users, roles, groups and membership.

list_realms create_realm list_realm_users create_realm_user assign_realm_user_role add_realm_user_to_group

Applications & SSO

OIDC and SAML clients, their roles and sessions, plus the identity providers behind sign-in.

list_applications create_application rotate_application_secret list_identity_providers create_identity_provider discover_oidc

Branding & themes

Login and email branding, theme upload and per-client theme assignment.

list_themes set_theme_assignment upsert_login_branding upsert_email_branding

Extensions & SMTP

Install and upgrade Keycloak extensions, and configure or test outbound mail.

list_extensions install_extension upgrade_extension get_smtp upsert_smtp test_smtp
Cosas que realmente puede pedirle

Preguntas por las que un panel le obliga a hacer clic.

Ocho tareas que los equipos delegan cada día al servidor MCP, ejecutadas sobre una plataforma real. Elija una, o déjelo reproducirse solo.

skycloak-mcp ~ connected to mcp.skycloak.io example
Which realms across my clusters still have self-registration enabled?
skycloak_list_clusters 3 clusters
skycloak_list_realms 11 realms across 3 clusters
Checked 11 realms across 3 clusters. 2 still allow self-registration:
prod-eu / acme registrationAllowed: true
staging-eu / checkout registrationAllowed: true
The other 9 have it off. Want me to disable those two?
Conéctelo
$ claude mcp add --transport http skycloak https://mcp.skycloak.io

That is Claude Code. Everywhere else you paste the same URL: a custom connector in Claude, ChatGPT, Gemini or Grok, a JSON entry in Cursor or VS Code. No API key to create or rotate.

Bounded by your own access. Read questions run against your live platform. Anything that changes state is limited to your permissions, and deletions refuse to run without an explicit confirm=true.

Permisos

Su agente obtiene exactamente el acceso que usted tiene.

Lo preocupante de entregar su proveedor de identidad a un asistente no es que no haga nada útil, sino que haga algo muy útil en el realm equivocado. Por eso no hay un segundo sistema de permisos que analizar.

Un solo modelo de permisos

Las herramientas se registran según los scopes de la credencial con la que inició sesión. Si su cuenta no puede rotar un secreto de cliente, su asistente tampoco. Nada que configurar, nada que pueda desfasarse de su acceso real.

Las herramientas destructivas se niegan por defecto

Eliminar un realm, una aplicación o un proveedor de identidad requiere un confirm=true explícito. Sin él, la herramienta se niega e indica el motivo, de modo que una instrucción ambigua no pueda derivar en una eliminación.

OAuth estándar, sin secreto compartido

El inicio de sesión se realiza a través de su cuenta de Skycloak mediante OAuth. No hay ninguna clave de larga duración en un archivo de configuración en un portátil, y revocar el acceso es la misma acción que ya utiliza.

Preguntas frecuentes

El servidor MCP, con respuestas.

What is an MCP server for Keycloak?
An MCP server for Keycloak is a hosted Model Context Protocol endpoint that lets an AI assistant read and change your identity infrastructure through defined tools instead of a dashboard or hand-written API calls. The Skycloak one lives at https://mcp.skycloak.io and exposes every operation the Skycloak platform API supports, spanning managed Keycloak clusters, realms, applications, identity providers, users, custom domains, edge security and WAF, webhooks, SIEM destinations, branding, extensions, SMTP and audit logs. You connect with one command and sign in through your browser over OAuth, there is nothing to install, and an assistant only ever gets the access the signed-in account already has.
How do I connect it to Claude, ChatGPT, Gemini, Grok or Cursor?
Give the client the URL https://mcp.skycloak.io and it does the rest. In Claude, ChatGPT, Gemini and Grok that means adding a custom connector; in Claude Code it is claude mcp add --transport http skycloak https://mcp.skycloak.io; in Cursor, VS Code and other editors it is a JSON entry with "type": "http" and that URL. On first use the server returns a 401 carrying its OAuth metadata and the client opens a browser for you to sign in. See the MCP documentation for the full setup.
Do I need an API key?
No. The hosted server implements OAuth discovery, so your client finds the authorization server on its own and opens a browser for you to approve. There is no key to create, paste into a config file, or rotate. If your client does not speak OAuth, or you are running headless in CI, you can send a Skycloak API key as a bearer token instead.
Can an AI assistant delete my production realm?
Only if you can. Tools are registered against the scopes of the credential you signed in with, so the assistant inherits exactly your access and never more. On top of that, destructive tools such as deleting a realm, an application or an identity provider refuse to run unless they are passed an explicit confirm=true, so a vague instruction cannot cascade into a deletion.
Is this just for Keycloak configuration?
No, and that is the main difference from pointing an agent at a Keycloak admin API. The Skycloak MCP server reaches the managed platform around Keycloak as well: provisioning and upgrading clusters, custom domains and their DNS verification, the WAF and edge security rules, webhook subscriptions, SIEM destinations, extensions, SMTP and branding. Those surfaces do not exist in the Keycloak admin API at all.
Which MCP clients does it work with?
Any spec-compliant one. It speaks streamable HTTP, the standard MCP remote transport, and authenticates over OAuth, so it is not tied to a vendor. That covers the assistants with custom-connector support (Claude, ChatGPT, Gemini, Grok) and the editors and agents that speak MCP (Cursor, VS Code, Windsurf, Zed, Cline, Goose). Claude Code and Cursor are the ones we test against on every release.
What does it cost?
Nothing extra. The MCP server is included with every Skycloak plan and is rate limited per plan like the rest of the API. You need a Skycloak account and at least one cluster for it to be useful.
How is this different from the Terraform provider?
They solve different halves of the same problem. The Terraform provider is for declarative, reviewed, repeatable infrastructure that lives in version control. The MCP server is for the conversational half: investigating, auditing and answering questions, plus the one-off changes that never justified a pull request. Most teams end up using both.

Deje de navegar por una consola para responder una pregunta.

Conéctese con un solo comando, o inicie una prueba gratuita y cree un clúster al que apuntar. Usuarios ilimitados en todos los planes, Keycloak original real, sin dependencia del proveedor.

Iniciar prueba gratuita
© 2026 Skycloak. Todos los derechos reservados. Diseño por Yasser SolimanKeycloak™ is a trademark of the Linux Foundation. Skycloak is not affiliated with the Keycloak project.