# Connect Casdoor to Your AI Agent (Universal MCP)

> Use your AI to audit security, manage employees, and monitor systems in Casdoor — and much more.

## Quick Connect (CLI / MCP)
- Claude Code: `claude mcp add --transport http casdoor https://api.universalmcp.app/mcp/casdoor`
- Remote MCP URL (ChatGPT, Claude, Cursor, VS Code): `https://api.universalmcp.app/mcp/casdoor` (unified: `https://api.universalmcp.app/mcp`)
- Actions & Discovery: `POST https://universalmcp.app/mcp/directory` (`get_software_actions({ slug: "casdoor", query })` & `search_software`); configs: https://universalmcp.app/install.md

## Key Facts
- Software: Casdoor | Category: DevOps & IT/Security (Casdoor) | Auth: Guided workspace authorization
- Pricing: 100% Free (unlimited users, unlimited software, zero task metering)
- Permissions & Security: Per-person, per-area Off/Read/Write across User directory, Login audit logs, Policy changes; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://universalmcp.app/mcp/casdoor | Guide: https://universalmcp.app/mcp/casdoor
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (3 actions: 0 Read, 3 Write)
Perform 3 actions across user directory, login audit logs, and policy changes. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **User directory (1):** User directory (write)
- **Login audit logs (1):** Login audit logs (write)
- **Policy changes (1):** Policy changes (write)

## Example Prompts for Casdoor
- **Login review:** "List Casdoor users with more than five failed logins in the last day and their applications."
- **MFA coverage:** "Show which Casdoor organizations have MFA enforced for every OIDC and SAML application."
- **Session audit:** "Summarize Casdoor session counts per provider for the current week compared with last week."
- **Draft policy:** "Draft a Casdoor MFA enforcement change for the flagged group, then wait for my approval."
