This server only runs locally, from a package. Install it with the instructions on this page to try it.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add keycloak-api-mcp \ -e KEYCLOAK_URL=YOUR_KEYCLOAK_URL \ -e KEYCLOAK_REALM=YOUR_KEYCLOAK_REALM \ -- npx -y [email protected]
Environment
KEYCLOAK_URL (required): Base URL of the server, such as https://keycloak.example.comKEYCLOAK_REALM (required): Realm the tools act onKEYCLOAK_TOKEN (optional, not in the config above): A fixed access token; otherwise set KEYCLOAK_CLIENT_ID and KEYCLOAK_CLIENT_SECRETKEYCLOAK_CLIENT_ID (optional, not in the config above): A confidential client with a service account, for the client credentials grantKEYCLOAK_CLIENT_SECRET (optional, not in the config above): Secret of that clientKEYCLOAK_TOKEN_REALM (optional, not in the config above): Realm of that client, if not KEYCLOAK_REALM (for example master)KEYCLOAK_MCP_ALLOW_WRITES (optional, not in the config above): 1 to list the tools that change dataWe don't run packages, so we can't list this server's tools.