Back to Home
aelkz icon

another-keycloak-mcp

Verified Safe

by aelkz

Overview

This MCP server enables AI assistants to manage Keycloak Identity and Access Management operations safely and efficiently, offering comprehensive tools for user, group, realm, authentication, and client scope management.

Installation

Run Command
npx -y another-keycloak-mcp

Environment Variables

  • KEYCLOAK_URL
  • KEYCLOAK_REALM
  • KEYCLOAK_ADMIN_USERNAME
  • KEYCLOAK_ADMIN_PASSWORD
  • KEYCLOAK_CLIENT_ID
  • KEYCLOAK_CLIENT_SECRET
  • OPERATION_MODE
  • READ_ONLY_MODE
  • TRANSPORT
  • HTTP_PORT
  • HTTP_HOST
  • LOG_LEVEL

Security Notes

The server has good safety features like read-only and operation modes, but a critical risk is the hardcoded default `KEYCLOAK_CLIENT_SECRET` ('test12345') in `src/common/constants.ts`. If environment variables are not properly configured, this weak default could be used in `client_credentials` authentication, potentially exposing admin access. While the HTTP transport is currently unimplemented, its future implementation would require careful security review. No `eval` or obvious malicious patterns found.

Similar Servers

Stats

Interest Score0
Security Score6
Cost ClassMedium
Avg Tokens1000
Stars0
Forks0
Last Update2025-12-01

Tags

KeycloakIAMUser ManagementGroup ManagementMCP