wp_delete_user is one of 162 MCP tools included in Easy MCP AI β€” the WordPress plugin that connects Claude, ChatGPT, and any AI assistant to your site.

Install Free Plugin β†’

wp_delete_user

Destructive

Description

When a team member leaves, their WordPress account and content both need handling β€” Easy MCP AI lets your AI manage the offboarding entirely through conversation, including reassigning posts to another author before the account is removed. Because deletion is irreversible, Easy MCP AI's per-token tool permissions let you gate this action to specific trusted AI sessions, and the built-in audit log records exactly when and by which client the account was removed. No admin panel access is needed at any step.

See it in action

Claude Desktop β€” MCP Connection
πŸ‘€
A contributor named 'john_temp' is leaving the team. Delete their account and reassign their posts to 'main_editor'.
πŸ€–
Tool call wp_list_users

Looking up user "john_temp"…

{
  "total": 5,
  "users": [
    { "user_id": 7, "username": "john_temp", "role": "contributor", "post_count": 3 },
    { "user_id": 8, "username": "main_editor", "role": "editor", "post_count": 24 }
  ]
}
next step
Tool called wp_delete_user
{
  "user_id": 7,
  "username": "john_temp",
  "deleted": true,
  "posts_reassigned": 3,
  "reassigned_to": "main_editor"
}

Found user #7 β€” 'john_temp' (contributor). Account deleted and their 3 posts have been reassigned to 'main_editor' (#8).

Example Use Cases & Sample Prompts

  1. Offboarding a team member
    • Prompt: β€œA contributor named β€˜john_temp’ is leaving the team. Delete their account and reassign their posts to β€˜main_editor’.”
  2. Removing a test account
    • Prompt: β€œDelete the test user account we created earlier for staging verification.”
  3. Spam account cleanup
    • Prompt: β€œList subscriber accounts registered with suspicious email domains and delete them.”
  4. Guest author cleanup
    • Prompt: β€œThe guest post campaign is over. List and delete all accounts with the β€˜contributor’ role that were created during the campaign.”
  5. Security cleanup
    • Prompt: β€œA former admin needs to be removed. Find the account and delete it after confirming with me.”

Frequently Asked Questions

What does wp_delete_user do?

When a team member leaves, their WordPress account and content both need handling β€” Easy MCP AI lets your AI manage the offboarding entirely through conversation, including reassigning posts to another author before the account is removed. Because deletion is irreversible, Easy MCP AI's per-token tool permissions let you gate this action to specific trusted AI sessions, and the built-in audit log records exactly when and by which client the account was removed. No admin panel access is needed at any step.

How do I use wp_delete_user with my AI assistant?

Install the Easy MCP AI WordPress plugin, generate an API token in your dashboard, and connect your AI client (Claude, ChatGPT, Cursor, or any MCP-compatible assistant). Then simply describe what you want in natural language β€” for example: "A contributor named 'john_temp' is leaving the team. Delete their account and reassign their posts to 'main_editor'."

Do I need Easy MCP AI to use wp_delete_user?

Yes. wp_delete_user is one of 162 MCP tools bundled inside the Easy MCP AI WordPress plugin. Install the free plugin from WordPress.org, connect your AI client, and this tool becomes available immediately β€” no coding required.

Step 1

Get the Plugin

Install Easy MCP AI on your WordPress site to unlock wp_delete_user and all 74 tools instantly.

Download Free Plugin

Step 2

Connect Your AI Client

Already have the plugin? Step-by-step setup guides for Claude, ChatGPT, Cursor, Windsurf, and 10+ more.

View Setup Guides β†’

Newsletter

The AI + WordPress space moves fast. Keep up.

New tools, workflow ideas, and product updates β€” be the first to know what's next.

No spam, unsubscribe anytime.