---
title: "Bring Your Own Agent: Claude Code, Cursor, Codex"
description: "WPOS speaks MCP: Claude Code, Cursor, Codex or your own agent drive the same tools as WPOS's built-in agent on the sites you run, without spending WPOS credits."
source: https://wpos.ai/features/bring-your-own-agent/
updated: 2026-11-17
---

[Black Friday](https://wpos.ai/black-friday/): 15,000 free credits + 50% off ends Nov 30

# Drive your WordPress sites from Claude Code, Cursor or Codex

WPOS speaks MCP, so Claude Code, Cursor, Codex or an agent you wrote yourself can drive the same tools WPOS's built-in agent uses, against the WordPress sites you already run. Your model, your bill: no WPOS credits spent.

[Start free](https://app.wpos.ai/signup?ref_page=features-bring-your-own-agent&ref_cta=hero-primary)
[Book a Call with Founders](https://cal.com/algorismus/30min)

DRIVING WORDPRESS FROM YOUR AGENT

THROUGH WPOS

WIRING IT YOURSELF

How your agent connects

MCP, out of the box

A REST client you maintain

Which agents work

Claude Code, Cursor, Codex, any MCP client

Whichever one you built for

Building a page

A tool call

Hand-rolled block JSON

Page builders covered

Gutenberg, Elementor, Divi

One, if you wrote for it

Reading the site safely

Read-only queries, file reads, log tail

Direct database access

Undoing a bad change

Per-page backups and widget revisions

Your own backups

WPOS credits used

None: you pay your model provider

Not applicable

Your host and database

Unchanged

Unchanged

How it fits 

## Your agent, WPOS's tools

WPOS speaks MCP, the open protocol AI agents use to call tools. Claude Code, Cursor, Codex or an agent you wrote yourself can drive the same tools WPOS's built-in agent uses, against the WordPress sites you already run.

Connect it from the AI Agents tab in Settings: the outside assistant signs in with your WordPress account and gets the same tools the agent uses, so every action runs as you and checks your WordPress permissions.

Driving a site from your own agent doesn't spend WPOS credits; you pay your model provider. Site licensing is unchanged, and the WPOS plugin stays on each site, because it is what exposes the tools.

What your agent gets 

## The same tools as the built-in agent

### Native builds in any builder

Pages and sections in Gutenberg, Elementor or Divi, plus widgets, themes and components.

### Media, users, SEO and WooCommerce

The same site tools the built-in agent uses, against the sites you run.

### Reads the site safely

Read-only queries, file reads and a log tail, instead of direct database access.

### Undo a bad change

Per-page backups and widget revisions, whichever agent made the change.

### Plugins' own abilities

WPOS drives the WordPress abilities your plugins register, Elementor's and Angie's among them.

### Both agents, one site

The built-in agent in wp-admin for designers and account managers, your own agent for developers.

How it works 

## Connect once, work from your editor

- 01

### Connect the site to WPOS

Install the WPOS plugin and connect the site to your account.

- 02

### Open the AI Agents tab

In Settings, connect your MCP client. It signs in with your WordPress account.

- 03

### Give it a job

Ask for a page, a fix or an audit; it uses the same tools as WPOS's agent.

- 04

### Review and ship

Check the result in the preview and publish when it is right.

## Elementor Ultra, open source

For teams that build Elementor sites as code, [Elementor Ultra](https://docs.wpos.ai/ultra/overview) is an MIT-licensed open-source stack from the WPOS team: write typed JSX components, compile them to native Elementor V4 pages, and deploy them over REST. The result is a normal Elementor page, editable in the editor, with no lock-in. It is separate from the WPOS product and not affiliated with Elementor Ltd.

Setting up a client for the first time? [Claude for WordPress](https://wpos.ai/claude-for-wordpress/) compares five ways to connect Claude to a site, and [Claude Code for WordPress](https://wpos.ai/blog/claude-code-wordpress/) walks through a working developer setup.

## Bring your own agent, answered.

What connects over MCP, what it can reach, and what it costs.

[Book a Call with Founders](https://cal.com/algorismus/30min)

**Can I use my own AI agent with WPOS?**

Yes. WPOS speaks MCP, so Claude Code, Cursor, Codex or any MCP client can drive the same tools as WPOS's built-in agent against the sites you already run.

**Does it use WPOS credits?**

No. Driving a site from your own agent doesn't spend WPOS credits; you pay your own model provider. Credits pay for work done by WPOS's own agent, and site licensing is unchanged.

**What can an outside agent do?**

Build and edit pages natively in Gutenberg, Elementor or Divi, write widgets, themes and components, manage media and users, handle SEO and WooCommerce, and read the site through read-only queries, file reads and a log tail.

**Do I still need the WPOS plugin?**

Yes. The plugin is what exposes the tools on each site. What changes is which agent sits on the other end of it.

**Is it safe to connect an outside agent to a client site?**

It signs in with a WordPress account and every action checks that account's capabilities, so it can do only what that user can. Bad changes can be undone with per-page backups and widget revisions.

**Can my team use both agents?**

Yes, and most do: the built-in agent in wp-admin for account managers and designers, your own agent for developers.

Related features and guides:

- [Claude for WordPress](https://wpos.ai/claude-for-wordpress/): Five ways to connect Claude to the WordPress sites you run.

- [WordPress MCP](https://wpos.ai/wordpress-mcp/): Servers, plugins, the official adapter, and what to check first.

- [Claude Code for WordPress](https://wpos.ai/blog/claude-code-wordpress/): A working developer setup, with native Elementor builds.

- [WordPress abilities](https://wpos.ai/features/wordpress-abilities/): WPOS drives the abilities your plugins register.

- [Checks, versions and undo](https://wpos.ai/features/checks-and-undo/): Every change checked on the real page, and reversible.

- [All WPOS features](https://wpos.ai/features/): Every feature, grouped by the job it does.

**Black Friday**ends Nov 30

## Start free with 15,000 credits.

Three times the usual 5,000, no card needed. Then 50% off your site licences for 2 months with FRIDAY50.

## Use the agent you already work in.

Connect a site to WPOS, then point Claude Code, Cursor or Codex at it. Free for 30 days, 5,000 credits, no card.

[Claim 15,000 credits](https://app.wpos.ai/signup?ref_page=features-bring-your-own-agent&ref_cta=prefooter-cta): Start free
