Compatible with every major AI agent and IDE
What is the Casdoor (IAM) MCP Server?
Connect your Casdoor IAM instance to any AI agent to streamline your identity and access management workflows through natural conversation.
What you can do
- User Management — Create, update, delete, and retrieve detailed profiles for users across your organizations using the
add_user,update_user, anddelete_usertools. - Organization Oversight — List all organizations and fetch specific configuration details for your IAM hierarchy with
list_organizationsandget_organization. - Application Control — Query and manage applications registered within your Casdoor instance using
list_applicationsandget_application. - Identity Inspection — Instantly retrieve the profile of the currently authenticated user to verify permissions via
get_userinfo.
How it works
- Subscribe to this server
- Enter your Casdoor Endpoint, Client ID, and Client Secret
- Start managing your identity infrastructure from Claude, Cursor, or any MCP-compatible client
Who is this for?
- DevOps Engineers — Automate user provisioning and organization audits without leaving the terminal or IDE.
- Security Teams — Quickly inspect user permissions and application configurations for compliance and security reviews.
- Full-stack Developers — Manage test users and application settings directly while coding to maintain development flow.
Built-in capabilities (10)
Requires owner (organization) and name (username). Add a new user
Requires the owner (organization) and name (username) of the user to delete. Delete a user
Get a specific application
Get a specific organization
Get a specific user by ID
Get the profile of the authenticated user
List applications in an organization
List all organizations
List users in an organization
The ID parameter must be formatted as <organization>/<username>. Update an existing user
Why Mastra AI?
Mastra's agent abstraction provides a clean separation between LLM logic and Casdoor (IAM) tool infrastructure. Connect 10 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.
- —
Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add Casdoor (IAM) without touching business code
- —
Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation
- —
TypeScript-native: full type inference for every Casdoor (IAM) tool response with IDE autocomplete and compile-time checks
- —
One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure
Casdoor (IAM) in Mastra AI
Casdoor (IAM) and 4,000+ other MCP servers. One platform. One governance layer.
Teams that connect Casdoor (IAM) to Mastra AI through Vinkius don't need to source, host, or maintain individual MCP servers. Every tool call runs inside a hardened runtime with credential isolation, DLP, and a signed audit chain.
Raw MCP | Vinkius | |
|---|---|---|
| Server catalog | Find and host yourself | 4,000+ managed |
| Infrastructure | Self-hosted | Sandboxed V8 isolates |
| Credential handling | Plaintext in config | Vault + runtime injection |
| Data loss prevention | None | Configurable DLP policies |
| Kill switch | None | Global instant shutdown |
| Financial circuit breakers | None | Per-server limits + alerts |
| Audit trail | None | Ed25519 signed logs |
| SIEM log streaming | None | Splunk, Datadog, Webhook |
| Honeytokens | None | Canary alerts on leak |
| Custom domains | Not applicable | DNS challenge verified |
| GDPR compliance | Manual effort | Automated purge + export |
Why teams choose Vinkius for Casdoor (IAM) in Mastra AI
The Casdoor (IAM) MCP Server runs on Vinkius-managed infrastructure inside AWS — a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts. All 10 tools execute in hardened sandboxes optimized for native MCP execution.
Your AI agents in Mastra AI only access the data you authorize, with DLP that blocks sensitive information from ever reaching the model, kill switch for instant shutdown, and up to 60% token savings. Enterprise-grade infrastructure, zero maintenance.

* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
How Vinkius secures
Casdoor (IAM) for Mastra AI
Every tool call from Mastra AI to the Casdoor (IAM) MCP Server is protected by DLP redaction, cryptographic audit chains, V8 sandbox isolation, kill switch, and financial circuit breakers.
Frequently asked questions
How do I list all users belonging to a specific organization?
Use the list_users tool and provide the organization name in the 'owner' parameter. The agent will return a list of all users registered under that organization.
What format should I use to fetch a specific user's details?
When using the get_user tool, the ID must be formatted as <organization>/<username>. For example, to find user 'alice' in the 'built-in' organization, use 'built-in/alice'.
Can I manage applications and organizations as well?
Yes. You can use list_organizations and get_organization to manage your hierarchy, and list_applications or get_application to inspect app-specific configurations.
How does Mastra AI connect to MCP servers?
Create an MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.
Can Mastra agents use tools from multiple servers?
Yes. Pass multiple MCP clients to the agent constructor. Mastra merges all tool schemas and the agent can call any tool from any server.
Does Mastra support workflow orchestration?
Yes. Mastra has a built-in workflow engine that lets you chain MCP tool calls with branching logic, error handling, and parallel execution.
createMCPClient not exported
Install: npm install @mastra/mcp
Explore More MCP Servers
View all →
BotPenguin
8 toolsManage your chatbots and live chat via BotPenguin — list contacts, orchestrate chats, and send messages directly from any AI agent.

IBGE Serviços de Dados
8 toolsAccess official Brazilian statistics, geographic data, economic classifications (CNAE), and demographic insights directly from IBGE.

WA Smart Business
7 toolsAutomate WhatsApp marketing and communication via WA Smart Business — manage contacts, groups, and messages directly from any AI agent.

Expedia Vrbo
10 toolsConnect Expedia Vrbo to any AI agent via MCP.
