create-user
Generate and manage new WordPress users by specifying login credentials, personal details, and roles directly via the MCP server's REST API integration.
Instructions
Create a new WordPress user
Input Schema
Name | Required | Description | Default |
---|---|---|---|
description | No | Description of the user | |
Yes | Email address for the new user | ||
firstName | No | First name for the user | |
lastName | No | Last name for the user | |
locale | No | Locale for the user | |
name | No | Display name for the user | |
newPassword | Yes | Password for the new user | |
newUsername | Yes | Login name for the new user | |
nickname | No | The nickname for the user | |
password | Yes | WordPress application password | |
roles | No | Roles assigned to the user | |
siteUrl | Yes | WordPress site URL | |
slug | No | An alphanumeric identifier for the user | |
url | No | URL of the user | |
username | Yes | WordPress username |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"description": {
"description": "Description of the user",
"type": "string"
},
"email": {
"description": "Email address for the new user",
"format": "email",
"type": "string"
},
"firstName": {
"description": "First name for the user",
"type": "string"
},
"lastName": {
"description": "Last name for the user",
"type": "string"
},
"locale": {
"description": "Locale for the user",
"enum": [
"",
"en_US"
],
"type": "string"
},
"name": {
"description": "Display name for the user",
"type": "string"
},
"newPassword": {
"description": "Password for the new user",
"type": "string"
},
"newUsername": {
"description": "Login name for the new user",
"type": "string"
},
"nickname": {
"description": "The nickname for the user",
"type": "string"
},
"password": {
"description": "WordPress application password",
"type": "string"
},
"roles": {
"description": "Roles assigned to the user",
"items": {
"type": "string"
},
"type": "array"
},
"siteUrl": {
"description": "WordPress site URL",
"format": "uri",
"type": "string"
},
"slug": {
"description": "An alphanumeric identifier for the user",
"type": "string"
},
"url": {
"description": "URL of the user",
"format": "uri",
"type": "string"
},
"username": {
"description": "WordPress username",
"type": "string"
}
},
"required": [
"siteUrl",
"username",
"password",
"newUsername",
"email",
"newPassword"
],
"type": "object"
}