</>MCP Agents Market
MCP Server

casdoor

by casdoor14.3kGoUpdated 2026-08-22

An open-source Agent-first Identity and Access Management (IAM) /LLM MCP & agent gateway and auth server with web UI supporting OpenClaw, MCP, OAuth, OIDC, SAML, CAS, LDAP, SCIM, WebAuthn, TOTP, MFA, Face ID, Google Workspace, Azure AD

Casdoor is an open-source Identity and Access Management (IAM) platform that functions as an MCP gateway and authentication server for AI agents. It provides a self-hosted SSO solution with support for OAuth 2.0, OIDC, SAML 2.0, CAS, LDAP, SCIM, WebAuthn, and the Model Context Protocol, allowing AI agents to authenticate and access protected resources. The platform includes a web-based admin console for managing users, organizations, applications, and identity providers without requiring code deployments. Casdoor is particularly valuable for developers building multi-agent systems that need centralized authentication, role-based access control, and agent-to-agent communication.

Key Features

MCP gateway functionality for exposing Model Context Protocol servers with access control
Agent-to-agent (A2A) communication support for multi-agent systems
Multi-protocol authentication server supporting OAuth 2.0, OIDC, SAML 2.0, CAS, LDAP, and SCIM 2.0
Web-based admin console for managing users, organizations, applications, and providers without redeployment
Policy-based authorization using Casbin with support for ACL, RBAC, and ABAC models
Self-hosted single Go binary with support for MySQL, PostgreSQL, SQLite, and SQL Server
WebAuthn/passkeys, TOTP/MFA, and biometric authentication (Face ID)
REST API with SDKs for Go, Java, Python, Node.js, .NET, PHP, and Rust

Use Cases

  • 01Authenticating AI agents accessing MCP servers and controlling their permissions
  • 02Building multi-agent systems with centralized identity management and A2A communication
  • 03Providing SSO for applications that integrate with AI agents requiring user authentication
  • 04Managing role-based access control for AI agents interacting with enterprise resources
  • 05Federating identity across multiple AI tools and platforms using OIDC or SAML
  • 06Auditing and logging AI agent authentication events and administrative actions

Related MCP Servers

View more

casdoor — FAQ

What is the Casdoor MCP server?+

Casdoor is an Identity and Access Management platform that serves as an MCP gateway and authentication server for AI agents. It provides centralized authentication, authorization, and agent-to-agent communication support while exposing Model Context Protocol servers with access control.

How do I install Casdoor?+

The quickest way is to run the Docker all-in-one image with 'docker run -p 8000:8000 casbin/casdoor-all-in-one' which includes SQLite and demo data. For production, use Docker Compose with MySQL, deploy via Helm to Kubernetes, or build from source with Go 1.25+ and Node.js 20.

Which AI clients work with Casdoor?+

Casdoor works with any AI agent or application that supports OAuth 2.0, OIDC, SAML 2.0, or the Model Context Protocol. It provides SDKs for Go, Java, Python, Node.js, .NET, PHP, and Rust to integrate with custom AI agents and tools.

Do I need API keys or a database to use Casdoor?+

The all-in-one Docker image includes SQLite and requires no external dependencies for evaluation. For production deployments, you need a database (MySQL, PostgreSQL, SQL Server, or SQLite) and should configure identity providers if you want social login, which requires their respective API keys.

Is Casdoor free to use?+

Yes, Casdoor is open source and licensed under Apache License 2.0, free for both personal and commercial use. It is self-hosted, so you maintain complete control over your identity data.

What protocols does Casdoor support for authentication?+

Casdoor supports OAuth 2.0, OpenID Connect (OIDC), SAML 2.0, CAS, LDAP, SCIM 2.0, WebAuthn/passkeys, TOTP/MFA, and the Model Context Protocol (MCP). This allows the same user directory to serve modern AI agents, SPAs, and legacy enterprise applications simultaneously.

How do I install casdoor?+

Open the source repository on GitHub and follow its README. casdoor is a mcp server — MCP Agents Market links you directly to the official repo.

Is casdoor free?+

casdoor is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.

Related searches