KE

keycloak model context protocol MCP Server

Published by ChristophEnglisch

Manage Keycloak users, groups, roles and realms through the Keycloak Admin REST API.

CATEGORY
More to explore
DEPLOYMENT
Local package
LATEST SOURCE VERSION
1.1.0
SOURCE CHECKED
Nov 29, 2026

Quick answers

How do I add keycloak model context protocol MCP Server to Claude Code, Cursor or Codex?

Claude CodeCommand

Run this in your terminal:

claude mcp add --env 'KEYCLOAK_URL=<your-keycloak-url>' --env 'KEYCLOAK_CLIENT_SECRET=<your-keycloak-client-secret>' --env 'KEYCLOAK_PASSWORD=<your-keycloak-password>' --transport stdio keycloak-model-context-protocol -- npx -y keycloak-model-context-protocol

Replace the <your-…> placeholder with your own KEYCLOAK_URL and KEYCLOAK_CLIENT_SECRET and KEYCLOAK_PASSWORD.

Claude Code setup guide
CursorConfig

Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project:

{
  "mcpServers": {
    "keycloak-model-context-protocol": {
      "command": "npx",
      "args": [
        "-y",
        "keycloak-model-context-protocol"
      ],
      "env": {
        "KEYCLOAK_URL": "<your-keycloak-url>",
        "KEYCLOAK_CLIENT_SECRET": "<your-keycloak-client-secret>",
        "KEYCLOAK_PASSWORD": "<your-keycloak-password>"
      }
    }
  }
}

Replace the <your-…> placeholder with your own KEYCLOAK_URL and KEYCLOAK_CLIENT_SECRET and KEYCLOAK_PASSWORD.

Cursor setup guide
CodexCommand

Run this in your terminal:

codex mcp add keycloak-model-context-protocol --env 'KEYCLOAK_URL=<your-keycloak-url>' --env 'KEYCLOAK_CLIENT_SECRET=<your-keycloak-client-secret>' --env 'KEYCLOAK_PASSWORD=<your-keycloak-password>' -- npx -y keycloak-model-context-protocol

Replace the <your-…> placeholder with your own KEYCLOAK_URL and KEYCLOAK_CLIENT_SECRET and KEYCLOAK_PASSWORD.

Codex setup guide
VS CodeConfig

Add this to .mcp.json at the root of your workspace:

{
  "mcpServers": {
    "keycloak-model-context-protocol": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "keycloak-model-context-protocol"
      ],
      "env": {
        "KEYCLOAK_URL": "<your-keycloak-url>",
        "KEYCLOAK_CLIENT_SECRET": "<your-keycloak-client-secret>",
        "KEYCLOAK_PASSWORD": "<your-keycloak-password>"
      }
    }
  }
}

Replace the <your-…> placeholder with your own KEYCLOAK_URL and KEYCLOAK_CLIENT_SECRET and KEYCLOAK_PASSWORD.

VS Code setup guide
Claude DesktopConfig

Add this to claude_desktop_config.json, then restart Claude:

{
  "mcpServers": {
    "keycloak-model-context-protocol": {
      "command": "npx",
      "args": [
        "-y",
        "keycloak-model-context-protocol"
      ],
      "env": {
        "KEYCLOAK_URL": "<your-keycloak-url>",
        "KEYCLOAK_CLIENT_SECRET": "<your-keycloak-client-secret>",
        "KEYCLOAK_PASSWORD": "<your-keycloak-password>"
      }
    }
  }
}

Replace the <your-…> placeholder with your own KEYCLOAK_URL and KEYCLOAK_CLIENT_SECRET and KEYCLOAK_PASSWORD.

Claude Desktop setup guide
ChatGPTNot available

ChatGPT can't add it from its published details: it connects from the cloud and needs a public address, and this server runs on your computer.

ChatGPT setup guide

Which apps can use keycloak model context protocol MCP Server?

Claude Code, Cursor, Codex, VS Code and Claude Desktop can add it from its published details. ChatGPT can't: it connects from the cloud and needs a public address, and this server runs on your computer.

Does keycloak model context protocol MCP Server need an API key?

To run it on your computer, set KEYCLOAK_URL, KEYCLOAK_CLIENT_SECRET and KEYCLOAK_PASSWORD first, with values from the publisher.

Is keycloak model context protocol MCP Server official?

It's published by ChristophEnglisch. The Official MCP Registry accepts names under io.github.ChristophEnglisch only from the GitHub account or organisation ChristophEnglisch. We last checked its listing on Nov 29, 2026. A listing shows where a server comes from; it isn't a security review.

Published packages

npm · keycloak-model-context-protocol@1.1.0
View source repository