• IDENTITY
  • ACCESS
  • AUDIT
  • HUMAN

How to verify user permissions with your AI

Connect Casdoor to your AI client once. After that, you can ask your agent to pull user data and check access levels instantly.

Ask AI about this page

Short answer

Can my AI check user access in Casdoor?

Yes. Your AI uses Casdoor tools to pull specific user profiles and authentication details. This allows you to confirm if a user has the right permissions for a task. You'll see the breakdown of what the AI can do below.

Permission outcomes

Where access checks land.

What happens when you ask your AI to check a user.

IDENTITY

User profile retrieval

The AI pulls specific identity data from Casdoor. You get a clear view of who the user is and their account status.

ACCESS

Permission verification

Your agent checks authentication details to see if a user is authorized. This confirms they meet your security requirements.

AUDIT

Status reporting

The AI summarizes the user's current state. You receive a direct answer about their access rights without digging through logs.

HUMAN

Manual overrides

The AI cannot change permissions. You must log into Casdoor directly if you need to grant or revoke access.

The workflow

What your AI does when the request arrives.

The AI acts as a bridge between your chat interface and your Casdoor identity management.

  1. Identify the user

    The AI finds the specific person you're asking about by looking up their unique identifier.

    get_user
  2. Fetch profile details

    Once the user is found, the agent pulls their full profile information to see their attributes.

    get_userinfo
  3. Analyze permissions

    The AI compares the retrieved profile data against your specific question about access rights.

    get_userinfo
  4. Report findings

    Your agent gives you a plain English answer regarding whether the user is authorized or not.

    get_user

Try it

Copy these to start.

Use these prompts to begin checking permissions.

Starting points

Replace the names in brackets with the actual user IDs or names from your Casdoor instance.

Casdoor Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_vVsHmkekiRLbXOJQdNe0SrKltnYFMZBeRtqJbZaS/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — Casdoor capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "casdoor-iam-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_vVsHmkekiRLbXOJQdNe0SrKltnYFMZBeRtqJbZaS/mcp"
    }
  }
}
Copy into chat04
  • Check the profile for user [ID] in Casdoor.

  • Does user [Name] have the correct authentication status?

  • Get the full user info for [Email address].

  • Verify if [User ID] is currently an active user in the system.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Casdoor once, then ask.

Just follow the link to connect your account. Your credentials stay encrypted, and you can immediately start asking questions about your users.

Connect Casdoor to your AI

FAQ

How this task behaves

  • 01

    Can the AI change user roles?

    No. The AI can only read user information. You have to use the Casdoor dashboard to change roles or permissions.

  • 02

    Can the AI delete users?

    No. There are no tools provided to delete or modify user accounts.

  • 03

    What information can the AI see?

    The AI can see whatever is returned by the user and userinfo tools, such as profile attributes and authentication status.

  • 04

    Does the AI need my Casdoor password?

    No. You connect via a secure method where your login stays encrypted and is never exposed to the AI model.

  • 05

    Can I use this to audit all users at once?

    No. The current tools are designed to look up specific users rather than performing bulk exports of your entire user base.

  • More questions about Casdoor? The Connector page answers them. See everything the Casdoor Connector can do

Connect Casdoor to Claude, Cursor, ChatGPT & more