Integration

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.

Ask it in chat

Say what should happen.
The workflow builds itself.

When this happens, do that in Casdoor.Built from the 190 Casdoor tools below, on the connection you add once.

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

  • get_adapterGet adapterGETget adapter.
  • list_adaptersList adaptersGETget adapters.

Get application, 2 operations

  • get_applicationGet applicationGETget the detail of an application.
  • list_applicationsList applicationsGETget all applications.

Get cert, 2 operations

  • get_certGet certGETget cert.
  • list_certsList certsGETget certs.

Get enforcer, 2 operations

  • get_enforcerGet enforcerGETget enforcer.
  • list_enforcersList enforcersGETget enforcers.

Get form, 2 operations

  • get_formGet formGETget form.
  • list_formsList formsGETget forms.

Get group, 2 operations

  • get_groupGet groupGETget group.
  • list_groupsList groupsGETget groups.

Get invitation, 2 operations

  • get_invitationGet invitationGETget invitation.
  • list_invitationsList invitationsGETget invitations.

Get ldap, 2 operations

  • get_ldapGet ldapGETget ldap.
  • list_ldapsList ldapsGETget ldaps.

Get model, 2 operations

  • get_modelGet modelGETget model.
  • list_modelsList modelsGETget models.

Add adapter, 1 operation

  • add_adapterAdd adapterPOSTadd adapter.

Add application, 1 operation

  • add_applicationAdd applicationPOSTadd an application.

Add cert, 1 operation

  • add_certAdd certPOSTadd cert.

Add form, 1 operation

  • add_formAdd formPOSTadd form.

Add group, 1 operation

  • add_groupAdd groupPOSTadd group.

Add invitation, 1 operation

  • add_invitationAdd invitationPOSTadd invitation.

Add ldap, 1 operation

  • add_ldapAdd ldapPOSTadd ldap.

Add model, 1 operation

  • add_modelAdd modelPOSTadd model.

Add order, 1 operation

  • add_orderAdd orderPOSTadd order.

Add organization, 1 operation

  • add_organizationAdd organizationPOSTadd organization.

Add payment, 1 operation

  • add_paymentAdd paymentPOSTadd payment.

Add permission, 1 operation

  • add_permissionAdd permissionPOSTadd permission.

Add plan, 1 operation

  • add_planAdd planPOSTadd plan.

Add policy, 1 operation

  • add_policyAdd policyPOSTadd policy.

Add pricing, 1 operation

  • add_pricingAdd pricingPOSTadd pricing.

Add product, 1 operation

  • add_productAdd productPOSTadd product.

Add provider, 1 operation

  • add_providerAdd providerPOSTadd provider.

Add resource, 1 operation

  • add_resourceAdd resourcePOSTcreate add_resource.

Add role, 1 operation

  • add_roleAdd rolePOSTadd role.

Add session, 1 operation

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

Add subscription, 1 operation

  • add_subscriptionAdd subscriptionPOSTadd subscription.

Add syncer, 1 operation

  • add_syncerAdd syncerPOSTadd syncer.

Add ticket, 1 operation

  • add_ticketAdd ticketPOSTadd ticket.

Add ticket message, 1 operation

  • add_ticket_messageAdd ticket messagePOSTadd a message to a ticket.

Add token, 1 operation

  • add_tokenAdd tokenPOSTadd token.

Add transaction, 1 operation

  • add_transactionAdd transactionPOSTadd transaction.

Add user, 1 operation

  • add_userAdd userPOSTadd user.

Add webhook, 1 operation

  • add_webhookAdd webhookPOSTadd webhook.

Batch enforce, 1 operation

  • batch_enforceBatch enforcePOSTCall Casbin BatchEnforce API.

Buy product, 1 operation

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

Cancel order, 1 operation

  • cancel_orderCancel orderPOSTcancel an order.

Delete adapter, 1 operation

  • delete_adapterDelete adapterPOSTdelete adapter.

Delete application, 1 operation

  • delete_applicationDelete applicationPOSTdelete an application.

Delete cert, 1 operation

  • delete_certDelete certPOSTdelete cert.

Delete enforcer, 1 operation

  • delete_enforcerDelete enforcerPOSTdelete enforcer.

Delete form, 1 operation

  • delete_formDelete formPOSTdelete form.

Delete group, 1 operation

  • delete_groupDelete groupPOSTdelete group.

Delete invitation, 1 operation

  • delete_invitationDelete invitationPOSTdelete invitation.

Delete ldap, 1 operation

  • delete_ldapDelete ldapPOSTdelete ldap.

Delete model, 1 operation

  • delete_modelDelete modelPOSTdelete model.

Delete order, 1 operation

  • delete_orderDelete orderPOSTdelete order.

Delete organization, 1 operation

  • delete_organizationDelete organizationPOSTdelete organization.

Delete payment, 1 operation

  • delete_paymentDelete paymentPOSTdelete payment.

Delete permission, 1 operation

  • delete_permissionDelete permissionPOSTdelete permission.

Delete plan, 1 operation

  • delete_planDelete planPOSTdelete plan.

