> For the complete documentation index, see [llms.txt](https://docs.hostinger.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hostinger.com/wordpress/hostinger-plugins/ai-plugin/abilities/plugins.md).

# Plugins

Plugins abilities of the Hostinger AI plugin's WordPress site MCP server. List, install, activate, deactivate, update and delete WordPress plugins.

List, install, activate, deactivate, update and delete WordPress plugins.

> **Note:** These abilities run inside your site through the [WordPress site MCP server](https://docs.hostinger.com/wordpress/hostinger-plugins/ai-plugin/mcp-server.md). The Hostinger API can do some of the same from your hosting account, even while the site is down — see the [WordPress plugins endpoints](https://docs.hostinger.com/api-reference/endpoints/wordpress/plugins.md).

**Available:** Always.

| Ability                                 | What it does                                                                                   | Type                             |
| --------------------------------------- | ---------------------------------------------------------------------------------------------- | -------------------------------- |
| [Activate Plugin](#activate-plugin)     | Activate a plugin that is already installed.                                                   | Changes the site · Safe to retry |
| [Deactivate Plugin](#deactivate-plugin) | Deactivate an active plugin.                                                                   | Changes the site · Safe to retry |
| [Delete Plugin](#delete-plugin)         | Delete an installed plugin; an active plugin cannot be deleted.                                | **Destructive**                  |
| [Install Plugin](#install-plugin)       | Install a plugin from the WordPress.org repository by its slug; it does not activate it.       | Changes the site                 |
| [List Plugins](#list-plugins)           | List all installed plugins with their exact plugin file path, name, version and active status. | Read-only                        |
| [Update Plugin](#update-plugin)         | Update an installed plugin to the latest version from WordPress.org.                           | Changes the site · Safe to retry |

## Activate Plugin

`hostinger-ai/plugins-activate` · Changes the site · Safe to retry

Activate a plugin that is already installed.

| Required parameter | Type   | Description                                                    |
| ------------------ | ------ | -------------------------------------------------------------- |
| `plugin_file`      | string | Plugin file path relative to the plugins directory to activate |

<details>

<summary>Description sent to AI tools</summary>

> Activate a plugin that is ALREADY installed. Use when asked to enable a plugin; to add a new plugin, install it first with `hostinger-ai/plugins-install`. Returns success if the plugin is already active. Needs `plugin_file` from `hostinger-ai/plugins-list` or `hostinger-ai/plugins-install`; a guessed path returns a "plugin\_not\_found" error.

</details>

## Deactivate Plugin

`hostinger-ai/plugins-deactivate` · Changes the site · Safe to retry

Deactivate an active plugin.

| Required parameter | Type   | Description                                                      |
| ------------------ | ------ | ---------------------------------------------------------------- |
| `plugin_file`      | string | Plugin file path relative to the plugins directory to deactivate |

<details>

<summary>Description sent to AI tools</summary>

> Deactivate an active plugin. Use when asked to turn a plugin off, or before deleting it. Needs `plugin_file` from `hostinger-ai/plugins-list`.

</details>

## Delete Plugin

`hostinger-ai/plugins-delete` · **Destructive**

Delete an installed plugin; an active plugin cannot be deleted.

| Required parameter | Type   | Description                                                                             |
| ------------------ | ------ | --------------------------------------------------------------------------------------- |
| `plugin_file`      | string | Plugin file path relative to the plugins directory (e.g. 'woocommerce/woocommerce.php') |

<details>

<summary>Description sent to AI tools</summary>

> Delete an installed plugin; an active plugin cannot be deleted. Use when asked to remove a plugin, after deactivating it with `hostinger-ai/plugins-deactivate`. Needs `plugin_file` from `hostinger-ai/plugins-list`.

</details>

## Install Plugin

`hostinger-ai/plugins-install` · Changes the site

Install a plugin from the WordPress.org repository by its slug; it does not activate it.

| Required parameter | Type   | Description                                    |
| ------------------ | ------ | ---------------------------------------------- |
| `slug`             | string | WordPress.org plugin slug (e.g. 'woocommerce') |

<details>

<summary>Description sent to AI tools</summary>

> Install a plugin from the WordPress.org repository by its slug; it does NOT activate it. Use when asked to add a plugin: ALWAYS call this before `hostinger-ai/plugins-activate`. If the plugin is already installed it returns a "plugin\_already\_installed" error instead of failing destructively, so it is safe to call when unsure. On success it returns the "plugin\_file" path to pass to `hostinger-ai/plugins-activate`. Never activate a plugin before it has been installed.

</details>

## List Plugins

`hostinger-ai/plugins-list` · Read-only

List all installed plugins with their exact plugin file path, name, version and active status.

No parameters.

<details>

<summary>Description sent to AI tools</summary>

> List all installed plugins with their exact plugin file path, name, version and active status. Use when you handle any plugin task: call it FIRST to check whether a plugin is already installed before installing or activating it, and to get the exact "plugin\_file" value that `hostinger-ai/plugins-activate`, `hostinger-ai/plugins-deactivate`, `hostinger-ai/plugins-update` and `hostinger-ai/plugins-delete` need.

</details>

## Update Plugin

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

Update an installed plugin to the latest version from WordPress.org.

| Required parameter | Type   | Description                                                  |
| ------------------ | ------ | ------------------------------------------------------------ |
| `plugin_file`      | string | Plugin file path relative to the plugins directory to update |

<details>

<summary>Description sent to AI tools</summary>

> Update an installed plugin to the latest version from WordPress.org. Use when asked to update a plugin. Needs `plugin_file` from `hostinger-ai/plugins-list`.

</details>

## Related

* [Abilities Reference](https://docs.hostinger.com/wordpress/hostinger-plugins/ai-plugin/abilities.md)
* [WordPress Site MCP Server](https://docs.hostinger.com/wordpress/hostinger-plugins/ai-plugin/mcp-server.md)
