Get started free
All integrations

Casdoor integration

Casdoor REST API for the open-source identity and access management server. Administer a Casdoor deployment: users (create, update, delete, search and sort, count, set a password, check a password, reset email or phone, send and verify verification codes, MFA factors and preferred factor, access keys, real-identity verification), organizations, groups, roles and permissions, applications and their sign-in providers, certificates and forms, LDAP servers and their user synchronisation, sessions and tokens, Casbin authorization (enforce, batch enforce, models, adapters, enforcers, policies, filtered policies and the Casbin CLI), subscriptions, plans, pricings, products, orders, payments, transactions and invoices, invitations, support tickets, resources and file uploads, webhooks, syncers, audit records, and system, version, dashboard and Prometheus information. The credential is a Casdoor application Client ID and Client Secret sent as HTTP Basic credentials, or an access token issued by the same deployment; the instance host is your Casdoor server, for example door.casdoor.com.

190 toolsBasic authAPI docs

What you can do with Casdoor

Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.

Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.

Get adapter, 2 operations

  • GETget_adapter

    get adapter.

  • GETlist_adapters

    get adapters.

Get application, 2 operations

  • GETget_application

    get the detail of an application.

  • GETlist_applications

    get all applications.

Get cert, 2 operations

  • GETget_cert

    get cert.

  • GETlist_certs

    get certs.

Get enforcer, 2 operations

  • GETget_enforcer

    get enforcer.

  • GETlist_enforcers

    get enforcers.

Get form, 2 operations

  • GETget_form

    get form.

  • GETlist_forms

    get forms.

Get group, 2 operations

  • GETget_group

    get group.

  • GETlist_groups

    get groups.

Get invitation, 2 operations

  • GETget_invitation

    get invitation.

  • GETlist_invitations

    get invitations.

Get ldap, 2 operations

  • GETget_ldap

    get ldap.

  • GETlist_ldaps

    get ldaps.

Get model, 2 operations

  • GETget_model

    get model.

  • GETlist_models

    get models.

Add adapter, 1 operation

  • POSTadd_adapter

    add adapter.

Add application, 1 operation

  • POSTadd_application

    add an application.

Add cert, 1 operation

  • POSTadd_cert

    add cert.

Add form, 1 operation

  • POSTadd_form

    add form.

Add group, 1 operation

  • POSTadd_group

    add group.

Add invitation, 1 operation

  • POSTadd_invitation

    add invitation.

Add ldap, 1 operation

  • POSTadd_ldap

    add ldap.

Add model, 1 operation

  • POSTadd_model

    add model.

Add order, 1 operation

  • POSTadd_order

    add order.

Add organization, 1 operation

  • POSTadd_organization

    add organization.

Add payment, 1 operation

  • POSTadd_payment

    add payment.

Add permission, 1 operation

  • POSTadd_permission

    add permission.

Add plan, 1 operation

  • POSTadd_plan

    add plan.

Add policy, 1 operation

  • POSTadd_policy

    add policy.

Add pricing, 1 operation

  • POSTadd_pricing

    add pricing.

Add product, 1 operation

  • POSTadd_product

    add product.

Add provider, 1 operation

  • POSTadd_provider

    add provider.

Add resource, 1 operation

  • POSTadd_resource

    create add_resource.

Add role, 1 operation

  • POSTadd_role

    add role.

Add session, 1 operation

  • POSTadd_session

    Add session for one user in one application. If there are other existing sessions, join the session into the list.

Add subscription, 1 operation

  • POSTadd_subscription

    add subscription.

Add syncer, 1 operation

  • POSTadd_syncer

    add syncer.

Add ticket, 1 operation

  • POSTadd_ticket

    add ticket.

Add ticket message, 1 operation

  • POSTadd_ticket_message

    add a message to a ticket.

Add token, 1 operation

  • POSTadd_token

    add token.

Add transaction, 1 operation

  • POSTadd_transaction

    add transaction.

Add user, 1 operation

  • POSTadd_user

    add user.

Add webhook, 1 operation

  • POSTadd_webhook

    add webhook.

Batch enforce, 1 operation

  • POSTbatch_enforce

    Call Casbin BatchEnforce API.

Buy product, 1 operation

  • POSTbuy_product

    buy product using the deprecated compatibility endpoint, prefer place-order plus pay-order for new integrations.

Cancel order, 1 operation

  • POSTcancel_order

    cancel an order.

Delete adapter, 1 operation

  • POSTdelete_adapter

    delete adapter.

Delete application, 1 operation

  • POSTdelete_application

    delete an application.

Delete cert, 1 operation

  • POSTdelete_cert

    delete cert.

Delete enforcer, 1 operation

  • POSTdelete_enforcer

    delete enforcer.

Delete form, 1 operation

  • POSTdelete_form

    delete form.

Delete group, 1 operation

  • POSTdelete_group

    delete group.

Delete invitation, 1 operation

  • POSTdelete_invitation

    delete invitation.

Delete ldap, 1 operation

  • POSTdelete_ldap

    delete ldap.

Delete model, 1 operation

  • POSTdelete_model

    delete model.

Delete order, 1 operation

  • POSTdelete_order

    delete order.

Delete organization, 1 operation

  • POSTdelete_organization

    delete organization.

Delete payment, 1 operation

  • POSTdelete_payment

    delete payment.

Delete permission, 1 operation

  • POSTdelete_permission

    delete permission.

Delete plan, 1 operation

  • POSTdelete_plan

    delete plan.