Delete pricing, 1 operation

  • delete_pricingDelete pricingPOSTdelete pricing.

Delete product, 1 operation

  • delete_productDelete productPOSTdelete product.

Delete provider, 1 operation

  • delete_providerDelete providerPOSTdelete provider.

Delete resource, 1 operation

  • delete_resourceDelete resourcePOSTcreate delete_resource.

Delete role, 1 operation

  • delete_roleDelete rolePOSTdelete role.

Delete session, 1 operation

  • delete_sessionDelete sessionPOSTDelete session for one user in one application.

Delete subscription, 1 operation

  • delete_subscriptionDelete subscriptionPOSTdelete subscription.

Delete syncer, 1 operation

  • delete_syncerDelete syncerPOSTdelete syncer.

Delete ticket, 1 operation

  • delete_ticketDelete ticketPOSTdelete ticket.

Delete token, 1 operation

  • delete_tokenDelete tokenPOSTdelete token.

Delete transaction, 1 operation

  • delete_transactionDelete transactionPOSTdelete transaction.

Delete user, 1 operation

  • delete_userDelete userPOSTdelete user.

Delete webhook, 1 operation

  • delete_webhookDelete webhookPOSTdelete webhook.

Enforce, 1 operation

  • enforceEnforcePOSTCall Casbin Enforce API.

Get account, 1 operation

  • get_accountGet accountGETget the details of the current account.

Get all action, 1 operation

  • list_all_actionsList all actionsGETGet all actions for a user (Casbin API).

Get all object, 1 operation

  • list_all_objectsList all objectsGETGet all objects for a user (Casbin API).

Get all role, 1 operation

  • list_all_rolesList all rolesGETGet all roles for a user (Casbin API).

Get app login, 1 operation

  • get_application_login_configGet application login configGETget application login.

Get captcha statu, 1 operation

  • get_login_error_countsGet login error countsGETGet Login Error Counts.

Get dashboard, 1 operation

  • get_dashboardGet dashboardGETget information of dashboard.

Get default application, 1 operation

  • get_default_applicationGet default applicationGETget default application.

Get email and phone, 1 operation

  • get_email_and_phoneGet email and phoneGETget email and phone by username.

Get filtered policie, 1 operation

  • get_filtered_policiesGet filtered policiesPOSTget filtered policies with support for multiple filters via POST body.

Get global cert, 1 operation

  • list_global_certsList global certsGETget global certs.

Get global form, 1 operation

  • list_global_formsList global formsGETget global forms.

Get global provider, 1 operation

  • list_global_providersList global providersGETget Global providers.

Get global user, 1 operation

  • list_global_usersList global usersGETget global users.

Get invitation info, 1 operation

  • get_invitation_infoGet invitation infoGETget invitation code information.

Get ldap user, 1 operation

  • list_ldap_usersList ldap usersGETget ldap users.

Get order, 1 operation

  • get_orderGet orderGETget order.

Get organization, 1 operation

  • get_organizationGet organizationGETget organization.

Get payment, 1 operation

  • get_paymentGet paymentGETget payment.

Get permission, 1 operation

  • get_permissionGet permissionGETget permission.

Get plan, 1 operation

  • get_planGet planGETget plan.

Get pricing, 1 operation

  • get_pricingGet pricingGETget pricing.

Get product, 1 operation

  • get_productGet productGETget product.

Get prometheus info, 1 operation

  • get_prometheus_infoGet prometheus infoGETget Prometheus Info.

Get provider, 1 operation

  • get_providerGet providerGETget provider.

Get resource, 1 operation

  • get_resourceGet resourceGETget resource.

Get role, 1 operation

  • get_roleGet roleGETget role.

Get session, 1 operation

  • get_sessionGet sessionGETGet session for one user in one application.

Get subscription, 1 operation

  • get_subscriptionGet subscriptionGETget subscription.

Get syncer, 1 operation

  • get_syncerGet syncerGETget syncer.

Get system info, 1 operation

  • get_system_infoGet system infoGETget system info like CPU and memory usage.

Get ticket, 1 operation

  • get_ticketGet ticketGETget ticket.

Get token, 1 operation

  • get_tokenGet tokenGETget token.

Get transaction, 1 operation

  • get_transactionGet transactionGETget transaction.

Get user, 1 operation

  • get_userGet userGETget user.

Get user application, 1 operation

  • get_user_applicationGet user applicationGETget the detail of the user's application.

Get user count, 1 operation

  • get_user_countGet user countGETlist get_user_count.

Get version info, 1 operation

  • get_version_infoGet version infoGETget version info like Casdoor release version and commit ID.

Get webhook, 1 operation

  • get_webhookGet webhookGETget webhook.

Health, 1 operation

  • get_healthGet healthGETcheck if the system is live.

Invoice payment, 1 operation

  • invoice_paymentInvoice paymentPOSTinvoice payment.

Is session duplicated, 1 operation

  • check_session_duplicatedCheck session duplicatedGETCheck if there are other different sessions for one user in one application.

Metric, 1 operation

  • get_metricsGet metricsGETget 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