Koskamo

KeyCloak MCP

An MCP server for the KeyCloak Admin REST API that authenticates via a Service Account. It allows AI assistants to inspect users, sessions, clients, and realm configuration for authentication troubleshooting. Features include counting and searching users, resetting passwords, managing sessions, checking MFA adoption, listing groups, and analyzing security defenses like brute-force status and password-spray detection.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

KeyCloak MCP logo, by shigechikaCommunity listingLocal stdioSource reviewed; not executedPublished by shigechika
You need:Authenticates via a Service Account ( Client Credentials Grant )
Vendor documentation

What you can do with it

  • Inspect users, sessions, clients, and realm config through AI assistants
  • Reset one user's password or bulk reset from CSV
  • Check brute-force status and realm security defenses
  • Detect password-spray attacks with breach list integration

Source and maintenance

Community listingRegistry 1.5.1MIT
Last repository push
Latest release
v1.5.1
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

keycloak-mcp 1.5.1

pypi
keycloak-mcp package definition
{
  "version": "1.5.1",
  "transport": "stdio",
  "identifier": "keycloak-mcp",
  "registryType": "pypi"
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · repository · passed · metadata changed · updated
  • · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "keycloak-mcp": {
      "command": "uvx",
      "args": [
        "keycloak-mcp==1.5.1"
      ]
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "keycloak-mcp": {
      "command": "uvx",
      "args": [
        "keycloak-mcp==1.5.1"
      ]
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "keycloak-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "keycloak-mcp==1.5.1"
      ]
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "keycloak-mcp": {
      "command": "uvx",
      "args": [
        "keycloak-mcp==1.5.1"
      ]
    }
  }
}

Let your agent find its tools

Find servers like KeyCloak MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.