Account MCP Prompts: Access & Logs
Turn on: Settings → MCP → Access & logs. This group is off by default: the account owner turns it on. Adding, changing and deleting users needs a read-write connection.
Every change to a WordPress user is Asks to confirm: nothing changes until you answer yes. No password is ever sent through the assistant: WordPress emails the user a link instead.
Replace each
[placeholder]with your own value.[mysite.com]is the site's domain, as shown in the dashboard. To just list a site's users, see List a site's WordPress users.
WordPress users
Add a WordPress user
Asks to confirm
Create a WordPress user on [mysite.com] with username [username], email [user email] and role editor.WordPress emails the user a link to set their password. If the site can't send email, the user is still created, and the assistant tells you the email didn't go out.
Change a user's role
Asks to confirm
Change the role of WordPress user [username] on [mysite.com] to author.The site's only administrator can't lose that role, and the admin account InstaWP uses for the site can't have its role changed.
Change a user's email
Asks to confirm
Change the email of WordPress user [username] on [mysite.com] to [new email].Send a password reset link
Asks to confirm
Send a password reset email to WordPress user [username] on [mysite.com].Delete a WordPress user
Asks to confirm
Delete WordPress user [username] from [mysite.com] and reassign their posts and pages to user [new owner username].Every user's content has to go to another user; name who gets it.
Same in the dashboard: Remove Suspicious Admin Users · Reset WordPress User Accounts' Password
Logs
Read a site's error log
Show the last 50 lines of the error log of [mysite.com].Up to 500 lines at a time. Common secrets (tokens, keys, passwords, cookies) are masked as [redacted]. When the log is empty, the assistant says no logs were found.
Read a site's debug log
Show the last 100 lines of the debug log of [mysite.com].The debug log is written only when WP_DEBUG_LOG is on.
Same in the dashboard: Where Are My Site's Error Logs?
Related
- Prompt Recipes: for example, fix a "memory exhausted" error
- Connect AI Assistants to Your Account (Account MCP)