wp_create_user
Create a new user on a WordPress site by providing username, email, and password. Optionally assign roles and target a specific site.
Instructions
Creates a new user.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | No | The ID of the WordPress site to target (from mcp-wordpress.config.json). Required if multiple sites are configured. | |
| Yes | The email address for the new user. | ||
| roles | No | An array of roles to assign to the user. | |
| password | Yes | The password for the new user. | |
| username | Yes | The username for the new user. |