Home » Documentation » Site Search » AI Agent » How to Connect Your AI Agent to Elevated Site Search

How to Connect Your AI Agent to Elevated Site Search

To connect an AI agent to Elevated Site Search, go to Elevated › Site Search › AI Agent, click Install & Activate Agent Connector, then click Open Agent Connector and follow the connection wizard: pick your agent, generate an application password, and paste the setup command into your agent. Once connected, your agent can search your site the way visitors do, change every setting including themes and styling, and manage the search index. Every operation is validated and permission-checked.

Table of Contents

Step 1: Open the AI Agent Page

Navigate to Elevated › Site Search in your WordPress admin.

Click AI Agent in the plugin’s top navigation, next to Settings.

The AI Agent page in Elevated Site Search showing the Install and Activate Agent Connector button

Step 2: Install and Activate Agent Connector

Agent Connector for WP is the free plugin that exposes Elevated Site Search’s abilities to your agent over MCP. The AI Agent page installs it for you.

Click Install & Activate Agent Connector.

Elevated Site Search downloads a pinned Agent Connector release and verifies its checksum before installing anything. When it finishes, the page shows Agent Connector is active and ready to create a secure connection.

The AI Agent page showing Agent Connector active and the Allow AI agent access toggle

Leave Allow AI agent access switched on. This is the master switch for agent access to Site Search. Turn it off at any time to cut agents off without disconnecting anything else.

Step 3: Choose Your Agent

Click Open Agent Connector. The Agent Connector screen opens.

The Agent Connector Connect screen with the Get started button

Click Get started.

Select the agent you use. Agent Connector shows exact setup instructions for each one; pick Other for universal instructions that work with any MCP-capable agent.

The agent picker showing Codex CLI, Codex Desktop, Claude Code CLI, Claude Desktop, and Other

Click Continue.

Step 4: Generate the Application Password and Connect

Your agent authenticates with a WordPress application password, a credential scoped to your account that you can revoke at any time. The agent connects through a local proxy, so the computer running your agent needs Node.js.

The Connect Claude Code CLI screen with the Generate App Password button

Click Generate App Password. If you already created one, click I already have one instead.

The password is shown once. Copy it, or save it to your password manager.

Follow the setup instructions shown for your agent: copy the command, open your terminal, and paste it. Your agent confirms the MCP server was added.

On Mac, the terminal app is called Terminal. On Windows, search for how to open your terminal. The steps are the same after that.

Step 5: Test the Connection

Open your agent and ask:

Prompt

Are you connected to my WordPress site over MCP? List the Elevated Site Search tools you can use.

Powered by WPCodeBox

The agent should confirm the connection and list the Site Search tools: site search, settings, index management, search analytics, and health checks.

Then try a real request:

Prompt

Set Site Search fuzzy matching to normal and rebuild the index.

Powered by WPCodeBox

The agent updates the setting and starts the rebuild; rebuilding the index requires it to confirm the action explicitly.

How Agent Access Works

Elevated Site Search registers its operations as WordPress abilities: the same validated, permission-checked operations the admin interface uses. Agent Connector serves those abilities to your agent over MCP, an open protocol supported by Claude, Codex, Cursor, and most other agents.

The guardrails, in plain terms:

  • Administrator-level auth. The application password acts with your account’s permissions. Treat it like a password: it is shown once, and you can revoke it at any time under Users › Profile › Application Passwords.
  • Destructive operations require confirmation. Rebuilding the index, cancelling a rebuild, resetting settings, and clearing the popular searches list all carry a required confirm flag. A request without it fails validation before anything runs.
  • One operation at a time. Settings and index operations are serialized. While one runs, a second attempt is refused with “Another settings or index operation is already in progress.”
  • The master switch is yours. The Allow AI agent access toggle on the AI Agent page cuts off all Site Search abilities without touching the connection itself, and agents can never flip it themselves.
  • Licensing stays human. Agents have no access to license activation or deactivation.

Troubleshooting

The AI Agent page says WordPress abilities are unavailable. Your WordPress version doesn’t include the Abilities API yet. Update WordPress, then reload the page.

The AI Agent page says Agent Connector is inactive. The connector is installed but switched off. Click Activate Agent Connector.

The setup command fails in the terminal. The connection runs through a local proxy that requires Node.js. Install Node.js from nodejs.org, then run the command again.

The agent connects but has no Site Search tools. Check that Allow AI agent access is switched on on the AI Agent page, then ask the agent to reconnect or refresh its tool list.

You want to cut off access. Switch off Allow AI agent access to block Site Search abilities, or revoke the application password under Users › Profile › Application Passwords to sever the connection entirely.

On this page
Want More?

Get Every Elevated Extension You’ll Ever Need—One Payment, Yours for Life

Build faster, smarter, and without limits. A single purchase unlocks our entire library today and every new extension we release in the future. No renewals, no upsells, just lifetime power at your fingertips
+All other extensions for unlimited sites

The All Access Pass, available for a limited time

This exclusive package won't be around forever, as we will eventually move to a subscription model. This is your chance to get in early.
  • All Current Extensions
  • All Future Extensions
  • No Renewal Fees
  • 90-Day Money-Back Guarantee