mcp-easy-ai__wp_get_user
Gets a WordPress user by ID. Pass user_id = 0 to get the currently authenticated user. Returns { id, username, name (display name), first_name, last_name, email, roles (array), description, registered_date (ISO 8601), url (website), slug (user_nicename), nickname, locale, link (author posts URL), capabilities (every capability the user has, from roles and grants), extra_capabilities (the user's own capability map: role names and direct grants), user_registered (UTC, "Y-m-d H:i:s"), user_status, and on multisite spam and deleted (booleans) }. The password hash and activation key are never returned. Always requests full edit-context data: for the caller's own account, or when the caller is an administrator, the complete field set above is returned; requesting another user's data without sufficient capability fails with a 403 error rather than returning a partial/subset response. Through Royally: its server marks it read-only, so it runs straight away.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | No | Site to run this tool on: 8ef2e52b-bd07-4671-a363-ebe8b480b65c (https://demo.royalplugins.com) | |
| user_id | Yes | The ID of the user to retrieve. Use 0 to get the current user. |