Delete pricing, 1 operation

  • POSTdelete_pricing

    delete pricing.

Delete product, 1 operation

  • POSTdelete_product

    delete product.

Delete provider, 1 operation

  • POSTdelete_provider

    delete provider.

Delete resource, 1 operation

  • POSTdelete_resource

    create delete_resource.

Delete role, 1 operation

  • POSTdelete_role

    delete role.

Delete session, 1 operation

  • POSTdelete_session

    Delete session for one user in one application.

Delete subscription, 1 operation

  • POSTdelete_subscription

    delete subscription.

Delete syncer, 1 operation

  • POSTdelete_syncer

    delete syncer.

Delete ticket, 1 operation

  • POSTdelete_ticket

    delete ticket.

Delete token, 1 operation

  • POSTdelete_token

    delete token.

Delete transaction, 1 operation

  • POSTdelete_transaction

    delete transaction.

Delete user, 1 operation

  • POSTdelete_user

    delete user.

Delete webhook, 1 operation

  • POSTdelete_webhook

    delete webhook.

Enforce, 1 operation

  • POSTenforce

    Call Casbin Enforce API.

Get account, 1 operation

  • GETget_account

    get the details of the current account.

Get all action, 1 operation

  • GETlist_all_actions

    Get all actions for a user (Casbin API).

Get all object, 1 operation

  • GETlist_all_objects

    Get all objects for a user (Casbin API).

Get all role, 1 operation

  • GETlist_all_roles

    Get all roles for a user (Casbin API).

Get app login, 1 operation

  • GETget_application_login_config

    get application login.

Get captcha statu, 1 operation

  • GETget_login_error_counts

    Get Login Error Counts.

Get dashboard, 1 operation

  • GETget_dashboard

    get information of dashboard.

Get default application, 1 operation

  • GETget_default_application

    get default application.

Get email and phone, 1 operation

  • GETget_email_and_phone

    get email and phone by username.

Get filtered policie, 1 operation

  • POSTget_filtered_policies

    get filtered policies with support for multiple filters via POST body.

Get global cert, 1 operation

  • GETlist_global_certs

    get global certs.

Get global form, 1 operation

  • GETlist_global_forms

    get global forms.

Get global provider, 1 operation

  • GETlist_global_providers

    get Global providers.

Get global user, 1 operation

  • GETlist_global_users

    get global users.

Get invitation info, 1 operation

  • GETget_invitation_info

    get invitation code information.

Get ldap user, 1 operation

  • GETlist_ldap_users

    get ldap users.

Get order, 1 operation

  • GETget_order

    get order.

Get organization, 1 operation

  • GETget_organization

    get organization.

Get payment, 1 operation

  • GETget_payment

    get payment.

Get permission, 1 operation

  • GETget_permission

    get permission.

Get plan, 1 operation

  • GETget_plan

    get plan.

Get pricing, 1 operation

  • GETget_pricing

    get pricing.

Get product, 1 operation

  • GETget_product

    get product.

Get prometheus info, 1 operation

  • GETget_prometheus_info

    get Prometheus Info.

Get provider, 1 operation

  • GETget_provider

    get provider.

Get resource, 1 operation

  • GETget_resource

    get resource.

Get role, 1 operation

  • GETget_role

    get role.

Get session, 1 operation

  • GETget_session

    Get session for one user in one application.

Get subscription, 1 operation

  • GETget_subscription

    get subscription.

Get syncer, 1 operation

  • GETget_syncer

    get syncer.

Get system info, 1 operation

  • GETget_system_info

    get system info like CPU and memory usage.

Get ticket, 1 operation

  • GETget_ticket

    get ticket.

Get token, 1 operation

  • GETget_token

    get token.

Get transaction, 1 operation

  • GETget_transaction

    get transaction.

Get user, 1 operation

  • GETget_user

    get user.

Get user application, 1 operation

  • GETget_user_application

    get the detail of the user's application.

Get user count, 1 operation

  • GETget_user_count

    list get_user_count.

Get version info, 1 operation

  • GETget_version_info

    get version info like Casdoor release version and commit ID.

Get webhook, 1 operation

  • GETget_webhook

    get webhook.

Health, 1 operation

  • GETget_health

    check if the system is live.

Invoice payment, 1 operation

  • POSTinvoice_payment

    invoice payment.

Is session duplicated, 1 operation

  • GETcheck_session_duplicated

    Check if there are other different sessions for one user in one application.

Metric, 1 operation

  • GETget_metrics

    get Prometheus metrics.

Showing the first 120 of 190 endpoints. The rest are in the product, searchable from the workflow builder and from chat.

Use Casdoor from Claude Code, Cursor or Codex

Connect Casdoor in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Casdoor operations become tools the client can call, next to every other integration you connected.

Claude Code
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"
Codex (~/.codex/config.toml)
[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"

[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"
Cursor, Claude Desktop and other JSON configs
{
  "mcpServers": {
    "livecontext": {
      "type": "http",
      "url": "https://livecontext.ai/mcp",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Set up the MCP server step by step

How to connect Casdoor

  1. Create your workspace

    Sign up free. Nothing to install.

  2. Connect Casdoor once

    Add your Casdoor connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.

  3. Describe the job in chat

    The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.

Casdoor integration FAQ

What can you do with the Casdoor integration?
LiveContext exposes 190 operations on Casdoor, covering get adapter, get application, get cert and get enforcer.

Popular integrations

Browse the whole catalog