AgentIndex icon
AgentIndex
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Submit Tool
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Home/
Security & Safety/
casdoor
casdoor logo

casdoor

Active·★ 14.9k·Apache-2.0·Updated 2026-11-22
★ Most Popular

Casdoor is an open-source, self-hosted Identity and Access Management (IAM) and Single Sign-On (SSO) platform developed by the Casbin organization (Apache 2.0). Designed with a modern decoupled architecture (Go backend and React frontend), Casdoor provides an administrative web console that manages authentication across thousands of users and disparate applications with support for OAuth 2.0, OIDC, SAML 2.0, CAS, LDAP, SCIM 2.0, WebAuthn, and TOTP multi-factor authentication.

Setting Casdoor apart from traditional identity solutions like Keycloak is its native Model Context Protocol (MCP) support and frictionless provider ecosystem. Organizations can configure hundreds of social and enterprise logins—from Google Workspace and Azure AD to GitHub and Slack—without restarting services. Through its MCP integrations, AI agents can query organization directories, verify token scopes, and perform audit operations securely through standardized protocol tools.

Casdoor offers quick local evaluation via a single all-in-one Docker image (`casbin/casdoor-all-in-one`) that boots an embedded SQLite instance. For production, however, operators must configure an external relational database (MySQL, PostgreSQL, or SQL Server) and caching infrastructure. Furthermore, Casdoor embeds a strict multi-tenant 'Organization' model throughout its schema, requiring developers to carefully map user directories and application tenants during initial integration.

This write-up is based on the project's README and public repository data. We have not hand-tested the tool. Data as of 2026-11-19.

License
Apache-2.0
Latest release
v4.29.0 · 2026-11-15
Last commit
2026-11-18
Contributors
332
Forks
1,927
Open issues and PRs
93
First published
2020-10-22

Source: GitHub, npm and PyPI public APIs.

#agent#agentic-ai#agi#ai-gateway#auth#authentication#iam#llm
$ Install
$ docker run -p 8000:8000 casbin/casdoor-all-in-one
↗ Visit site★ GitHub
01

Features

01OAuth, OIDC, SAML, LDAP and SCIM integration.
02WebAuthn and multifactor authentication options.
03Casbin-based authorization and an MCP gateway.
02

Why choose it

+Comprehensive protocol coverage: OAuth 2.0, OIDC, SAML 2.0, CAS, LDAP, SCIM, and WebAuthn.
+Native Model Context Protocol (MCP) server enables AI agents to interact with identity APIs safely.
+Modern, lightweight Go + React architecture with zero-downtime hot-reload for identity providers.
+Multi-tenant by default with powerful branding, email/SMS templating, and webhook support.
03

Trade-offs

!Production environments require provisioning external relational databases and caching infrastructure.
!The strict multi-tenant organization hierarchy requires thoughtful initial user and application planning.
!Deep customization of specialized login checkout flows requires modifying or overriding the React frontend.
!Fine-grained attribute-based access control (ABAC) requires proficiency in Casbin PERM model syntax.
04

Maintenance check

ActiveChecked: 2026-11-12
Last commit
2026-11-11
Commits, last 90 days
100+
Releases, last 90 days
30
Latest release
v4.27.1 (2026-11-10)
Open issues
95
Recent issues with at least one comment
19/28
Commits per week, last 12 weeks
Commits per week, last 12 weeks: 9, 90, 32, 32, 39, 51, 70, 30, 79, 46, 49, 66

Oldest week on the left; the latest four weeks are orange. Source: GitHub commit activity.

Status rule: archived on GitHub = Archived; last commit within 90 days = Active; 91 to 365 days = Slowing; older = Stale. All figures come from the GitHub API on the date shown.

Most discussed open issues

  • #1190 Security related issues should be sent via Email instead of creating issues here9 comments · 2022-10-06
  • #651 Support user merge\migrate between different users8 comments · 2022-04-07
  • #3119 [feature] Optimize Session Handling to Avoid Redundant Session Creation6 comments · 2024-08-12
  • #922 Any plan to support mongodb for casdoor?6 comments · 2022-07-28
  • #355 Integrate Casdoor with Apache Shiro6 comments · 2021-12-10

Issue titles are quoted from GitHub. Open the link to check whether a problem still applies to the version you use.

05

Compatibility

docker
All-in-one Docker image for evaluation
Verified via docs
browser
Web administration and sign-in console
Verified via docs
06

Quick start

1
$ docker run -p 8000:8000 casbin/casdoor-all-in-one
07

Use cases

↳Centralize user accounts and single sign-on.
↳Control access to MCP services.
↳Manage organizations, applications and identity providers.
08

Alternatives

⚡Top VS:
VSSkillSpector★27.3k→VSopenagent★5.8k→VStoolbox★43→VSMaxKB★23.2k→
SkillSpector logo
SkillSpector★ 27.3k
Security scanner for AI agent skills. Detect vulnerabilities, malicious patterns, security risks, prompt injection, data exfiltration, and supply-chain risks in Claude Code, Codex, and MCP skills before you install them.
VSCompare→
openagent logo
openagent★ 5.8k
⚡️AI Cloud OS: Open-source enterprise-level AI knowledge base and MCP (model-context-protocol)/A2A (agent-to-agent) management platform with admin UI, user management and Single-Sign-On⚡️, supports ChatGPT, Claude, Llama, Ollama, HuggingFace, etc., chat bot demo: https://ai.casibase.com, admin UI demo: https://ai-admin.casibase.com
VSCompare→
toolbox logo
toolbox★ 43
Collaborative application security testing between humans and agents via CLI and MCP
VSCompare→
MaxKB logo
MaxKB★ 23.2k
An open-source platform for building enterprise-grade agents. Powerful and easy to use.
VSCompare→
ida-pro-mcp logo
ida-pro-mcp★ 13.5k
AI-powered reverse engineering assistant that bridges IDA Pro with language models through MCP.
VSCompare→
GhidraMCP logo
GhidraMCP★ 12.0k
MCP Server for Ghidra
VSCompare→
agentic_security logo
agentic_security★ 2.0k
Agentic LLM Vulnerability Scanner / AI red teaming kit 🧪
VSCompare→
jadx-ai-mcp logo
jadx-ai-mcp★ 3.0k
Plugin for JADX to integrate MCP server
VSCompare→
See all alternatives →

Comments

Log in to leave a comment

No comments yet. Be the first!

On this page
01Features02Why choose it03Trade-offs04Maintenance check05Compatibility06Quick start07Use cases08Alternatives
casdoor /
casdoor
↗

Open-source IAM and single sign-on platform with OAuth, SAML, WebAuthn, and native MCP protocol

14.9k1.9kApache-2.0
Last commit2d ago
StatusActive
CategorySecurity & Safety
Contributors332
Latest releasev4.29.0
Links
Documentation↗Discussion↗Issues↗Releases↗
Cloud Infrastructure
Ad

Deploy on DigitalOcean

Host your MCP servers, Docker containers, and AI agents with $200 free credit over 60 days.

Claim $200 Free Credit
© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
Best by use caseAboutContactAdvertisePrivacy PolicyTerms of UseQYSGitHubBuy me a coffee ☕

Browse by Category

MCP ServersCode AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.