update-user
Modify WordPress user details, including username, email, password, display name, and roles, using the 'update-user' tool for streamlined account management on WordPress MCP Server.
Instructions
Update an existing WordPress user
Input Schema
Name | Required | Description | Default |
---|---|---|---|
description | No | New description of the user | |
No | New email address for the user | ||
firstName | No | New first name for the user | |
lastName | No | New last name for the user | |
locale | No | New locale for the user | |
name | No | New display name for the user | |
newPassword | No | New password for the user | |
newUsername | No | New login name for the user | |
nickname | No | New nickname for the user | |
password | Yes | WordPress application password | |
roles | No | New roles assigned to the user | |
siteUrl | Yes | WordPress site URL | |
slug | No | New alphanumeric identifier for the user | |
url | No | New URL of the user | |
userId | Yes | User ID or 'me' for current user | |
username | Yes | WordPress username |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"description": {
"description": "New description of the user",
"type": "string"
},
"email": {
"description": "New email address for the user",
"format": "email",
"type": "string"
},
"firstName": {
"description": "New first name for the user",
"type": "string"
},
"lastName": {
"description": "New last name for the user",
"type": "string"
},
"locale": {
"description": "New locale for the user",
"enum": [
"",
"en_US"
],
"type": "string"
},
"name": {
"description": "New display name for the user",
"type": "string"
},
"newPassword": {
"description": "New password for the user",
"type": "string"
},
"newUsername": {
"description": "New login name for the user",
"type": "string"
},
"nickname": {
"description": "New nickname for the user",
"type": "string"
},
"password": {
"description": "WordPress application password",
"type": "string"
},
"roles": {
"description": "New roles assigned to the user",
"items": {
"type": "string"
},
"type": "array"
},
"siteUrl": {
"description": "WordPress site URL",
"format": "uri",
"type": "string"
},
"slug": {
"description": "New alphanumeric identifier for the user",
"type": "string"
},
"url": {
"description": "New URL of the user",
"format": "uri",
"type": "string"
},
"userId": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"const": "me",
"type": "string"
}
],
"description": "User ID or 'me' for current user"
},
"username": {
"description": "WordPress username",
"type": "string"
}
},
"required": [
"siteUrl",
"username",
"password",
"userId"
],
"type": "object"
}