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

Categories & Tags

Categories & Tags abilities of the Hostinger AI plugin's WordPress site MCP server. Manage the categories and tags used to organize posts.

Manage the categories and tags used to organize posts.

Available: Always.

Ability
What it does
Type

Create a new WordPress post category.

Changes the site

Delete a WordPress category by ID.

Destructive · Safe to retry

Get a single WordPress category by ID.

Read-only

List all WordPress post categories with pagination and filtering.

Read-only

Update an existing WordPress category by ID.

Changes the site · Safe to retry

Create a new WordPress post tag.

Changes the site

Delete a WordPress tag by ID.

Destructive · Safe to retry

Get a single WordPress tag by ID.

Read-only

List all WordPress post tags with pagination and filtering.

Read-only

Update an existing WordPress tag by ID.

Changes the site · Safe to retry

Create Category

hostinger-ai/categories-create · Changes the site

Create a new WordPress post category.

Required parameter
Type
Description

name

string

HTML title for the term.

Optional parameters (4)
Parameter
Type
Description

description

string

HTML description of the term.

slug

string

An alphanumeric identifier for the term unique to its type.

parent

integer

The parent term ID.

meta

object

Meta fields.

Description sent to AI tools

Create a new WordPress post category. Requires a name.

Delete Category

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

Delete a WordPress category by ID.

Required parameter
Type
Description

id

integer

Unique identifier for the resource

Optional parameters (1)
Parameter
Type
Description

force

boolean

Force category deletion

Description sent to AI tools

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

Get Category

hostinger-ai/categories-get · Read-only

Get a single WordPress category by ID.

Required parameter
Type
Description

id

integer

Unique identifier for the resource

Description sent to AI tools

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

List Categories

hostinger-ai/categories-list · Read-only

List all WordPress post categories with pagination and filtering.

No required parameters.

Optional parameters (12)
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.

order

one of asc, desc

asc

Order sort attribute ascending or descending.

orderby

one of id, include, name, slug, include_slugs, term_group, description, count

name

Sort collection by term attribute.

hide_empty

boolean

false

Whether to hide terms not assigned to any posts.

parent

integer

Limit result set to terms assigned to a specific parent.

post

integer

Limit result set to terms assigned to a specific post.

slug

array of string

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

Update Category

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

Update an existing WordPress category by ID.

Required parameter
Type
Description

id

integer

Unique identifier for the resource

Optional parameters (5)
Parameter
Type
Description

description

string

HTML description of the term.

name

string

HTML title for the term.

slug

string

An alphanumeric identifier for the term unique to its type.

parent

integer

The parent term ID.

meta

object

Meta fields.

Description sent to AI tools

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

Create Tag

hostinger-ai/tags-create · Changes the site

Create a new WordPress post tag.

Required parameter
Type
Description

name

string

HTML title for the term.

Optional parameters (3)
Parameter
Type
Description

description

string

HTML description of the term.

slug

string

An alphanumeric identifier for the term unique to its type.

meta

object

Meta fields.

Description sent to AI tools

Create a new WordPress post tag. Requires a name.

Delete Tag

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

Delete a WordPress tag by ID.

Required parameter
Type
Description

id

integer

Unique identifier for the resource

Optional parameters (1)
Parameter
Type
Description

force

boolean

Force category deletion

Description sent to AI tools

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

Get Tag

hostinger-ai/tags-get · Read-only

Get a single WordPress tag by ID.

Required parameter
Type
Description

id

integer

Unique identifier for the resource

Description sent to AI tools

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

List Tags

hostinger-ai/tags-list · Read-only

List all WordPress post tags with pagination and filtering.

No required parameters.

Optional parameters (12)
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, slug, include_slugs, term_group, description, count

name

Sort collection by term attribute.

hide_empty

boolean

false

Whether to hide terms not assigned to any posts.

post

integer

Limit result set to terms assigned to a specific post.

slug

array of string

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

Update Tag

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

Update an existing WordPress tag by ID.

Required parameter
Type
Description

id

integer

Unique identifier for the resource

Optional parameters (4)
Parameter
Type
Description

description

string

HTML description of the term.

name

string

HTML title for the term.

slug

string

An alphanumeric identifier for the term unique to its type.

meta

object

Meta fields.

Description sent to AI tools

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

Last updated

Was this helpful?