v3.1.1
A follow-up patch to 3.1.0.
Added
- Resize images over MCP. The Image Optimization module ships an in-place image resizer and a
resize-mediaMCP tool — an AI agent can shrink or crop a Media Library image during a build (or any existing image): scale-to-fit by default, orcrop:truefor an exact width×height. The original is backed up (reversible), all sub-sizes + WebP are regenerated, and the attachment ID/URLs stay the same. Registers only when the Image Optimization module is enabled. - Themer PHP Templates — a real editor. The review screen is now editable: a full CodeMirror editor (PHP syntax highlighting) plus Title and Type fields. Saving re-validates and recompiles an attached template.
- Codex connection help. The Connection tab's Codex option now includes a field-by-field guide for Codex's "Custom MCP" form, and a Node-proxy (npx)
config.tomloption (via@msrbuilds/emcp-proxy) alongside the streamable-HTTP config. - EMCP Themer — Free limits made visible. The Themer templates screen shows a banner (free installs only) with a per-type usage chip for each slot — Header/Footer/Single/Archive/Search/404 (used / cap) — so the 1-template-per-type limit is clear before you hit it, plus a one-click Upgrade to Pro.
Changed
- Per-site MCP server names. Generated client configs now name the server after the site's domain (e.g.
emcp-your-site-com) so connecting several sites in one AI client no longer collides. - Menu order: Modules now sits before Tools in both the sidebar submenu and the header nav.
- Help & Support button restyled to match the Changelog / Affiliate Program pills.
- Bundled Freemius SDK updated 2.13.2 → 2.13.3; optimized an oversized bundled admin logo (~700 KB lighter download).
Fixed
- Changelog page access — no longer errors ("Sorry, you are not allowed to access this page." / "Cannot load…"). It's kept as a normal submenu (renders + reachable) with only its sidebar row hidden via CSS.
- Codex
config.tomlnow useshttp_headers(notheaders). - Themer: the "Render with PHP template" dropdown updates live when the template type changes.
Free updates for this plugin are distributed here on GitHub. Download emcp-tools-3.1.1.zip below.