Skip to content
MCP server

KeyCloak MCP

MCP server for KeyCloak Admin REST API via Service Account

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
1.6.0
Listing updated
today

About KeyCloak MCP

KeyCloak MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add keycloak-mcp -- uvx keycloak-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "keycloak-mcp": {
      "command": "uvx",
      "args": [
        "keycloak-mcp"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "keycloak-mcp": {
      "command": "uvx",
      "args": [
        "keycloak-mcp"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "keycloak-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "keycloak-mcp"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "keycloak-mcp": {
      "command": "uvx",
      "args": [
        "keycloak-mcp"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "keycloak-mcp": {
      "command": "uvx",
      "args": [
        "keycloak-mcp"
      ]
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Pricing

Open source

KeyCloak MCP FAQ

Is KeyCloak MCP free?

Yes. KeyCloak MCP is open source, so you can use and self-host it for free.

How do I add KeyCloak MCP to Claude Code?

Run this command in your terminal: claude mcp add keycloak-mcp -- uvx keycloak-mcp

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers