For the complete documentation index, see llms.txt. This page is also available as Markdown.

Users

Users abilities of the Hostinger AI plugin's WordPress site MCP server. Search, create, update and delete user accounts, including the connected user.

Search, create, update and delete user accounts, including the connected user.

Available: Always.

Ability
What it does
Type

Create a new WordPress user.

Changes the site

Delete a WordPress user by ID.

Destructive · Safe to retry

Get a single WordPress user by ID.

Read-only

Get the current logged-in user information.

Read-only

Search and filter WordPress users with pagination.

Read-only

Update an existing WordPress user by ID.

Changes the site · Safe to retry

Update the current logged-in user information.

Changes the site · Safe to retry

Create User

hostinger-ai/users-create · Changes the site

Create a new WordPress user.

Required parameter
Type
Description

username

string

Login name for the user.

email

string

The email address for the user.

password

string

Password for the user (never included).

Optional parameters (10)
Parameter
Type
Description

name

string

Display name for the user.

first_name

string

First name for the user.

last_name

string

Last name for the user.

url

string

URL of the user.

description

string

Description of the user.

locale

one of ``, en_US

Locale for the user.

nickname

string

The nickname for the user.

slug

string

An alphanumeric identifier for the user.

roles

array of string

Roles assigned to the user.

meta

object

Meta fields.

Description sent to AI tools

Create a new WordPress user. Requires username and email.

Delete User

hostinger-ai/users-delete · Destructive · Safe to retry

Delete a WordPress user by ID.

Required parameter
Type
Description

id

integer

Unique identifier for the resource

Description sent to AI tools

Delete a WordPress user by ID. This action cannot be undone.

Get User

hostinger-ai/users-get · Read-only

Get a single WordPress user by ID.

Required parameter
Type
Description

id

integer

Unique identifier for the resource

Description sent to AI tools

Get a single WordPress user by ID. Returns the full user object with all fields.

Get Current User

hostinger-ai/users-get-current · Read-only

Get the current logged-in user information.

Required parameter
Type
Description

id

integer

Unique identifier for the resource

Search Users

hostinger-ai/users-search · Read-only

Search and filter WordPress users with pagination.

No required parameters.

Optional parameters (15)
Parameter
Type
Default
Description

context

one of view, embed, edit

view

Scope under which the request is made; determines fields present in response.

page

integer

1

Current page of the collection.

per_page

integer

10

Maximum number of items to be returned in result set.

search

string

Limit results to those matching a string.

exclude

array of integer

[]

Ensure result set excludes specific IDs.

include

array of integer

[]

Limit result set to specific IDs.

offset

integer

Offset the result set by a specific number of items.

order

one of asc, desc

asc

Order sort attribute ascending or descending.

orderby

one of id, include, name, registered_date, slug, include_slugs, email, url

name

Sort collection by user attribute.

slug

array of string

Limit result set to users with one or more specific slugs.

roles

array of string

Limit result set to users matching at least one specific role provided. Accepts csv list or single role.

capabilities

array of string

Limit result set to users matching at least one specific capability provided. Accepts csv list or single capability.

who

one of authors

Limit result set to users who are considered authors.

has_published_posts

array of post, page

Limit result set to users who have published posts.

search_columns

array of email, name, id, username, slug

[]

Array of column names to be searched.

Description sent to AI tools

Search and filter WordPress users with pagination. Returns a list of users matching the search criteria.

Update User

hostinger-ai/users-update · Changes the site · Safe to retry

Update an existing WordPress user by ID.

Required parameter
Type
Description

id

integer

Unique identifier for the resource

Optional parameters (13)
Parameter
Type
Description

username

string

Login name for the user.

name

string

Display name for the user.

first_name

string

First name for the user.

last_name

string

Last name for the user.

email

string

The email address for the user.

url

string

URL of the user.

description

string

Description of the user.

locale

one of ``, en_US

Locale for the user.

nickname

string

The nickname for the user.

slug

string

An alphanumeric identifier for the user.

roles

array of string

Roles assigned to the user.

password

string

Password for the user (never included).

meta

object

Meta fields.

Description sent to AI tools

Update an existing WordPress user by ID. Only provided fields will be updated.

Update Current User

hostinger-ai/users-update-current · Changes the site · Safe to retry

Update the current logged-in user information.

Required parameter
Type
Description

id

integer

Unique identifier for the resource

Optional parameters (13)
Parameter
Type
Description

username

string

Login name for the user.

name

string

Display name for the user.

first_name

string

First name for the user.

last_name

string

Last name for the user.

email

string

The email address for the user.

url

string

URL of the user.

description

string

Description of the user.

locale

one of ``, en_US

Locale for the user.

nickname

string

The nickname for the user.

slug

string

An alphanumeric identifier for the user.

roles

array of string

Roles assigned to the user.

password

string

Password for the user (never included).

meta

object

Meta fields.

Last updated

Was this helpful?