WordPress MCP Server

update-user

Modify WordPress user details such as username, email, password, and roles. Specify the user ID or 'me' for the current user. Requires site URL and authentication credentials.

Instructions

Update an existing WordPress user

Input Schema

NameRequiredDescriptionDefault
descriptionNoNew description of the user
emailNoNew email address for the user
firstNameNoNew first name for the user
lastNameNoNew last name for the user
localeNoNew locale for the user
nameNoNew display name for the user
newPasswordNoNew password for the user
newUsernameNoNew login name for the user
nicknameNoNew nickname for the user
passwordYesWordPress application password
rolesNoNew roles assigned to the user
siteUrlYesWordPress site URL
slugNoNew alphanumeric identifier for the user
urlNoNew URL of the user
userIdYesUser ID or 'me' for current user
usernameYesWordPress 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" }
ID: 4g84e42ylk