Frontman for WordPress
Connect AI to WordPress through hosted MCP. Requires a connected site and paid subscription or eligible trial. Tools vary by site and can change content or issue refunds.
Hosted MCP Server
npx add-mcp 'https://api.frontman.sh/mcp'Installs into Claude Code, Codex, Cursor and more
Documentation
Install and Use Frontman for WordPress
The Frontman WordPress plugin connects your site to an AI assistant such as ChatGPT or to the embedded Frontman editor. The editor includes a site preview for supported changes.
This guide owns WordPress installation and use. For the cross-platform support matrix, see Frontman Framework Compatibility. For the product overview, see Frontman for WordPress.
Keep backups and review changes carefully. Use staging for higher-risk changes. Changes to a live site can take effect before review.
Requirements
- WordPress 6.0 or later
- PHP 7.4 or later
- An admin account (
manage_optionscapability) - A GitHub or Google account for Frontman sign-in
- Frontman service access (see current pricing)
For ChatGPT, you also need an active Frontman subscription or trial. ChatGPT supplies the model for hosted MCP, so no additional AI provider connection or API key is required to connect the site or view Billing.
For the embedded Frontman editor, you need a supported AI provider connection or API key. Separate provider charges can apply. See API Keys & Providers.
Installation
Install from the WordPress Plugin Directory
Install Frontman from the WordPress Plugin Directory in wp-admin. WordPress handles the normal plugin install and update flow.
- In your WordPress admin, go to Plugins → Add New Plugin.
- Search for Frontman - AI Website Editor, or open the Frontman plugin page.
- Click Install Now.
- Click Activate Plugin.
Connect an AI assistant
- Sign in to WordPress as an admin and select Frontman from the admin menu.
- Sign in to Frontman with the account that has your active subscription or trial.
- Open Settings → General, or select Connect your agent if that choice is shown.
- For a new connection, select Enable MCP and connect to approve site access. If a saved connection has MCP disabled, select Enable MCP. If it is already enabled, continue.
- Open the connection setup page to verify read access to the site's tool catalog. This does not verify write permissions.
- Connect Frontman in ChatGPT using the same Frontman account. If it is already connected, return to your original conversation and ask: Check my connected WordPress sites.
Connecting enables site-wide MCP access. Tools can change or delete content. Frontman stores an Application Password with the administrator account's broader REST permissions. Disabling MCP does not revoke that password. To revoke it, remove Frontman MCP from your WordPress profile.
Use the Frontman editor
- Sign in to WordPress as an admin and select Frontman from the admin menu.
- If prompted, sign in to Frontman at
api.frontman.shwith GitHub or Google. - Open Settings → Providers, or select Edit in Frontman if that choice is shown. Connect a supported AI provider using Configure Frontman API Keys & Providers.
- Describe the change in the chat beside the site preview.
Frontman sign-in is separate from WordPress sign-in. If the hosted sign-in page stays open, reopen Frontman from the WordPress admin menu.
The existing Frontman demo shows the embedded editor and site preview, not the ChatGPT interface.
Sites with pretty permalinks can also open Frontman while browsing any page: append /frontman to the page URL (for example, https://yoursite.com/about/frontman) and the agent will preview that page. Sites using Plain permalinks use the admin menu entrypoint, which routes through /index.php/frontman.
Where changes persist
WordPress writes affect the connected installation. Published content on a live site can change immediately, before you finish visual review. Preview is not a universal approval gate. Only some tools require confirmation.
Start with a staging copy and a backup. Draft publication and staging promotion still use your normal WordPress process. Recovery depends on the changed surface, as described in Confirmation and Rollback.
What the Agent Can Do
This inventory reflects Frontman WordPress plugin 3.1.0 source, verified August 27, 2026. WordPress uses dedicated wp_* tools, not the file and Lighthouse tools provided by Astro, Next.js, and Vite. For shared browser and backend tools, see Frontman Agent Tool Capabilities.
- Posts, pages, and Gutenberg: list, read, create, duplicate, update, and delete posts or pages; list, read, insert, update, move, and delete blocks.
- Elementor, when active: inspect page data and widgets; add, update, duplicate, move, remove, or generate elements; replace complete page data; flush generated CSS; list and restore Frontman rollback snapshots.
- Navigation, templates, and widgets: manage classic menus, menu items, menu locations, block-theme navigation menus, block templates, template parts, widget areas, and supported widget types.
- Site settings: read and update allowlisted core options such as title, tagline, front-page selection, permalink structure, and comment settings. Arbitrary option access is not available.
- Additional CSS: read and replace active-theme Additional CSS. Frontman can also list, inspect, and restore WordPress Custom CSS revisions for plain CSS.
- Theme settings: list active-theme Customizer/theme mods or read one mod. Plugin 3.1.0 does not expose a generic theme-mod write tool.
- Media: upload a user-attached image into Media Library with optional title, alt text, caption, description, and parent post. Maximum decoded upload size is 20 MB. Plugin does not expose general media browsing, editing, or deletion tools.
- WooCommerce, when active:
wc_*tools cover products, categories, tags, attributes and terms, variations, reviews, orders, notes, refunds, customers, shipping, taxes, coupons, payment gateways, reports, settings, system status, store data, and product/order/customer metadata. - Cache: inspect supported cache plugins and request cache clearing.
Confirmation and Rollback
- Frontman must ask for approval before calling plugin tools whose schema requires
confirm=true. This includes WordPress delete tools, Elementor restoration, Additional CSS writes, and WooCommerce mutations. - Post and page deletion moves content to trash by default;
force=truepermanently deletes it. Other delete tools do not promise trash or automatic restoration. - Many mutation results include before/after state for review, but those snapshots are not a general undo system.
- Elementor content mutation tools save private rollback snapshots and return rollback IDs.
wp_elementor_list_rollbacksfinds them;wp_elementor_restore_rollbackrestores one after separate confirmation. - No plugin-wide one-click rollback exists for Gutenberg, menus, templates, widgets, options, media, or WooCommerce. Use revisions or trash where applicable, and maintain site backups.
Before production use, establish backup ownership, restore verification, recurring checks, and escalation rules with the WordPress maintenance checklist.
Restore an Additional CSS revision
Frontman uses this sequence for Additional CSS recovery:
- Read current CSS with
wp_get_custom_css. - List revision metadata with
wp_list_custom_css_revisions. - Inspect one revision with
wp_get_custom_css_revision. - Ask for approval to restore that revision.
- Restore it with
wp_restore_custom_css_revisionandconfirm=true. - Read current CSS again and compare the observed fingerprint.
The restore tool requires the active stylesheet, current parent post ID, selected revision ID, and current SHA-256 fingerprint. These values prevent known stale writes. The fingerprint check is not an atomic lock. Another writer can change CSS after the check.
Restoration supports plain CSS only. Frontman rejects restoration when WordPress stores preprocessor source in post_content_filtered. WordPress revisions do not contain this source by default.
WordPress settings control revision creation and retention. A restore can create a revision, but Frontman does not promise this result. WordPress save filters can also transform restored CSS. Frontman returns the content metadata that it observes after the write.
Do not retry a restore after a lost response. Read current CSS, compare it with the known prior and target fingerprints, inspect content if necessary, and ask the user what to do.
This recovery flow has runtime coverage on WordPress 6.0.9 with PHP 7.4, WordPress 7.0.2 with PHP 7.4, and WordPress 7.0.2 with PHP 8.4. This matrix does not claim coverage for every intermediate version.
Security
- Only users with the
manage_optionscapability can access Frontman. - Tool call requests (POST) are validated with WordPress nonces.
- Site options are restricted to a safe allowlist — arbitrary option writes are not permitted.
- Loading
/frontmanrequests UI assets from Frontman's hosted client. Connected assistants can access site content through the MCP connection.
External Services
The plugin connects to two Frontman-hosted services:
- app.frontman.sh — Serves the chat UI (JavaScript and CSS).
- api.frontman.sh — Handles AI agent communication via WebSocket. Site content is sent here when you submit a message.
The embedded editor uses your connected AI provider through the Frontman API. ChatGPT supplies the model when you use ChatGPT with hosted MCP. See the Privacy Policy for details.
Troubleshooting
The /frontman URL shows a 404.
Flush your WordPress permalinks: go to Settings → Permalinks and click Save Changes without changing anything.
I see a login screen instead of the Frontman UI.
A WordPress login screen means you must log in as an administrator first. A Frontman login screen at api.frontman.sh is also expected on first use; sign in there with GitHub or Google, then return to /frontman on your site.
Changes aren't showing on the live site.
Use the wp_clear_cache tool in the chat, or flush your caching plugin manually (WP Rocket, W3 Total Cache, etc.).
Something went wrong and I want to undo a change. Use Elementor's Frontman rollback tools only for Elementor changes. For posts and pages, check WordPress revisions or trash when applicable. Other mutations have no plugin-managed rollback; use your site backup or manually restore the recorded before state.