Cornerstone MCP · Pro
Cornerstone MCP: AI editing for Themeco's Cornerstone builder.
A Cornerstone MCP server lets an AI agent read and edit the element list behind a Cornerstone page, the builder used by X and Pro from Themeco. WP MCP addresses elements by position, saves through Cornerstone itself, and snapshots the page first.
Self-hosted · snapshot before every write · one-click undo
› Change the headline in the first section of the homepage
get-builder-content element tree, paths, content hash
⛨ page and Cornerstone data saved
update-builder-content operation update, path 0.1, saved through Cornerstone
✓ Headline changed and the page re-rendered.
What it is
What a Cornerstone MCP server does.
Cornerstone stores a page as a JSON element list in its _cornerstone_data post meta: top-level elements with their non-default values, and children nested under _modules. Element ids are handed out fresh on every save and are not stored, which makes 'edit element X' harder than it sounds.
WP MCP solves the addressing with dotted child indexes: 0 is the first top-level element, 0.1 its second child. Writes go through Cornerstone's own engine, so it rebuilds what the page renders from, rather than leaving stored data and rendered output out of step.
Cornerstone, the builder behind Themeco's X and Pro themes, hands out fresh element ids on every save and stores none, so most tools have nothing stable to point at. WP MCP gives each element a dotted index path and returns the content hash with every read. That makes a request like "move the testimonials above pricing" a precise operation, and saving through Cornerstone itself means the rendered output is rebuilt to match, on the write and again if you undo it.
Read and change
What WP MCP can read and change in Cornerstone.
It can read
- Which pages are built with Cornerstone
- A page's element list as a tree with a path per element and a content hash
It can change
- Update, add, remove or move one element by path, or replace the whole list
- Publish the page
- Restore the page to an earlier revision
- Add from a saved section or page template
These are the real ability and operation names the agent calls. TheCornerstone AI agent tool reference page lists the calls in detail.
Example prompts
Three things to ask first.
Which pages on this site are built with Cornerstone?
Move the testimonials element above the pricing element on /services.
Add our saved 'Newsletter signup' section template to the bottom of the About page.
Which pages on this site are built with Cornerstone?
detect-builder lists them; get-builder-content then returns each page's element tree with a path per element.
Move the testimonials element above the pricing element on /services.
A move operation between two paths, with the hash from the read, saved through Cornerstone under a snapshot.
Add our saved "Newsletter signup" section template to the bottom of About, then publish.
The template is added from the saved section templates and the page is published; revisions can be restored if it is wrong.
Safety
Every Cornerstone write has a way back.
Cornerstone's data is post meta, so the post snapshot holds it before each write and rollback-operation restores it exactly. Because the save goes through Cornerstone, the rendered output is rebuilt to match, on the write and when you undo it.
Snapshot before every write
No tool that writes can skip it. The before-state is saved first, the change is applied second.
One-click undo
Restore a single change with rollback-operation or a whole agent run with rollback-session, from the agent or from wp-admin.
Content-hash guarded
Once a Cornerstone page holds a layout, a write needs the hash the read returned. If the page changed in between, the write is refused.
Free or Pro
Part of WP MCP Pro.
The three builder tools (detect-builder, get-builder-content, update-builder-content) are part of WP MCP Pro. The free plugin still covers the rest of the site, including Gutenberg block editing, posts, pages, media, menus and the full snapshot and rollback engine, so you can try the safety model before you pay for builder editing.
WP MCP Pro starts at $49 a year for one site. See pricing for what each tier includes.
How to connect
Connect Cornerstone MCP in four steps.
- 01Install WP MCP
Upload the free wpmcp plugin and activate it. It needs WordPress 6.9 or newer and PHP 8.1 or newer, and it runs entirely on your own server.
- 02Check the requirement
Cornerstone (Themeco) active. Reads work on the stored JSON; writes are saved through Cornerstone, so it has to be loaded.
- 03Connect your client
Add the site to Claude Code, Claude Desktop, Cursor or any MCP client with a WordPress application password, or the WP-CLI stdio bridge locally. OAuth 2.1 with full or read-only access is there too, once the site owner switches it on.
- 04Ask for the change
Describe what you want done in Cornerstone. WP MCP snapshots the target, makes the change, and leaves a Restore button next to it in wp-admin.
Step-by-step guides: Claude,Claude Code andCursor. The docscover the safety model in full.
Frequently asked
Cornerstone MCP: questions, answered.
What is Cornerstone MCP?
It is editing for Themeco's Cornerstone builder exposed to AI agents over the Model Context Protocol. WP MCP reads the page's element list as a tree and writes element-level changes through Cornerstone's own save.
Does this work with the X and Pro themes?
Cornerstone is the builder those Themeco themes use, and WP MCP works on Cornerstone's stored page data. Cornerstone has to be active for writes.
How are elements addressed if Cornerstone does not store ids?
By dotted child indexes. 0 is the first top-level element and 0.1 is its second child. The read returns the path for every element, so the agent never has to guess.
Why does a write need Cornerstone loaded?
A write is saved through Cornerstone's engine so it regenerates the rendered output and the page stays consistent. Reads do not need it.
Is a Cornerstone edit reversible?
Yes. Every write is snapshotted first, and rollback-operation restores the stored layout exactly.
Can the agent restore an earlier Cornerstone revision?
Yes. Restoring a revision is one of the supported operations, alongside publish and adding from section or page templates, and every write is snapshotted first.
Can it see the elements Cornerstone offers?
Yes. The element catalog, with each element's values, is readable so the agent builds from what the site has.
Does Cornerstone MCP work with Claude, Claude Code and Cursor?
Yes. Claude Code and Cursor connect to WP MCP over HTTP with a WordPress application password, and Claude Desktop uses the desktop bundle from the WP MCP Connection screen. Clients that can only sign in with OAuth, such as the claude.ai custom connector, need OAuth switched on first with one line in wp-config.php, because it ships off. Once connected, the Cornerstone tools are available in every client the same way.
Keep exploring
MCP for Cornerstone →
Read and edit Cornerstone layouts element by element over MCP, saved through Cornerstone so the page renders, every write reversible.
BeTheme MCP →
A BeTheme MCP server gives an AI agent the BeBuilder layout behind a BeTheme page.
Avada MCP →
An Avada MCP server gives an AI agent a safe way into Avada's Fusion Builder layouts.
Breakdance MCP →
A Breakdance MCP server gives an AI agent the JSON document behind a Breakdance page.
Bricks MCP →
A Bricks MCP server lets an AI agent read and write the element data behind a Bricks Builder page.
Browse all integrations, comparefree and Pro, read the docs, or see how the WordPress MCP server works.