Get the plugin
WP MCP/Integrations/Operations

Operations integration

Perfmatters MCP

Perfmatters keeps its settings in one option, grouped in sections (lazyload, assets, preload, fonts, cdn) with a few top-level switches. WP MCP Pro adds a settings pair on the theme dispatcher: get-perfmatters-settings reports a summary and every allowlisted setting (keys are section.key, such as lazyload.lazy_loading), built from the allowlist only so nothing else leaks; set-perfmatters-settings changes them, values typed by the op's schema, refusing a call that changes nothing, and snapshotted on the option so rollback-operation puts every setting back exactly, the write and the rollback both going through the plugin's own save path. Perfmatters has no page cache, so there is no preload op, and its code boxes, custom login URL and license key are never read or written here. Writes are off until a site opts in, and every op runs at manage_options. Because settings change how the site loads, the reply asks for a front-end check.

theme-readtheme-write

What your AI can do

Real Perfmatters operations, every write reversible.

  • Read a summary and every allowlisted Perfmatters setting
  • Turn lazy loading, script deferral, preload and CDN options on or off
  • Change settings through the plugin's own save path, snapshotted
  • Roll back any settings change exactly

Example prompts

Example Perfmatters prompts.

What Perfmatters options are on right now?

Turn on lazy loading for images and defer JavaScript.

Undo the last Perfmatters change; it broke the slider.

Under the hood

The Perfmatters calls, under the hood.

wpmcp, perfmatters

theme-read({ operation: "get-perfmatters-settings" }), allowlisted keys, section.key form

theme-write({ operation: "set-perfmatters-settings", args: { values: { "lazyload.lazy_loading": 1 } } }), Pro; opt-in; snapshotted

Part of WP MCP Pro

The Perfmatters integration is part of WP MCP Pro.

One Pro licence unlocks the Perfmatters tools and every other Pro integration on this site: Elementor deep editing, the other page builders, the forms adapter pack and more, 133 Pro tools in all. The free plugin still covers the rest of WordPress and the full snapshot and undo engine, so you can try the safety model before you buy.

Frequently asked

Perfmatters MCP: questions, answered.

Does the Perfmatters integration touch the code boxes or license?

No. Perfmatters' header, body and footer code boxes, its custom login URL and its license key are never read or written here. Only allowlisted performance settings are, and writes are off until a site opts in.

Why no preload for Perfmatters?

Perfmatters has no page cache, so there is nothing to preload. The settings read and write are the whole integration.

Point your AI at Perfmatters.