Phase Two Keycloak
Hosted Keycloak MCP server for setting up passwordless login, SSO and organizations
- Pricing
- Freemium
- Platforms
- CLI, Web, API
- Runs
- Remotely
- Version
- 0.17.1
- Listing updated
- today
About Phase Two Keycloak
Phase Two Keycloak is a freemium MCP server for developer tools. It runs as a hosted remote server, so there is nothing to install locally.
The README describes this as a remote MCP server that lets a coding agent configure Phase Two hosted Keycloak, covering passwordless sign-in, single sign-on, organization membership and cluster provisioning. It is reached over streamable HTTP at a Phase Two-hosted endpoint and sits behind OAuth, so each client signs in with its own pre-registered client.
The companion repository packages the same guidance as Agent Skills for Claude Code, Cursor and Codex. Its single skill routes requests to reference material for magic links, email OTP, passkeys, organization login restriction, corporate SSO by email domain and enterprise identity provider federation.
The server is aimed at developers and teams building SaaS products who want their coding agent to handle identity configuration against a live Phase Two deployment. Phase Two also offers its hosted Keycloak and documents a path to self-host the open source extensions.
Install
Run in a terminal
claude mcp add --transport http keycloak https://mcp.phasetwo.io/mcpAdd to Settings → Connectors → Add custom connector
https://mcp.phasetwo.io/mcpAdd to ~/.cursor/mcp.json
{
"mcpServers": {
"keycloak": {
"url": "https://mcp.phasetwo.io/mcp"
}
}
}Add to .vscode/mcp.json
{
"servers": {
"keycloak": {
"type": "http",
"url": "https://mcp.phasetwo.io/mcp"
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"keycloak": {
"serverUrl": "https://mcp.phasetwo.io/mcp"
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"keycloak": {
"type": "http",
"url": "https://mcp.phasetwo.io/mcp"
}
}
}Using several servers? Build one config file with the MCP config generator.
What it does
- Passwordless login setup
- Configures magic link, email OTP, passkey or combined passwordless sign-in flows.
- Enterprise SSO configuration
- Covers corporate SSO by email domain and federation with enterprise identity providers.
- Organization membership controls
- Restricts login based on organization membership within a realm.
- Cluster provisioning
- Handles Phase Two cluster and deployment setup for hosted Keycloak.
- OAuth-protected remote server
- Connects via streamable HTTP with per-client pre-registered OAuth clients.
Good for
- Add passwordless or passkey sign-in to a SaaS app from a coding agent
- Connect a customer's corporate identity provider by email domain
- Restrict login to members of a specific organization
- Provision a Phase Two hosted Keycloak cluster for a new environment
Pricing
Freemium
Hosted Keycloak can be tried free with your own cluster; paid plans are on the pricing page.
Prices change. Check phasetwo.io before you buy.
Phase Two Keycloak FAQ
How do I connect the server to Claude Code?
The README gives the command claude mcp add --transport http keycloak https://mcp.phasetwo.io/mcp, and notes that the plugin declares the server automatically when installed.
Is the server open source?
The README says the code is under Apache 2.0 and the skill content under CC BY-SA 4.0, but the hosted MCP server itself is a remote service.
Does it work with self-hosted Keycloak?
The repository says the skills cover both vanilla self-hosted Keycloak and Phase Two hosted Keycloak.
Is Phase Two Keycloak free?
Phase Two Keycloak has a free plan, with paid plans for more usage or features.
How do I add Phase Two Keycloak to Claude Code?
Run this command in your terminal: claude mcp add --transport http keycloak https://mcp.phasetwo.io/mcp
What are the best alternatives to Phase Two Keycloak?
The closest alternatives to Phase Two Keycloak are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.
Where this comes from
- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.
Alternatives to Phase Two Keycloak

REA
MCP serverCLI and MCP server that lets coding agents reverse engineer apps and binaries
Runs locally- Open source
- 467K GitHub stars
- Developer tools

Codebase Memory
MCP serverLocal MCP server that builds a code knowledge graph for AI coding agents
Runs locally- Open source
- 48.8K GitHub stars
- Knowledge and memory

GitHub
MCP serverOfficial MCP server connecting AI assistants to GitHub repos, issues and workflows
- Remote
- Open source
- 34.6K GitHub stars
- Developer tools

Serena MCP: the IDE for your agent
MCP serverMCP toolkit giving coding agents symbol-level code retrieval and editing
Runs locally- Open source
- 31.5K GitHub stars
- Developer tools

XERJ
MCP serverLocal search engine for AI agents with cited answers over your code and docs
Runs locally- Open source
- 19.2K GitHub stars
- Knowledge and memory

Ouroboros
MCP serverSpec-first layer that pins requirements and verifies results of AI coding agent work
Runs locally- Open source
- 6.4K GitHub stars
- Developer tools