Edit your ExpressionEngine site by talking to AI.
Marrow turns your ExpressionEngine site into an MCP server. Connect Claude, ChatGPT or any other MCP-capable assistant, then ask in plain English:
"On the About page, change the headline to Built for teams that ship and tighten the intro paragraph."
"Find everywhere we still say free shipping over $50 and change it to $75."
"Add an FAQ to the pricing page: Can I cancel anytime? Yes, from your account settings."
"Swap the hero image on the home page for the new team photo, then deploy."
The assistant finds the right entry, reads it, makes the smallest change that does the job, and tells you exactly what changed. Every change is logged with its previous value, so nothing is lost.
Contents
- Features
- Requirements
- Installation
- Quick start
- Connecting your AI assistant
- OAuth: how approval works
- Connections, access levels and permissions
- What the assistant can do
- Supported fields
- Example prompts
- Change history and undo
- Static and headless sites: deploying
- Settings reference
- Security
- Troubleshooting
- FAQ
- Use at your own risk
- Support
Features
- Works with the assistants you already use. Claude (web, desktop and mobile), ChatGPT, Claude Code, Cursor, VS Code and other MCP clients.
- Connect with one URL. Paste your site's Marrow URL into Claude or ChatGPT, sign in to your control panel, and approve. Built-in OAuth 2.1 means no tokens to copy. Pasted tokens still work for anything else.
- Finds content the way you describe it. Search by phrase across titles, fields, Grid cells and page-builder blocks, or point at a page URL.
- Native saving. Entries are saved through ExpressionEngine's own entry model, so validation, revisions, extension hooks and cache clearing all run just as they do when you click Save in the control panel.
- Real permissions. Every connection acts as a member, and ExpressionEngine applies that member's channel, status and upload-directory permissions.
- Separate connections per assistant. Each connection has its own token and access level (read only, edit, or full), its own "last used" time, and can be revoked instantly.
- A complete audit trail. Every change records who made it, when, and the before and after values. Deleted blocks are kept as snapshots.
- Bloqs support. Edit, add, move, hide and delete page-builder blocks, with Bloqs' nesting rules enforced.
- One-click deploys for static sites. An optional build hook (Netlify, Vercel, Cloudflare Pages and others) lets you, or your assistant when you ask, publish changes. Deploys never run on their own.
Requirements
- ExpressionEngine 7.0 or later
- PHP 8.1 or later, with the cURL extension (used only for deploy hooks)
- A site reachable over HTTPS for web-based assistants (claude.ai, ChatGPT). Local tools such as Claude Code can also connect to a local development site.
- Optional: Bloqs 5 for page-builder support
Tested with ExpressionEngine 7.5.13, PHP 8.4, MySQL 8.0 and Bloqs 5.2.0.
Installation
- Copy
system/user/addons/marrowinto your site'ssystem/user/addonsfolder. - In the control panel, go to Developer → Add-Ons, find Marrow and click Install.
- Open Marrow's settings (Developer → Add-Ons → Marrow).
Uninstalling removes Marrow's tables (settings, connections and the change log). It does not touch your content.
Quick start
- In Marrow's settings, turn on Enabled and save. Allow OAuth connections is on by default.
- Check the Connect with OAuth panel. It should say OAuth discovery is working. If it doesn't, see OAuth: how approval works.
- In Claude or ChatGPT, add a custom connector with your MCP endpoint (
https://your-site.com/?ACT=NN, shown in Marrow's settings). Don't enter a token. - The assistant opens your control panel. Sign in if asked, choose an access level, and click Approve.
- Ask something simple: "List the channels on my site."
Prefer a token? Under New connection, give it a name, choose an access level, and click Create connection. Marrow shows the token and ready-to-paste setup once; copy it immediately.
Connecting your AI assistant
There are two ways to connect:
- OAuth (recommended). Give the assistant your MCP endpoint URL and approve the connection in your control panel. No secrets are copied around, tokens expire and refresh automatically, and each approval appears as its own connection that you can revoke. This works with Claude, ChatGPT, Claude Code and any MCP client that supports OAuth.
- Token. Create a connection in Marrow's settings and paste its token or connector URL into the assistant. Use this for clients without OAuth support, scripts, or servers.
Your MCP endpoint is shown at the top of the Connections panel and looks like https://your-site.com/?ACT=NN.
When you create a token connection, Marrow shows three things you can copy:
| You'll see | Use it for |
|---|---|
Connector URL (https://your-site.com/?ACT=NN&token=mrw_…) | Claude (web, desktop and mobile apps) and ChatGPT |
| Claude Code command | Claude Code in a terminal |
| JSON config | Cursor, VS Code, Windsurf and other clients configured with JSON |
Assistant apps change their menus often. The steps below were correct at the time of writing; if something has moved, look for "connectors", "MCP" or "custom tools" in your assistant's settings.
Claude (claude.ai, Claude Desktop, Claude mobile)
- Open Settings → Connectors and choose Add custom connector.
- Name it (for example "My website") and paste your MCP endpoint. Leave the advanced OAuth fields empty, and click Add.
- Click Connect. Claude sends you to your control panel to sign in and approve.
- In a chat, make sure the connector is switched on in the tools menu, then ask away.
Using a token instead: paste the Connector URL (it includes &token=…) in step 2, and there's nothing to approve.
Custom connectors may depend on your Claude plan. claude.ai connects from Anthropic's servers, so your site must be publicly reachable over HTTPS.
ChatGPT
- Turn on Developer mode: Settings → Apps & Connectors → Advanced settings.
- Create a connector, paste your MCP endpoint as the MCP server URL, and choose OAuth for authentication.
- ChatGPT sends you to your control panel to sign in and approve.
- In a chat, enable the connector from the tools menu.
Using a token instead: paste the Connector URL and choose No authentication (the token is already in the URL).
Custom MCP connectors are available on some ChatGPT plans; see OpenAI's documentation for current availability. ChatGPT also connects from OpenAI's servers, so your site must be publicly reachable over HTTPS. ChatGPT may ask you to confirm each change before it runs. That's expected, and a good habit.
Claude Code
With OAuth, add the endpoint, then run /mcp in Claude Code and choose Authenticate. Your browser opens the approval page.
claude mcp add --transport http my-site "https://your-site.com/?ACT=NN"
With a token, paste the command Marrow gives you:
claude mcp add --transport http my-site "https://your-site.com/?ACT=NN" \
--header "Authorization: Bearer mrw_…"
Cursor, VS Code, Windsurf and others
Use the JSON config Marrow gives you. Some clients use a slightly different shape:
{
"mcpServers": {
"my-site": {
"url": "https://your-site.com/?ACT=NN",
"headers": { "Authorization": "Bearer mrw_…" }
}
}
}
VS Code (.vscode/mcp.json) uses "servers" instead of "mcpServers" and needs "type": "http" on the server.
Testing a connection
The free MCP Inspector lets you browse Marrow's tools and try them without an AI:
npx @modelcontextprotocol/inspector
Choose Streamable HTTP, paste the connector URL (or the endpoint plus an Authorization: Bearer header), and connect.
Technical details
Marrow implements the MCP Streamable HTTP transport in stateless JSON mode, supporting protocol versions 2024-11-05 through 2025-11-25. Each JSON-RPC message is a POST to an ExpressionEngine action URL. Authentication is a bearer token: either issued through OAuth, or a connection token sent in the Authorization header or as a token query parameter. CORS is enabled so browser-based MCP tools work.
OAuth: how approval works
Marrow includes an OAuth 2.1 authorization server built for the MCP authorization spec.
- When an assistant connects without a token, Marrow replies
401and tells it where to find the authorization details. - The assistant registers itself, either through dynamic client registration or a client ID metadata document, and opens an approval page in your ExpressionEngine control panel.
- ExpressionEngine handles sign-in, including multi-factor authentication. You see the app's name, the address it will return you to, and who it will act as, and you choose its access level: Read only, Edit or Full.
- You click Approve or Deny. Approving creates a connection, named after the app, that acts as you with the level you chose.
Some details:
- Who can approve: any member who can use the Marrow add-on in the control panel. Super Admins always can. For other roles, grant access under Roles → (role) → CP Access → Add-ons.
- Tokens: access tokens last 1 hour and are refreshed automatically. Refresh tokens rotate on every use and expire after 90 days without use. Revoke an OAuth connection in the Connections panel at any time.
- Security: PKCE (S256) is required, and authorization codes are single-use and expire after 5 minutes. Reusing a code revokes the connection it created. Redirect addresses must exactly match what the app registered (loopback addresses may use any port, as native apps require).
Discovery files
Assistants look for your OAuth details at the root of your domain:
https://your-site.com/.well-known/oauth-authorization-server
https://your-site.com/.well-known/oauth-protected-resource
ExpressionEngine can't route those paths itself, so Marrow writes them into your web root automatically and keeps them up to date whenever you open its settings. The Connect with OAuth panel fetches them over HTTP to confirm they work.
If the check fails:
- The web root isn't writable: make
/.well-knownin your web root writable by PHP, then reopen Marrow's settings. - Your server blocks
/.well-knownor dotfiles, or the site lives in a sub-folder (https://example.com/site/): add the rewrite rules shown in the panel to your Apache or nginx configuration. They route both paths to Marrow, so no files are needed.
Tokens don't need any of this. If OAuth won't work on your hosting, token connections still do.
Connections, access levels and permissions
A connection is one token for one assistant or person. Make a separate connection for each one, so you can see who changed what and revoke one without affecting the others.
Access levels
| Level | Can do |
|---|---|
| Read only | Look up channels, entries, files and the change log. No changes. |
| Edit | Everything in Read only, plus change existing entries and blocks (including hiding blocks), and deploy if a hook is set. |
| Full | Everything in Edit, plus create entries and add, move or delete page-builder blocks. |
An assistant only sees the tools its connection allows, so a read-only connection can't change anything, even if asked to.
"Acts as": member permissions
Each connection acts as a member: by default, the person who created it. ExpressionEngine then applies that member's own permissions:
- Channels: only channels assigned to the member's role (Super Admins see all).
- Statuses: only statuses the member's role may use.
- Files: only upload directories the member's role can access.
- Authorship: new entries and revisions are credited to that member.
For a tightly scoped assistant, create a role such as "AI Editor" with access to just the channels it should touch, add a member to that role, and create the connection to act as that member.
On top of this, Settings → Channels limits every connection to a list of channels you choose.
What the assistant can do
| Tool | Access | What it does |
|---|---|---|
list_channels | Read | Channels, their fields (and whether each is editable), Grid columns, statuses and categories |
search_entries | Read | Find entries by phrase (titles, fields, Grid cells, page-builder blocks), channel or status |
get_entry | Read | A full entry, found by ID, page URL or url_title |
search_files | Read | Find images and files to use in file fields |
list_changes | Read | Recent changes, with before and after values |
describe_bloqs_field | Read | Block types that can be added to a Bloqs field (with Bloqs only) |
update_entry | Edit | Change titles, statuses, dates, categories and custom fields |
update_bloq | Edit | Change, hide or show one page-builder block (with Bloqs only) |
deploy_site | Edit | Trigger your build hook (only when a hook is set) |
create_entry | Full | Create a new entry |
add_bloq, move_bloq, delete_bloq | Full | Restructure page-builder content (with Bloqs only) |
Marrow also gives the assistant working instructions: read before writing, make the smallest change, keep rich-text markup intact, ask before deleting or unpublishing, report before and after, and never deploy without being asked.
Supported fields
| Field type | Read | Write | Notes |
|---|---|---|---|
| Text, Textarea, Rich Text (RTE), Wygwam, Markdown | ✓ | ✓ | Rich text is HTML; {file:…} and {page_…} tags are preserved |
| URL, Email, Number, Duration, Slider, Color Picker | ✓ | ✓ | |
| Select, Radio, Selectable Buttons, Toggle | ✓ | ✓ | |
| Checkboxes, Multi Select | ✓ | ✓ | As a list |
| Date | ✓ | ✓ | YYYY-MM-DD HH:MM |
| File | ✓ | ✓ | Set by file_id (use search_files) |
| Grid, File Grid | ✓ | ✓ | Rows keep their row_id; columns you don't mention keep their values |
| Relationships | ✓ | ✓ | An ordered list of entry IDs |
| Categories | ✓ | ✓ | By ID, name or URL title |
| Title, URL title, status, entry/expiration date, sticky | ✓ | ✓ | |
| Bloqs | ✓ | ✓ | Text, rich text, file, select, checkbox, toggle, date and Simple Grid atoms |
| Fluid | ✓ | — | Read only for now |
| Other add-on fieldtypes | raw | — | Shown as stored, marked not editable |
Uploading new files isn't supported yet. Upload in the file manager, then ask the assistant to use the file.
Example prompts
- "What pages do we have, and which haven't been updated this year?"
- "Show me the current text of the Contact page."
- "Rewrite the second paragraph of Our Story to be friendlier. Keep the links."
- "Our phone number changed to (555) 010-2030. Update it everywhere."
- "Add Pricing and Guides as categories on the post How we price projects."
- "In the team Grid on the About page, change Sam's title to Head of Design and add a row for Priya, Product Lead."
- "Create a draft blog post titled Spring updates with a short intro, but don't publish it."
- "Hide the testimonial block on the home page for now."
- "What did you change today? Undo the last change to the pricing page."
- "That all looks good. Deploy the site."
Tips: be specific about the page and the wording you want, ask for drafts (a closed status) when creating content, and review the summary the assistant gives you after each change.
Change history and undo
Every write is recorded in Marrow's change log with the connection's name, the time, a summary, and the full before and after values. You can see recent changes:
- In the control panel: at the bottom of Marrow's settings page.
- In chat: ask "what did you change?". The assistant uses
list_changes.
To undo, ask the assistant to revert a change. It writes the previous value back, and that is logged too. When a page-builder block is deleted, a full snapshot (including its child blocks) is kept in the log so it can be recreated.
ExpressionEngine's own entry revisions also work as normal for channels that have them turned on.
Static and headless sites: deploying
If your public site is built from ExpressionEngine content (Astro, Next.js, Eleventy, Gatsby, Hugo and so on), changes aren't live until the site rebuilds.
- Create a build hook with your host. For example, in Netlify: Site configuration → Build & deploy → Build hooks. Vercel calls them Deploy Hooks and Cloudflare Pages Deploy hooks.
- Paste the hook URL into Marrow's Deploy hook URL setting.
You then get:
- A Deploy now button on Marrow's settings page.
- A
deploy_sitetool for assistants. They're instructed to ask you first and to deploy once per batch of edits, never on their own. - A cooldown (60 seconds by default) that skips repeat deploys, so a double-click doesn't run two builds.
Saving content never triggers a build. Deploys only happen when someone asks, so you stay in control of build minutes.
Settings reference
| Setting | What it does |
|---|---|
| Enabled | Master switch for this site. When off, every MCP request is refused. |
| Channels | Limit all connections to these channels. Leave all unchecked to allow every channel the acting member can access. |
| Allow OAuth connections | Let apps connect by sending you to the control panel to approve them. Turning it off removes the discovery files. Existing OAuth connections stay until you revoke them. |
| Deploy hook URL | Optional https:// build hook for static or headless frontends. |
| Deploy cooldown | Seconds to wait before another deploy can start. 0 turns it off. |
Connections are managed in the Connections panel: create, see last use, and revoke. Settings are per site on Multi Site Manager installs.
Security
Marrow gives software the ability to change your website. Treat it with the same care as a control panel login.
- Prefer OAuth. No long-lived secret is copied into chat apps, access tokens expire hourly, and every approval is tied to a signed-in member.
- Only approve connections you started. The approval page shows the app's name and the address it will return you to. If you didn't just click "connect" in an assistant, click Deny.
- Treat tokens like passwords. Only a SHA-256 hash is stored, and a token is shown once. If a token is exposed, revoke the connection and create a new one.
- The connector URL contains the token. It can appear in your web server's access logs and in the assistant's settings. Use the
Authorizationheader where your client supports it. - Use HTTPS. Never connect over plain HTTP on a public network.
- Give the least access that works. Use read-only connections for research, and dedicated members and roles for assistants that edit.
- Keep backups. The change log helps you undo content edits, but it is not a substitute for database backups.
- Turn Marrow off (Settings → Enabled) whenever you don't need it.
- Watch for prompt injection. Content the assistant reads, from your site or anywhere else, can contain text that tries to give it instructions. Marrow's tools are limited to your content and to the connection's permissions, but review what your assistant proposes, especially if it reads untrusted pages in the same conversation.
Troubleshooting
The assistant says it can't find authorization details, or OAuth fails right away. Open Marrow's settings and check the Connect with OAuth panel. If discovery isn't working, follow the instructions there (see Discovery files).
"Unknown application" or "Invalid redirect" on the approval page. The app's registration doesn't match the request. Remove the connector from the assistant and add it again.
"This request has expired". Approval links last 10 minutes. Start connecting again from the assistant.
A team member can't approve a connection. Their role needs access to the Marrow add-on in the control panel.
"401 Unauthorized" with a correct token. Some servers (often Apache with PHP-FPM or FastCGI) strip the Authorization header. Add this to your .htaccess:
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
Or use the connector URL, which carries the token in the query string.
"401 … member … no longer exists". The member that connection acts as was deleted. Create a new connection.
"503 … turned off". Turn on Enabled in Marrow's settings.
The assistant says a field "can't be edited". That field type isn't supported for writing yet (see Supported fields). Edit it in the control panel.
"isn't allowed to set the status…" or "You do not have access to the directory…". The connection's member doesn't have that permission. Change the member's role, or have the connection act as a different member.
Changes don't show on the site.
- For a static or headless site, deploy.
- If you use caching (template caching, static page caching, a CDN), clear it. Marrow clears ExpressionEngine's caches the same way the control panel does.
The Update button doesn't appear after uploading a new version. Clear PHP's opcache or restart PHP-FPM.
claude.ai or ChatGPT can't reach the site. Those assistants connect from the internet. Local or password-protected staging sites (for example behind HTTP basic auth or a VPN) aren't reachable. Use Claude Code or another local client for local sites.
FAQ
Does this send my content to an AI company? Marrow itself doesn't send anything anywhere. Your assistant fetches content through Marrow when it needs to, as part of your conversation. That content is then handled under your agreement with the assistant's provider.
Which AI model does it use? Whatever your assistant uses. Marrow works with any MCP client.
Can I limit it to a single channel? Yes. Use Settings → Channels, have the connection act as a member whose role is assigned to that channel, or both.
Does it work with Multi Site Manager? Yes. Settings, connections and the change log are per site, and each site has its own endpoint.
Does it support OAuth? Yes. Paste your MCP endpoint into the assistant and approve the connection in your control panel. See OAuth: how approval works.
Will it work with my custom fieldtype? Add-on fieldtypes are shown read only. Get in touch if you'd like one supported.
Use at your own risk
AI is AI, and it can make mistakes.
Marrow lets an AI assistant change the content of your live website. AI assistants can misunderstand a request, change the wrong thing, write something inaccurate, remove content you wanted to keep, or act on instructions hidden in content they read. Marrow provides guardrails (access levels, member permissions, channel limits, a change log, confirmation-friendly tool hints), but it cannot guarantee that an assistant will do what you meant.
By using Marrow, you accept that:
- You are responsible for every change made through Marrow, whether you typed it, approved it, or allowed an assistant to make it.
- You should review changes, keep regular backups of your database and files, and test on a staging site before using Marrow on a production site.
- Marrow is provided "as is", without warranties of any kind, express or implied, including fitness for a particular purpose and non-infringement.
- tripleNERDscore (TNS) accepts no liability for any loss or damage arising from your use of Marrow, or from anything you, your team, or an AI assistant does with it. This includes lost or altered content, downtime, lost revenue, build or hosting costs, and any consequences of content published on your site.
See LICENSE.md for the full terms.
Support
Email support@triplenerdscore.net. Please include your ExpressionEngine and PHP versions, which assistant you're using, and any error message the assistant showed.
Marrow is made by tripleNERDscore.