wp_get_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_get_user
Read-onlyDescription
A quick role check before an update, or verifying an email address before a password reset β Easy MCP AI makes these lookups instant by giving AI clients direct read access to WordPress user profiles. Retrieve the full account record for any user by ID: username, display name, email, assigned role, and registration date, all returned to your AI without opening the admin panel. Easy MCP AI uses this data as the confirmation step before any destructive operation like a role change or deletion.
See it in action
wp_get_user {
"user_id": 7,
"username": "jane.doe",
"display_name": "Jane Doe",
"email": "jane@example.com",
"role": "editor",
"post_count": 12
} Here are the full profile details for that user.
Example Use Cases & Sample Prompts
- Checking a userβs role
- Prompt: βWhat role does the user βjane_smithβ currently have?β
- Verifying before editing
- Prompt: βLook up the user βjohn_writerβ to confirm their current email before we update it.β
- Author profile check
- Prompt: βGet the profile details for the author who wrote our most recent post.β
- Onboarding confirmation
- Prompt: βAfter creating the new account, fetch its details to confirm the role and email are correct.β
- Support troubleshooting
- Prompt: βA user says they canβt access the editor β look up their account to check their assigned role.β
Frequently Asked Questions
What does wp_get_user do?
A quick role check before an update, or verifying an email address before a password reset β Easy MCP AI makes these lookups instant by giving AI clients direct read access to WordPress user profiles. Retrieve the full account record for any user by ID: username, display name, email, assigned role, and registration date, all returned to your AI without opening the admin panel. Easy MCP AI uses this data as the confirmation step before any destructive operation like a role change or deletion.
How do I use wp_get_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: "Get the profile details of the user with username 'admin'."
Do I need Easy MCP AI to use wp_get_user?
Yes. wp_get_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.
Related Tools
UsersCreate a new WordPress user with username, email, password, and role
Delete a WordPress user by ID and optionally reassign their content
List all WordPress users filtered by role, status, or search keyword
Update a WordPress user's role, email, display name, or password by ID
Ask your AI to browse posts by status, category, tag, author, or keyword with pagination
Step 1
Get the Plugin
Install Easy MCP AI on your WordPress site to unlock wp_get_user and all 74 tools instantly.
Step 2
Connect Your AI Client
Already have the plugin? Step-by-step setup guides for Claude, ChatGPT, Cursor, Windsurf, and 10+ more.