> 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/websites/web2agent.md).

# Web2Agent

Make your website readable by AI agents with Web2Agent, which publishes your site's content at its own MCP address that AI tools can search. Turn it on for WordPress or Hostinger AI Builder sites.

**Web2Agent** makes your website available to AI agents. Once you turn it on, Hostinger reads your site, keeps a copy in sync as you publish changes, and serves it at your site's own MCP (Model Context Protocol) address. AI tools that connect to that address can search your content and answer questions about it, without scraping your pages.

It's an opt-in, experimental feature. It doesn't change what visitors see on your site.

## What AI agents can do

* Search your site's content and answer questions about it, such as your services, opening hours, or blog posts.
* On Hostinger AI Builder online stores: search products, show product details, and start a checkout. The agent returns a checkout link, and the buyer completes the order on your site.

Agents can't edit your site. To let your own AI tools manage a WordPress site's content, use the [WordPress site MCP server](https://docs.hostinger.com/wordpress/hostinger-plugins/ai-plugin/mcp-server.md) instead. See [Web2Agent or the WordPress site MCP server?](#web2agent-or-the-wordpress-site-mcp-server)

## Requirements

* A WordPress site with the [Hostinger Tools](https://docs.hostinger.com/wordpress/hostinger-plugins/tools.md) plugin, or a site built with Hostinger AI Builder.
* A [connected domain](https://docs.hostinger.com/getting-started/connecting-a-domain.md). Web2Agent isn't available on temporary `*.hostingersite.com` domains.
* A published site. Hostinger has to be able to open it.

## Turn Web2Agent on and off

### WordPress

Use any of these:

* **hPanel:** go to **Websites** → your website → **WordPress** → **Overview**, and toggle **Web2Agent** under **LLM optimization**.
* **WordPress admin:** go to **Hostinger** → **Tools**, and toggle **Web2Agent** under **LLM Optimization**.
* **WP-CLI**, over [SSH](https://docs.hostinger.com/websites/ftp-ssh.md):

  ```bash
  wp hostinger ai web2agent 1    # turn on (0 to turn off)
  wp hostinger ai status         # show Web2Agent and LLMs.txt status
  ```

### Hostinger AI Builder

In the editor, open **Website settings** → **General settings** and toggle **Web2Agent**.

### What happens

* **When you turn it on**, Hostinger reads your site for the first time. This typically takes a few minutes, depending on the size of your site. From then on, changes you publish are picked up automatically.
* **When you turn it off**, Hostinger removes the copy of your content, and agents can no longer answer questions about your site. Turning it back on reads the site again. Your site's visible content isn't affected.

## Your agent URL

Each site gets its own address:

```
https://websites-agents.hostinger.com/yourdomain.com/mcp/
```

In WordPress, click **Copy agent url** next to the Web2Agent setting to copy it.

Agents that use the A2A (Agent-to-Agent) protocol can connect at `https://websites-agents.hostinger.com/yourdomain.com/a2a` instead.

Share this address with anyone who wants to connect an AI tool to your site, or try it yourself. In an AI tool that reads a JSON MCP configuration, such as Claude Desktop, add:

```json
{
  "mcpServers": {
    "yourdomain.com": {
      "command": "npx",
      "args": ["mcp-remote", "https://websites-agents.hostinger.com/yourdomain.com/mcp/"]
    }
  }
}
```

`mcp-remote` needs [Node.js](https://nodejs.org) on your computer. AI tools that connect to remote MCP servers directly can use the address as is.

## Web2Agent and LLMs.txt

[LLMs.txt](https://docs.hostinger.com/wordpress/hostinger-plugins/tools.md#llm-optimization) is a file at your site root that summarizes your content for AI tools. When both are on, the file also lists your agent URL, so AI tools that read it can find Web2Agent.

## Privacy

* Web2Agent only uses your site's public content, and it respects your `robots.txt`.
* It doesn't track your visitors or collect their personal data.
* While it's on, your site tells Hostinger when content changes, so the copy stays up to date. When you turn it off, Hostinger removes the copy of your content, and agents can no longer answer questions about your site. Turning it back on reads the site again.

## Web2Agent or the WordPress site MCP server?

Both use MCP, but they serve different people:

|                          | Web2Agent                                     | WordPress site MCP server                                                                                                   |
| ------------------------ | --------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- |
| **For**                  | Anyone's AI tools, reading your site          | Your own AI tools, managing your site                                                                                       |
| **Runs on**              | Hostinger, at `websites-agents.hostinger.com` | Your WordPress site, through the [Hostinger AI plugin](https://docs.hostinger.com/wordpress/hostinger-plugins/ai-plugin.md) |
| **Can change your site** | No (stores can start a checkout)              | Yes: posts, pages, media, WooCommerce, and more                                                                             |
| **Sign-in**              | None: the agent URL is public                 | Administrator account or Hostinger Connector                                                                                |
| **Works with**           | WordPress and Hostinger AI Builder            | WordPress                                                                                                                   |

## Related guides

* [Hostinger Tools](https://docs.hostinger.com/wordpress/hostinger-plugins/tools.md)
* [WordPress site MCP server](https://docs.hostinger.com/wordpress/hostinger-plugins/ai-plugin/mcp-server.md)
* [Web2Agent on hostinger.com](https://www.hostinger.com/web2agent)

***

*Last updated: October 21, 2026*
