InnerVault

Keycloak Admin API

Stale Official MCP Registry, io.github.sferarc

Unofficial: one tool per Keycloak admin operation on a realm, read-only unless writes are enabled

Open the source (opens github.com) https://github.com/sferarc/openapi

Before you use it

  • Runs on your computer with your permissions. Read what it can do before connecting it to an agent.
  • Needs credentials: KEYCLOAK_CLIENT_SECRET, KEYCLOAK_TOKEN. Use a key with the least access you can.

What it is

MCP servers from io.github.sferarc.

The problem it solves and who it suits haven't been reviewed by InnerVault. The description above is the source's own.

How to get it

npm package (stdio)

keycloak-api@3.8.0

From the server's entry in the official MCP Registry

Settings it asks for

  • KEYCLOAK_URL required · Base URL of the server, such as https://keycloak.example.com
  • KEYCLOAK_REALM required · Realm the tools act on
  • KEYCLOAK_TOKEN secret · A fixed access token; otherwise set KEYCLOAK_CLIENT_ID and KEYCLOAK_CLIENT_SECRET
  • KEYCLOAK_CLIENT_ID · A confidential client with a service account, for the client credentials grant
  • KEYCLOAK_CLIENT_SECRET secret · Secret of that client
  • KEYCLOAK_TOKEN_REALM · Realm of that client, if not KEYCLOAK_REALM (for example master)
  • KEYCLOAK_MCP_ALLOW_WRITES · 1 to list the tools that change data
  • KEYCLOAK_MCP_RESOURCES · Comma separated resources to list tools for, such as users,groups,roles

Related

  1. Keycloak Admin

    MCP servers

    Administer Keycloak via its Admin REST API: users, roles, clients, groups, IdP, events.

    Stale Official MCP Registry, io.github.mrz1880 Updated 4 months ago 2 notes

    mcp-keycloak-admin@0.2.3
  2. Manage Keycloak users, groups, roles and realms through the Keycloak Admin REST API.

    Stale Official MCP Registry, io.github.ChristophEnglisch 46 ★Updated 21 days ago 2 notes

    keycloak-model-context-protocol@1.1.0
  3. KeyCloak MCP

    MCP servers

    MCP server for KeyCloak Admin REST API via Service Account

    Stale Official MCP Registry, io.github.shigechika Updated 2 days ago 1 note

    keycloak-mcp@1.6.0
  4. mcp-keycloak

    MCP servers

    Keycloak admin for AI agents — realms, users, clients, roles; safe-by-default governance.

    Stale Official MCP Registry, io.github.dockndevai Updated 21 days ago 2 notes

    @dockndevai/mcp-keycloak@0.3.3
  5. issuerd

    MCP servers

    Fast, Keycloak-compatible IAM with DPoP and CIBA

    Indexed GitHub, issuerd 77 ★Apache-2.0Updated 4 days ago

    git clone https://github.com/issuerd/issuerd.git
  6. keycloak-mcp.test

    MCP servers

    This is just a test publish, delete me

    Stale Official MCP Registry, io.github.heintonny Updated 8 months ago