Keycloak MCP Server
@ChristophEnglisch
About Keycloak MCP Server
MCP server implementation for Keycloak user management. Enables AI-powered administration of Keycloak users and realms through the Model Context Protocol (MCP). Seamlessly integrates with Claude Desktop and other MCP clients for automated user operations.
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"keycloak-model-context-protocol": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"keycloak-model-context-protocol",
"--client",
"claude"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Keycloak MCP Server?
It is a Model Context Protocol server for Keycloak administration, providing tools to manage users and realms. It is intended for developers and administrators who want to integrate Keycloak management into MCP-compatible applications like Claude Desktop.
How to use Keycloak MCP Server?
Install via Smithery or NPM, then configure the server in your MCP client’s configuration file with the environment variables KEYCLOAK_URL, KEYCLOAK_ADMIN, and KEYCLOAK_ADMIN_PASSWORD. Use the provided tools (create-user, delete-user, list-realms, list-users) to interact with a running Keycloak instance.
Key features of Keycloak MCP Server
- Create new users in specific realms
- Delete users from realms
- List available realms
- List users in specific realms
Use cases of Keycloak MCP Server
- Automate user provisioning in Keycloak realms
- Manage user lifecycle via AI assistants
- Query realm and user information for administration
- Integrate Keycloak management into MCP-enabled tools
FAQ from Keycloak MCP Server
What tools does Keycloak MCP Server provide?
It provides create-user, delete-user, list-realms, and list-users tools for Keycloak administration.
How do I configure the server?
Set the environment variables KEYCLOAK_URL, KEYCLOAK_ADMIN, and KEYCLOAK_ADMIN_PASSWORD in your MCP client configuration.
What are the prerequisites?
Node.js 18 or higher and a running Keycloak instance are required.
How can I install it?
Install via Smithery with npx @smithery/cli install keycloak-model-context-protocol --client claude or use npx -y keycloak-model-context-protocol directly.
Does it support local development?
Yes, clone the repository, run npm install and npm run build, then configure the local path in your MCP client configuration.
Frequently asked questions
What tools does Keycloak MCP Server provide?
It provides `create-user`, `delete-user`, `list-realms`, and `list-users` tools for Keycloak administration.
How do I configure the server?
Set the environment variables `KEYCLOAK_URL`, `KEYCLOAK_ADMIN`, and `KEYCLOAK_ADMIN_PASSWORD` in your MCP client configuration.
What are the prerequisites?
Node.js 18 or higher and a running Keycloak instance are required.
How can I install it?
Install via Smithery with `npx @smithery/cli install keycloak-model-context-protocol --client claude` or use `npx -y keycloak-model-context-protocol` directly.
Does it support local development?
Yes, clone the repository, run `npm install` and `npm run build`, then configure the local path in your MCP client configuration.
Basic information
More Other MCP servers
Inbox Zero AI
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
Maestro
mobile-dev-incPainless E2E Automation for Mobile and Web

Peekaboo MCP – lightning-fast macOS screenshots for AI agents
steipetePeekaboo is a macOS CLI & optional MCP server that enables AI agents to capture screenshots of applications, or the entire system, with optional visual question answering through local or remote AI models.

Sequential Thinking
modelcontextprotocolModel Context Protocol Servers

DeepMark
DeepMark helps teachers deliver rapid, consistent marking with meaningful feedback for every student — in a fraction of the time. What once took a week, now takes one free period.
Comments