wp_create_user
Create a new WordPress user by providing username, email, password, and optional roles. Supports targeting specific sites when multiple are configured.
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. | |
| username | Yes | The username for the new user. | |
| Yes | The email address for the new user. | ||
| password | Yes | The password for the new user. | |
| roles | No | An array of roles to assign to the user. |