Koskamo

mcp-keycloak

An MCP server for Keycloak that enables AI agents to perform multi-realm administration tasks including managing users, clients, and roles. It features configurable security modes (read-only, read-write, admin) and access-control flags to ensure safe-by-default governance, allowing agents to list, create, update, and delete identities within specified realms.

Package and access

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

mcp-keycloak logo, by dockndevaiCommunity listingLocal stdioSource reviewed; not executedPublished by dockndevai
Vendor documentation

What you can do with it

  • List and manage Keycloak realms and users
  • Create and update client applications
  • Assign and manage realm roles and groups
  • Reset user passwords and handle logout

Source and maintenance

Community listingRegistry 0.3.3
Maintenance checked

Packages and installation

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

@dockndevai/mcp-keycloak 0.3.3

npm
@dockndevai/mcp-keycloak package definition
{
  "version": "0.3.3",
  "transport": "stdio",
  "identifier": "@dockndevai/mcp-keycloak",
  "registryType": "npm",
  "registryBaseUrl": "https://registry.npmjs.org",
  "environmentVariables": [
    {
      "name": "KEYCLOAK_URL",
      "isRequired": true,
      "description": "Base URL of the Keycloak server (no trailing slash)."
    },
    {
      "name": "KEYCLOAK_CLIENT_ID",
      "description": "Client id used to authenticate (default admin-cli)."
    },
    {
      "name": "KEYCLOAK_CLIENT_SECRET",
      "description": "Service-account client secret (or use KEYCLOAK_USERNAME/PASSWORD)."
    },
    {
      "name": "KEYCLOAK_MODE",
      "description": "Access mode: read-only | read-write | admin."
    }
  ]
}

Tools

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

No tool definitions available.

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": {
    "mcp-keycloak": {
      "command": "npx",
      "args": [
        "-y",
        "@dockndevai/mcp-keycloak@0.3.3"
      ],
      "env": {
        "KEYCLOAK_URL": "<YOUR_KEYCLOAK_URL>",
        "KEYCLOAK_CLIENT_ID": "<YOUR_KEYCLOAK_CLIENT_ID>",
        "KEYCLOAK_CLIENT_SECRET": "<YOUR_KEYCLOAK_CLIENT_SECRET>",
        "KEYCLOAK_MODE": "<YOUR_KEYCLOAK_MODE>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "mcp-keycloak": {
      "command": "npx",
      "args": [
        "-y",
        "@dockndevai/mcp-keycloak@0.3.3"
      ],
      "env": {
        "KEYCLOAK_URL": "<YOUR_KEYCLOAK_URL>",
        "KEYCLOAK_CLIENT_ID": "<YOUR_KEYCLOAK_CLIENT_ID>",
        "KEYCLOAK_CLIENT_SECRET": "<YOUR_KEYCLOAK_CLIENT_SECRET>",
        "KEYCLOAK_MODE": "<YOUR_KEYCLOAK_MODE>"
      }
    }
  }
}

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": {
    "mcp-keycloak": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@dockndevai/mcp-keycloak@0.3.3"
      ],
      "env": {
        "KEYCLOAK_URL": "<YOUR_KEYCLOAK_URL>",
        "KEYCLOAK_CLIENT_ID": "<YOUR_KEYCLOAK_CLIENT_ID>",
        "KEYCLOAK_CLIENT_SECRET": "<YOUR_KEYCLOAK_CLIENT_SECRET>",
        "KEYCLOAK_MODE": "<YOUR_KEYCLOAK_MODE>"
      }
    }
  }
}

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": {
    "mcp-keycloak": {
      "command": "npx",
      "args": [
        "-y",
        "@dockndevai/mcp-keycloak@0.3.3"
      ],
      "env": {
        "KEYCLOAK_URL": "<YOUR_KEYCLOAK_URL>",
        "KEYCLOAK_CLIENT_ID": "<YOUR_KEYCLOAK_CLIENT_ID>",
        "KEYCLOAK_CLIENT_SECRET": "<YOUR_KEYCLOAK_CLIENT_SECRET>",
        "KEYCLOAK_MODE": "<YOUR_KEYCLOAK_MODE>"
      }
    }
  }
}

Let your agent find its tools

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