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.
Say what should happen.
The workflow builds itself.
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.
Each badge shows the default agent permission of an endpoint (allowed: an agent calls it without asking; ask first: you are asked before an agent calls it, when the agent or chat asks permission for sensitive actions; never: no agent may call it), which every user can change endpoint by endpoint in their credential settings.
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 adapterGETAgents: ask firstget adapter.list_adaptersList adaptersGETAgents: ask firstget adapters.
Get application, 2 operations
get_applicationGet applicationGETAgents: ask firstget the detail of an application.list_applicationsList applicationsGETAgents: ask firstget all applications.
Get cert, 2 operations
get_certGet certGETAgents: ask firstget cert.list_certsList certsGETAgents: ask firstget certs.
Get enforcer, 2 operations
get_enforcerGet enforcerGETAgents: ask firstget enforcer.list_enforcersList enforcersGETAgents: ask firstget enforcers.
Get form, 2 operations
get_formGet formGETAgents: ask firstget form.list_formsList formsGETAgents: ask firstget forms.
Get group, 2 operations
get_groupGet groupGETAgents: ask firstget group.list_groupsList groupsGETAgents: ask firstget groups.
Get invitation, 2 operations
get_invitationGet invitationGETAgents: ask firstget invitation.list_invitationsList invitationsGETAgents: ask firstget invitations.
Get ldap, 2 operations
get_ldapGet ldapGETAgents: ask firstget ldap.list_ldapsList ldapsGETAgents: ask firstget ldaps.
Get model, 2 operations
get_modelGet modelGETAgents: ask firstget model.list_modelsList modelsGETAgents: ask firstget models.
Add adapter, 1 operation
add_adapterAdd adapterPOSTAgents: ask firstadd adapter.
Add application, 1 operation
add_applicationAdd applicationPOSTAgents: ask firstadd an application.
Add cert, 1 operation
add_certAdd certPOSTAgents: ask firstadd cert.
Add form, 1 operation
add_formAdd formPOSTAgents: ask firstadd form.
Add group, 1 operation
add_groupAdd groupPOSTAgents: ask firstadd group.
Add invitation, 1 operation
add_invitationAdd invitationPOSTAgents: ask firstadd invitation.
Add ldap, 1 operation
add_ldapAdd ldapPOSTAgents: ask firstadd ldap.
Add model, 1 operation
add_modelAdd modelPOSTAgents: ask firstadd model.
Add order, 1 operation
add_orderAdd orderPOSTAgents: ask firstadd order.
Add organization, 1 operation
add_organizationAdd organizationPOSTAgents: ask firstadd organization.
Add payment, 1 operation
add_paymentAdd paymentPOSTAgents: ask firstadd payment.
Add permission, 1 operation
add_permissionAdd permissionPOSTAgents: ask firstadd permission.
Add plan, 1 operation
add_planAdd planPOSTAgents: ask firstadd plan.
Add policy, 1 operation
add_policyAdd policyPOSTAgents: ask firstadd policy.
Add pricing, 1 operation
add_pricingAdd pricingPOSTAgents: ask firstadd pricing.
Add product, 1 operation
add_productAdd productPOSTAgents: ask firstadd product.
Add provider, 1 operation
add_providerAdd providerPOSTAgents: ask firstadd provider.
Add resource, 1 operation
add_resourceAdd resourcePOSTAgents: ask firstcreate add_resource.
Add role, 1 operation
add_roleAdd rolePOSTAgents: ask firstadd role.
Add session, 1 operation
add_sessionAdd sessionPOSTAgents: ask firstAdd 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 subscriptionPOSTAgents: ask firstadd subscription.
Add syncer, 1 operation
add_syncerAdd syncerPOSTAgents: ask firstadd syncer.
Add ticket, 1 operation
add_ticketAdd ticketPOSTAgents: ask firstadd ticket.
Add ticket message, 1 operation
add_ticket_messageAdd ticket messagePOSTAgents: ask firstadd a message to a ticket.
Add token, 1 operation
add_tokenAdd tokenPOSTAgents: ask firstadd token.
Add transaction, 1 operation
add_transactionAdd transactionPOSTAgents: ask firstadd transaction.
Add user, 1 operation
add_userAdd userPOSTAgents: ask firstadd user.
Add webhook, 1 operation
add_webhookAdd webhookPOSTAgents: ask firstadd webhook.
Batch enforce, 1 operation
batch_enforceBatch enforcePOSTAgents: ask firstCall Casbin BatchEnforce API.
Buy product, 1 operation
buy_productBuy productPOSTAgents: ask firstbuy product using the deprecated compatibility endpoint, prefer place-order plus pay-order for new integrations.
Cancel order, 1 operation
cancel_orderCancel orderPOSTAgents: ask firstcancel an order.
Delete adapter, 1 operation
delete_adapterDelete adapterPOSTAgents: ask firstdelete adapter.
Delete application, 1 operation
delete_applicationDelete applicationPOSTAgents: ask firstdelete an application.
Delete cert, 1 operation
delete_certDelete certPOSTAgents: ask firstdelete cert.
Delete enforcer, 1 operation
delete_enforcerDelete enforcerPOSTAgents: ask firstdelete enforcer.
Delete form, 1 operation
delete_formDelete formPOSTAgents: ask firstdelete form.
Delete group, 1 operation
delete_groupDelete groupPOSTAgents: ask firstdelete group.
Delete invitation, 1 operation
delete_invitationDelete invitationPOSTAgents: ask firstdelete invitation.
Delete ldap, 1 operation
delete_ldapDelete ldapPOSTAgents: ask firstdelete ldap.
Delete model, 1 operation
delete_modelDelete modelPOSTAgents: ask firstdelete model.
Delete order, 1 operation
delete_orderDelete orderPOSTAgents: ask firstdelete order.
Delete organization, 1 operation
delete_organizationDelete organizationPOSTAgents: ask firstdelete organization.
Delete payment, 1 operation
delete_paymentDelete paymentPOSTAgents: ask firstdelete payment.
Delete permission, 1 operation
delete_permissionDelete permissionPOSTAgents: ask firstdelete permission.
Delete plan, 1 operation
delete_planDelete planPOSTAgents: ask firstdelete plan.
Delete pricing, 1 operation
delete_pricingDelete pricingPOSTAgents: ask firstdelete pricing.
Delete product, 1 operation
delete_productDelete productPOSTAgents: ask firstdelete product.
Delete provider, 1 operation
delete_providerDelete providerPOSTAgents: ask firstdelete provider.
Delete resource, 1 operation
delete_resourceDelete resourcePOSTAgents: ask firstcreate delete_resource.
Delete role, 1 operation
delete_roleDelete rolePOSTAgents: ask firstdelete role.
Delete session, 1 operation
delete_sessionDelete sessionPOSTAgents: ask firstDelete session for one user in one application.
Delete subscription, 1 operation
delete_subscriptionDelete subscriptionPOSTAgents: ask firstdelete subscription.
Delete syncer, 1 operation
delete_syncerDelete syncerPOSTAgents: ask firstdelete syncer.
Delete ticket, 1 operation
delete_ticketDelete ticketPOSTAgents: ask firstdelete ticket.
Delete token, 1 operation
delete_tokenDelete tokenPOSTAgents: ask firstdelete token.
Delete transaction, 1 operation
delete_transactionDelete transactionPOSTAgents: ask firstdelete transaction.
Delete user, 1 operation
delete_userDelete userPOSTAgents: ask firstdelete user.
Delete webhook, 1 operation
delete_webhookDelete webhookPOSTAgents: ask firstdelete webhook.
Enforce, 1 operation
enforceEnforcePOSTAgents: ask firstCall Casbin Enforce API.
Get account, 1 operation
get_accountGet accountGETAgents: ask firstget the details of the current account.
Get all action, 1 operation
list_all_actionsList all actionsGETAgents: ask firstGet all actions for a user (Casbin API).
Get all object, 1 operation
list_all_objectsList all objectsGETAgents: ask firstGet all objects for a user (Casbin API).
Get all role, 1 operation
list_all_rolesList all rolesGETAgents: ask firstGet all roles for a user (Casbin API).
Get app login, 1 operation
get_application_login_configGet application login configGETAgents: ask firstget application login.
Get captcha statu, 1 operation
get_login_error_countsGet login error countsGETAgents: ask firstGet Login Error Counts.
Get dashboard, 1 operation
get_dashboardGet dashboardGETAgents: ask firstget information of dashboard.
Get default application, 1 operation
get_default_applicationGet default applicationGETAgents: ask firstget default application.
Get email and phone, 1 operation
get_email_and_phoneGet email and phoneGETAgents: ask firstget email and phone by username.
Get filtered policie, 1 operation
get_filtered_policiesGet filtered policiesPOSTAgents: ask firstget filtered policies with support for multiple filters via POST body.
Get global cert, 1 operation
list_global_certsList global certsGETAgents: ask firstget global certs.
Get global form, 1 operation
list_global_formsList global formsGETAgents: ask firstget global forms.
Get global provider, 1 operation
list_global_providersList global providersGETAgents: ask firstget Global providers.
Get global user, 1 operation
list_global_usersList global usersGETAgents: ask firstget global users.
Get invitation info, 1 operation
get_invitation_infoGet invitation infoGETAgents: ask firstget invitation code information.
Get ldap user, 1 operation
list_ldap_usersList ldap usersGETAgents: ask firstget ldap users.
Get order, 1 operation
get_orderGet orderGETAgents: ask firstget order.
Get organization, 1 operation
get_organizationGet organizationGETAgents: ask firstget organization.
Get payment, 1 operation
get_paymentGet paymentGETAgents: ask firstget payment.
Get permission, 1 operation
get_permissionGet permissionGETAgents: ask firstget permission.
Get plan, 1 operation
get_planGet planGETAgents: ask firstget plan.
Get pricing, 1 operation
get_pricingGet pricingGETAgents: ask firstget pricing.
Get product, 1 operation
get_productGet productGETAgents: ask firstget product.
Get prometheus info, 1 operation
get_prometheus_infoGet prometheus infoGETAgents: ask firstget Prometheus Info.
Get provider, 1 operation
get_providerGet providerGETAgents: ask firstget provider.
Get resource, 1 operation
get_resourceGet resourceGETAgents: ask firstget resource.
Get role, 1 operation
get_roleGet roleGETAgents: ask firstget role.
Get session, 1 operation
get_sessionGet sessionGETAgents: ask firstGet session for one user in one application.
Get subscription, 1 operation
get_subscriptionGet subscriptionGETAgents: ask firstget subscription.
Get syncer, 1 operation
get_syncerGet syncerGETAgents: ask firstget syncer.
Get system info, 1 operation
get_system_infoGet system infoGETAgents: ask firstget system info like CPU and memory usage.
Get ticket, 1 operation
get_ticketGet ticketGETAgents: ask firstget ticket.
Get token, 1 operation
get_tokenGet tokenGETAgents: ask firstget token.
Get transaction, 1 operation
get_transactionGet transactionGETAgents: ask firstget transaction.
Get user, 1 operation
get_userGet userGETAgents: ask firstget user.
Get user application, 1 operation
get_user_applicationGet user applicationGETAgents: ask firstget the detail of the user's application.
Get user count, 1 operation
get_user_countGet user countGETAgents: ask firstlist get_user_count.
Get version info, 1 operation
get_version_infoGet version infoGETAgents: ask firstget version info like Casdoor release version and commit ID.
Get webhook, 1 operation
get_webhookGet webhookGETAgents: ask firstget webhook.
Health, 1 operation
get_healthGet healthGETAgents: ask firstcheck if the system is live.
Invoice payment, 1 operation
invoice_paymentInvoice paymentPOSTAgents: ask firstinvoice payment.
Is session duplicated, 1 operation
check_session_duplicatedCheck session duplicatedGETAgents: ask firstCheck if there are other different sessions for one user in one application.
Metric, 1 operation
get_metricsGet metricsGETAgents: ask firstget 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 mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"
[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"{
"mcpServers": {
"livecontext": {
"type": "http",
"url": "https://livecontext.ai/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}How to connect Casdoor
- Create your workspace
Sign up free. Nothing to install.
- 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.
- 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.
