Agentโ™ฅ๏ธŽAge
Catalog

KeyCloak MCP

Official

by shigechika ยท Python

MCP server for KeyCloak Admin REST API via Service Account

io.github.shigechika/keycloak-mcp MCP Server

An MCP (Model Context Protocol) server that connects to the KeyCloak Admin REST API. It authenticates using a Service Account with the Client Credentials Grant, avoiding human password or TOTP. It is Infinispan-safe: it never creates user sessions and never hits the userinfo endpoint. Documentation is available at https://shigechika.github.io/keycloak-mcp/.

๐Ÿ› ๏ธ Key Features

  • Provides access to KeyCloak Admin REST API
  • Uses Service Account (Client Credentials Grant) authentication
  • Does not create user sessions
  • Does not call the userinfo endpoint

๐Ÿš€ Use Cases

  • Counting users in a KeyCloak realm via count_users
  • Searching users (partial tool list in source: search_use...)

โšก Developer Benefits

  • Avoids interactive login flows by using service-account authentication
  • Limits operations that involve sessions and userinfo calls

โš ๏ธ Limitations

  • Tool documentation excerpt is truncated in the provided source (only count_users and the start of search_use... are visible)

Topics

keycloakmcp-serverrestapi

Related servers

More in Security