SECTOR-OPS · ACCESS GRANTEDLIVE

OPERATIONS MANUAL

Install · Configure · Deploy · v1.0 · 2026-04-23
REACTOR PROTOCOL — Follow procedures in order. Each step verifies the previous.

Everything you need to install AgenticWP, wire it into your AI agent, and start driving WordPress through MCP. No dev environment required. If you can paste into WP Admin and edit a JSON file, you are qualified.

~60s
Install time
20+
Supported AI clients
35+
REST endpoints
2
ZIPs to download
☢ PHASE 1

Installation

Four steps. Sequential. Each one verifies before the next begins.

01
Install the WordPress plugin
Download agenticwp.zip, upload via WP Admin → Plugins → Add New → Upload Plugin, activate.
wp-adminaction
Plugins → Add New → Upload Plugin → Choose File → agenticwp.zip → Install Now → Activate
↓ Download agenticwp.zip
02
Activate your license
Go to Settings → AgenticWP, paste the license key from your purchase email, click Save key, then Verify license. Status flips to valid within 2 seconds.
Free tier note: options, postmeta, termmeta, Astra settings, find_pages, find_products, cache flush, debug log, and SEO audit all work without a license. Paid tier unlocks Elementor, media upload, menus, and bulk products.
03
Generate a WordPress application password
The MCP server authenticates as a WP user via Application Password (not your login password). Create one for a user with manage_options capability.
wp-adminaction
Users → Profile → Application Passwords → Name: "AgenticWP MCP" → Add New
→ Copy the generated password (shown exactly once)
Save it immediately. WP only shows the password once. If you lose it, revoke and regenerate.
04
Install the MCP server
Download agenticwp-mcp.zip, extract, run the installer.
terminal · Linux / macOSbash
unzip agenticwp-mcp.zip
cd agenticwp-mcp
chmod +x install.sh
./install.sh
cmd · Windowsbat
cd agenticwp-mcp
install.bat
The installer creates a Python venv at ~/MCP/AgenticWP/, installs mcp + aiohttp, prompts for your WP URL, username, and app password, and generates a ready-to-use .mcp.json.
↓ Download agenticwp-mcp.zip
⚙ PHASE 2

Configuration

Three environment variables. That is the entire configuration surface.

WP_URL
Full URL of your WordPress install, including https://. e.g. https://example.com
WP_USER
Username of a WP admin with manage_options. Usually your main account, or a dedicated agent user for audit clarity.
WP_APP_PASSWORD
The 24-character application password from Step 3. Keep the spaces — they are part of the string.
Read-only dry-run mode: add define('AGENTICWP_READONLY', true) to wp-config.php. Every mutation endpoint will short-circuit and return {success:true, readonly_mode:true, would_save:{…}} instead of writing — perfect for demos and first-run verification.
▶ PHASE 3

AI Client Setup

The ZIP ships pre-made config files for the six most common clients. Copy, paste, restart.

🧠
Claude Code
.mcp.json in project root
Cursor
~/.cursor/mcp.json
🏄
Windsurf
~/.codeium/windsurf/mcp_config.json
💠
VS Code + Copilot
.vscode/mcp.json
🧩
Cline
Cline Settings → MCP Servers
Zed / JetBrains / Continue / Aider / Cody
Point at server.py with 3 env vars
.mcp.json · generic templatejson
{
  "mcpServers": {
    "agenticwp": {
      "type": "stdio",
      "command": "python3",
      "args": ["/path/to/agenticwp-mcp/server.py"],
      "env": {
        "WP_URL": "https://your-site.com",
        "WP_USER": "admin",
        "WP_APP_PASSWORD": "xxxx xxxx xxxx xxxx xxxx xxxx"
      }
    }
  }
}
⌁ PHASE 4

Usage

Talk to your agent in plain English. It picks the right tools.

you → Set the site title to “Acme Motors” and change the tagline to “Premium parts, straight from the source.”
uses update_option(blogname), update_option(blogdescription)
you → Add a hero section to the homepage with a green CTA button that says “Shop now” and links to /shop/
uses get_elementor_page, build_elementor_section(hero), insert_elementor_element, update_elementor_page
you → Find every product in the “brakes” category with SKU starting “BR-“, and bump the price by 5%.
uses find_products, bulk_update_products
you → Audit all pages for missing SEO titles and descriptions, then fix them based on the H1 and first paragraph.
uses seo_audit, update_postmeta_multi
⚠ PHASE 5

Troubleshooting

Everything that has gone wrong before, and how to fix it.

MCP tools return 401 Unauthorized

Application password is wrong or the user lacks manage_options. Re-check by opening https://your-site.com/wp-json/agenticwp/v1/status in a browser — if it asks for Basic Auth, the endpoint is live. Paste the exact WP_USER and WP_APP_PASSWORD into the browser prompt. If that works, the problem is in your .mcp.json.

Elementor edits save but the frontend still shows the old version

You called the standard WP REST API instead of update_elementor_page. Elementor stores rendered HTML and CSS separately from _elementor_data — only the AgenticWP endpoint calls Document::save(), which regenerates all three atomically. Fix: use update_elementor_page (whole page) or update_elementor_element (single widget).

“Payload too large” (HTTP 413) when saving a big Elementor page

You hit the 500 KB safety ceiling for update_elementor_page. Use update_elementor_element for the specific widget you changed, or insert_elementor_element for additions. The ceiling is filterable via agenticwp_update_page_max_bytes if you really need to push whole-page writes.

“Lock held” (HTTP 409) on an Elementor save

Another agent (or another window of the same agent) is mid-save on the same post. The lock auto-releases after 30 seconds. Retry once, or check who holds it via data.lock in the error response.

License shows “invalid” even though I just paid

Check the billing email — the license key is included in the confirmation. Paste it into Settings → AgenticWP with spaces preserved. If it still fails, the license server may be unreachable from your host — the plugin has a 7-day grace window and will auto-retry hourly.

WP CLI / cron errors mention “AGENTICWP_READONLY”

Read-only mode is enabled. Remove define('AGENTICWP_READONLY', true) from wp-config.php, or delete the agenticwp_readonly option via delete_option, or remove the agenticwp_readonly filter from your code.

Python version too old (MCP server won’t start)

MCP requires Python 3.10+. Check with python3 --version. Upgrade via your system package manager or python.org.

Agent says “I don’t have that tool”

The MCP server isn’t registered or didn’t start cleanly. Check the agent’s MCP server list in its UI or logs. Restart the agent fully (not just the window). If it’s still missing, run python3 server.py directly — it should print MCP handshake JSON. If you see a Python traceback, that’s your real error.

⌁ STATUS

System ready

seba@agenticwp:~$ systemctl status agenticwp
agenticwp.service — WordPress management reactor
Loaded: loaded (agenticwp.php; enabled)
Active: active (running) since 2026-04-23
Tasks: 35+ endpoints, 38+ MCP tools
Memory: negligible (pure REST API)
License: valid

# your move.
seba@agenticwp:~$
Scroll to Top