# Oxygen MCP for WordPress: Oxygen 6 and Classic, with undo

> The Oxygen MCP for WordPress sites built with Oxygen Builder 6 or Classic 4.x. Claude or ChatGPT reads and edits the element tree, on a copy first, with 90…

Source: https://www.respira.press/oxygen-mcp

---

# *Oxygen* MCP server, with undo on every edit.

An Oxygen MCP server lets Claude, ChatGPT or Cursor read and edit Oxygen Classic 4.x and Oxygen 6 pages on a live WordPress site. With Respira every edit lands on a copy first, and you can undo it for 90 days.

[Start free](https://www.respira.press/signup) [Connect in one command](#setup) 

7 days free. No card. Runs on the AI subscription you already have.

Support

Full

Oxygen tools

Core set

Latest release touching it

9.3.1

Releases touching it

88

Respira is an independent MCP server. Not affiliated with, endorsed by, or sponsored by Soflyy / Oxygen Builder.

## What works today. What still needs you.

Read from the current MCP server release, first-class reads and writes across the builder structure.

### Works now

- On Oxygen 6, where a template applies, read and set without wp-admin (plugin 9.3.1+): entire site, front page, the blog, post types, archives, terms, individual pages, authors, dates, search, 404 and excludes, with conflicts decided by Oxygen 6 itself and one-call undo (`wordpress_get_template_conditions`, `wordpress_set_template_conditions`). Proven by real page requests on Oxygen 6.1.1.
- Oxygen Classic 4.x and Oxygen 6 (Bloom) both detected at site-context read time.
- Element tree JSON read + structure-aware writes preserve parent / child references on every patch.
- Global colors and global typography settings are accessible through Respira-managed options when Oxygen does not expose a native API.
- Templates, reusable parts, and class registry are all readable; class registry writes are supported.
- Snapshot-protected writes: every change creates a recoverable snapshot before touching the post.
- Where an Oxygen Classic template applies, read and set without wp-admin (plugin 9.3.1+): entire site, front page, blog, post types, posts with terms, archives, search and 404, with conflicts decided by Oxygen itself and one-call undo (`wordpress_get_template_conditions`, `wordpress_set_template_conditions`). Proven by real page requests on Oxygen 4.9.6 and 4.9.7.

### Where a human still steps in

- Template conditions change the live site at once, so a person has to agree first. Oxygen 6 gives a template one type, so a front page and some posts need two templates, and that is refused by name. It has no rule that excludes a post type, the front page, search or a 404\. Conditions it cannot name, custom PHP among them, stay untouched, and conflicts are checked on sample pages, not every page. Not tested with WPML. On Oxygen 6.0 an exclude on a template that covers more than single posts is refused, because 6.0 would also hide the template on 404 pages.
- Oxygen Classic has no exclude and no "these posts" condition at render: its exclude and include id fields only shape the builder preview, so Respira refuses both by name. A post picks its own template in its own Oxygen settings; Respira reports those posts and does not change them. A new Oxygen Classic template cannot be created through Respira (Oxygen registers templates for signed-in users only), so create it in Oxygen and then set its conditions. With a block theme active, a write has to name builder "oxygen". Template conditions on Oxygen 6 are a separate engine and are not covered here.
- Oxygen Composite Elements (Bloom) read fine but write coverage is partial in the current release, track Bricks-parity in the changelog feed below.
- Page-level Code Block and Custom CSS overrides are surfaced as-is and not parsed; the agent edits raw, no syntax validation.
- Conditional display rules read; only simple rules (logged-in, post type, role) write through the MCP today.

Hit one of these and the snapshot gives you a clean way back.

## Oxygen runs on the universal tools.

 Find, update, move and remove elements, build whole pages, snapshot and roll back. Reads return the builder structure and writes keep it intact. 

[Browse every tool](https://www.respira.press/tools)

## Three prompts you can paste right now.

Each one assumes Respira is connected to a Oxygen site. Paste it into your AI tool and run.

1. ### Update global color palette  
```  
Read the current Oxygen global color palette. Change "primary" from its current hex to #1f6feb. Show me which pages and templates reference that color before applying.  
```
2. ### Inventory templates  
```  
List every Oxygen template on the site, what its assignment rule is, and which pages it currently renders on.  
```
3. ### Find broken class references  
```  
Find every Oxygen element that references a global class that no longer exists in the class registry. Group results by page.  
```

More recipes, per builder, in the [Prompt Book](https://www.respira.press/prompt-book).

## Connect an Oxygen site in two minutes.

Pick your client and paste. The site URL and key come from [your setup page](https://www.respira.press/dashboard/mcp), or from **Respira › Setup** in wp-admin. Node.js 20 or newer for the local server.

### Claude Code

```
claude mcp add respira-wordpress --env WORDPRESS_URL=https://yoursite.com --env WORDPRESS_API_KEY=respira_your_api_key_here -- npx -y @respira/wordpress-mcp-server@latest
```

Put in your own site URL and key, run it, then check with `/mcp`. Every site at once: pass `--env RESPIRA_CONFIG_B64=…` from your setup page instead of the two values. [The full Claude Code guide](https://www.respira.press/blog/claude-code-wordpress) covers the first edit and undo.

### Claude Desktop and Cursor

```
{
  "mcpServers": {
    "respira-wordpress": {
      "command": "npx",
      "args": ["-y", "@respira/wordpress-mcp-server@latest"],
      "env": {
        "WORDPRESS_URL": "https://yoursite.com",
        "WORDPRESS_API_KEY": "respira_your_api_key_here"
      }
    }
  }
}
```

- Claude Desktop, macOS: `~/Library/Application Support/Claude/claude_desktop_config.json`
- Claude Desktop, Windows: `%APPDATA%\Claude\claude_desktop_config.json`
- Cursor: `.cursor/mcp.json` in your project

The file is `claude_desktop_config.json`, not `config.json`. Every site at once: replace the two `env` values with `RESPIRA_CONFIG_B64` from your setup page.

### Codex

```
codex mcp add respira-my-site --url https://yoursite.com/wp-json/respira/v1/mcp
codex mcp login respira-my-site
```

Run them one at a time. The second opens your browser to sign in to Respira; no key goes in the config. By hand, in `~/.codex/config.toml`, then run the login command:

```
[mcp_servers.respira-my-site]
url = "https://yoursite.com/wp-json/respira/v1/mcp"
```

### Browser sign-in, no key

```
https://yoursite.com/wp-json/respira/v1/mcp
```

Claude Desktop, claude.ai, ChatGPT and Cursor: add a custom connector, paste your site's MCP URL, leave Client ID and Client Secret blank, and approve the sign-in on respira.press. One connector per site.

### Any other client

```
npx add-mcp "npx -y @respira/wordpress-mcp-server@latest"
```

Detects Claude Code, Cursor, Codex, Windsurf and more, and writes the config. Set `WORDPRESS_URL` and `WORDPRESS_API_KEY` afterwards.

### Common errors

The server does not show up in /mcp, or the client says it failed to start.

Cause Node.js is older than 20, or the site URL and key are missing.

Fix Run `npx @respira/wordpress-mcp-server --doctor` in the same shell. It names the missing setting, a bad URL or a refused key. `node -v` must print 20 or newer.

ENOENT errors that mention `/_npx/` or `node_modules`.

Cause The npx cache is damaged, often by an interrupted install.

Fix Run `rm -rf ~/.npm/_npx` and restart the client. Or install once with `npm install -g @respira/wordpress-mcp-server` and use `respira-wordpress-mcp` as the command.

The browser sign-in opens a "Page not found" on `yoursite.com/authorize`.

Cause A Client ID was filled in on the connector, usually the `respira_site_` key.

Fix Remove the connector and add it again with the MCP URL only. Leave Client ID and Client Secret blank. Sign-in happens on respira.press, never on your site.

The MCP address returns 404.

Cause WordPress is on plain permalinks, so `/wp-json/` addresses do not resolve.

Fix In wp-admin open **Settings › Permalinks**, choose **Post name** and save once.

Calls fail with 401, 403, or HTML where JSON belongs.

Cause A firewall, a bot filter or a challenge page answers before WordPress does, or the host strips the Authorization header.

Fix Open **Respira › Troubleshoot** in wp-admin. It runs the checks from the site's own server, names what is in the way and writes a report for your host.

The agent says it saved, and the live Oxygen page looks the same.

Cause The edit is on a draft duplicate, waiting for your approval. That is the default on a published page.

Fix Approve the duplicate in wp-admin under Respira, or from its preview page. Until then the live page stays as it was.

Still stuck? [Troubleshooting in the docs](https://www.respira.press/docs/troubleshooting), or write to [word@respira.press](mailto:word@respira.press) with the first error line.

## What changed for Oxygen lately.

The last 5 releases that mention Oxygen, filtered from the same changelog the releases page reads.

1. [9.3.1](https://www.respira.press/releases#plugin-v-9-3-1) Nov 1, 2026  

  - Snapshots and meta reads no longer show what they should not. get\_snapshot and meta reads no longer return custom PHP from Breakdance and Oxygen template settings, a Bricks template password, or the raw rows of a delete snapshot.
  - Restoring a whole Oxygen 6 template brings its conditions back , as it does on Breakdance. Divi snapshots now hold Divi's real template keys.
  - Oxygen classic: creating a template with a Respira key fails (404), because Oxygen only registers templates for a signed-in user. Create it in Oxygen, then set its conditions with Respira. This was true before 9.3.1 too.
2. [mcp-8.7.2](https://www.respira.press/releases#mcp-v-8-7-2) Nov 1, 2026  

  - Template conditions (plugin 9.3.1+): wordpress\_get\_template\_conditions and wordpress\_set\_template\_conditions read and set where a site template applies, in the same plain words on every builder with the builder's own value beside them.
3. [9.2.7](https://www.respira.press/releases#plugin-v-9-2-7) Oct 15, 2026  

  - A generic section on a Beaver Builder page shows its content. The shape agents send to every builder, a section holding a heading and text, was saved on Beaver with "section" and "text" as module names. Beaver has neither, so the page showed nothing but its title while the write said success.
4. [9.2.6](https://www.respira.press/releases#plugin-v-9-2-6) Oct 15, 2026  

  - A heading sent with a title shows its words on Breakdance, Oxygen 6 and Beaver Builder. Most agents send a heading as type heading with its words in title. Breakdance stored them where its Heading does not read, so the heading was empty; Oxygen 6 wrote its placeholder "Heading"; Beaver kept them in a field its heading module ignores.
5. [9.2.4](https://www.respira.press/releases#plugin-v-9-2-4) Oct 14, 2026  

  - WPBakery pages with many addon elements can be read and edited again. On a WPBakery site running The7 with Ultimate VC Addons, Revolution Slider, Go Pricing and WooCommerce, every builder tool failed: finding an element, reading the page's structure, duplicating it, and every edit, even a one word change on a small draft.

[All 88 releases that touched Oxygen](https://www.respira.press/releases?builder=oxygen)

## Questions people ask about Oxygen and MCP.

Is there an MCP server for Oxygen? 

Yes. Respira is an independent MCP server that reads and writes Oxygen in its own format, with first-class reads and writes across the builder structure. It is not made by the Oxygen team.

Which tools does it use for Oxygen? 

Oxygen runs through the universal tools: find, update, move and remove elements, build pages, snapshot and roll back. Reads return the builder structure, and writes keep it.

What happens when the agent gets an edit wrong? 

Nothing on the live page. The agent edits a copy first, you approve it inside WordPress, and every write is snapshotted with 90 days of undo.

Do I need a developer or a terminal? 

No. Sign in with your browser from Claude, ChatGPT or Cursor and approve the connection once. Coding tools get a one-line command.

Does it work with a Oxygen site that also runs WooCommerce? 

Yes. The WooCommerce add-on adds 104 store tools on the same connection, with the same duplicate-first approval flow.

Looking for the Oxygen overview, with visuals and the conversion story? [Oxygen features](https://www.respira.press/integrations/oxygen)

## The other builders, same server.

- [ ! Gutenberg Full ](https://www.respira.press/gutenberg-mcp)
- [ ! Elementor Full ](https://www.respira.press/elementor-mcp)
- [ ! Divi Full ](https://www.respira.press/divi-mcp)
- [ ! Bricks Deep ](https://www.respira.press/bricks-mcp)
- [ ! WPBakery Partial ](https://www.respira.press/wpbakery-mcp)
- [ ! Beaver Builder Full ](https://www.respira.press/beaver-mcp)
- [ ! Breakdance Full ](https://www.respira.press/breakdance-mcp)
- [ ! Flatsome Full ](https://www.respira.press/flatsome-mcp)
- [ ! Kadence Blocks Full ](https://www.respira.press/kadence-mcp)
- [ ! Spectra Full ](https://www.respira.press/spectra-mcp)
- [ ! GenerateBlocks Full ](https://www.respira.press/generateblocks-mcp)
- [ ! GreenShift Full ](https://www.respira.press/greenshift-mcp)
- [ ! Brizy Partial ](https://www.respira.press/brizy-mcp)
- [ ! Visual Composer Partial ](https://www.respira.press/visual-composer-mcp)
- [ ! Thrive Architect Text edits ](https://www.respira.press/thrive-mcp)
- [ ! SeedProd Read only ](https://www.respira.press/seedprod-mcp)
- [ YOOtheme Pro Full ](https://www.respira.press/yootheme-mcp)
- [ ! Avada Full ](https://www.respira.press/avada-mcp)

[Everything the WordPress MCP does](https://www.respira.press/mcp)[WooCommerce MCP](https://www.respira.press/addons/woocommerce)

## Start with one site. Free for 7 days.

Maker is €9 a month after the trial. No card for the trial, and it runs on the AI plan you already have, so there is no extra AI bill.

[Start free](https://www.respira.press/signup) [Email Mihai](#)
