• PROVISIONED
  • UPDATED
  • CLEANED
  • HUMAN

How to bulk provision Duo users with your AI

Connect Duo Security to your AI client to handle user lifecycle management through chat. You stop clicking through dashboards and start using commands.

Ask AI about this page

Short answer

How can I bulk provision Duo users with my AI?

You give your AI a list of names or a description of a group, and it executes the necessary Duo API calls to create or update those accounts. This turns a manual administrative task into a conversation. Here is how the automation works.

The outcomes

What happens after you prompt

Your AI translates your intent into specific Duo actions.

PROVISIONED

New users created

The AI identifies new people from your text and sets up their Duo profiles automatically.

UPDATED

User data synced

Changes to roles or group memberships are applied to existing Duo accounts immediately.

CLEANED

Inactive users removed

The AI identifies users who should no longer have access and handles their removal.

HUMAN

Review required

You decide when the AI should stop and ask for your permission before deleting anyone.

The workflow

What your AI does when the request arrives.

The AI maps your natural language to specific Duo Security tools.

  1. Identify users

    Your AI parses your message to figure out who needs to be added or changed in Duo.

    create_user
  2. Execute bulk changes

    The AI processes the list of users you provided to build out the new accounts.

    bulk_create_users
  3. Update existing profiles

    If you are changing permissions or details for people already in the system, the AI updates them.

    modify_user
  4. Handle removals

    The AI can either move users to a trash state or restore those who were previously removed.

    trash_usersrestore_users

Try it

Copy these to start.

Use these prompts to trigger Duo actions.

Starting points

Replace the bracketed info with your actual user data or group names.

Duo Security Connector

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

Connector linkhttps://edge.vinkius.com/vk_preview_vZrSTXFunenPOtS5fqDzXaQfYS8LNoq0t0Z7onBU/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 — Duo Security capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "duo-security-two-factor-authentication-api-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_vZrSTXFunenPOtS5fqDzXaQfYS8LNoq0t0Z7onBU/mcp"
    }
  }
}
Copy into chat04
  • Create new Duo users for the following list: [Name, Email, Group]

  • Update the Duo group membership for [User Name] to [New Group]

  • Remove all users in the [Department Name] group from Duo

  • Restore the Duo account for [User Email] that was recently deleted

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

Start here

Connect Duo Security once, then ask.

You link your Duo account to Vinkius in one step. Your credentials stay encrypted and your AI client gets immediate access to the tools.

Connect Duo Security to your AI

FAQ

How the Duo Security MCP behaves

  • 01

    Can the AI delete users on its own?

    No. The AI uses the trash tool to mark users for removal, but you maintain control over the final state of your directory.

  • 02

    Does the AI need to see my Duo admin password?

    No. You connect via Vinkius, which manages the connection securely so your AI client never sees your raw credentials.

  • 03

    Can I use this to create users from a CSV file?

    Yes. You can paste the contents of a CSV or a list into your chat, and the AI will process the bulk creation.

  • 04

    Can the AI change my Duo security policies?

    No. The available tools are limited to user management, such as creating, modifying, and trashing users.

  • 05

    What happens if I give the AI a name it doesn't recognize?

    The AI will tell you it can't find that user and ask for clarification before attempting any modifications.

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

Connect Duo Security to Claude, Cursor, ChatGPT & more