MCP for JCE is a free add-on for MCP for J that lets your AI client set up and manage JCE for you. Twenty-seven tools cover every JCE setting: JCE's Options and Global Configuration, the editor profiles and who each one applies to, the toolbar grid, the per-plugin settings, JCE's permissions and the MediaBox settings. A guided setup asks who writes on your site and what they upload, then proposes the profiles and settings to match. There's also a health check and a read-only security audit, because JCE profiles decide who's allowed to upload what, and checking that yours are still the ones you set up is a question the JCE interface makes you answer by eye, one profile at a time.
Why this exists
JCE stores its editor profiles in one table. Profiles, assignments, toolbar layouts, per-plugin settings and upload rules are all rows in #__wf_profiles, and most of the columns are hand-rolled encodings rather than anything a database can check โ comma-separated lists of user groups and components, a toolbar stored as semicolon-separated rows of comma-separated button names, and one JSON blob for the settings. The rest of JCE's settings are spread over three more screens: Options, Global Configuration and MediaBox. That's compact and it works, and it also means the interesting questions about a JCE install are hard to answer by looking.
The most common of those questions is simply "which editor does this person actually get?" JCE picks the first profile that matches on group, component, area and device, in ordering sequence, and once you have more than three profiles nobody can run that in their head reliably. There's a tool that replays JCE's own matching for a given user and context and shows its working, including the profiles it considered and rejected. The second most common question is whether the profiles on the site are still the ones somebody set up on purpose, and that one has a security answer rather than a convenience one.
What your AI can do
Twenty-seven tools across nine areas.
| Area | Tools | What you can do |
|---|---|---|
| Profiles | 8 | List, read, create, update, delete, publish or unpublish, reorder, duplicate. |
| Assignment | 3 | Read and set who a profile applies to โ user groups, components, site or admin, device โ plus a resolver that answers "which profile would this user actually get" by replaying JCE's own matching. |
| Editor configuration | 4 | Read and write the toolbar grid and the settings blob, with every button token cross-checked against what's really installed so a typo doesn't become an invisible missing button. |
| Plugins | 2 | The merged catalogue of every valid toolbar token on this site โ built-in commands, core plugins, Pro plugins and third-party ones โ and the detail for any single one, including which profiles reference it. |
| JCE settings | 1 | Change anything on JCE's Options and Global Configuration screens โ help links, news feed, guest access, the group whitelist, HTML cleanup, doctype, entity encoding, editor CSS, compression, custom editor settings and, on Pro, the fallback editor and media manager replacement โ and set the site's JCE download key. Every value is checked against JCE's own form, a dry run shows the change first, and the key is never shown back. |
| Permissions | 2 | See JCE's Permissions tab for every user group, and change one permission for one group. |
| MediaBox | 2 | Read and change the JCE MediaBox settings when that plugin is installed. |
| Guided setup | 1 | Asks who writes content, how much toolbar they need, what they upload and where they edit, then proposes the profiles and settings and the exact steps to apply them, ending with a check of the result. |
| Diagnostics | 4 | Component and edition info, every JCE setting with its allowed values, a correctness health check, and the read-only profile audit. |
Installing it
You'll need Joomla 5 or 6, PHP 8.2 or later, MCP for J, and JCE itself. Either edition works.
- Open Components โ MCP for J โ Browse MCP Add-Ons and click Install on this add-on. You can also download the ZIP above and install it through System โ Install โ Extensions.
- That's the whole install. The plugin enables itself, and the tools show up in your connected AI client the next time it lists them.
There's no admin screen for this plugin, by design โ it adds tools to MCP for J rather than a place to click.
Using it
Ask for what you want in plain language. "Help me set up JCE for our authors and editors" starts the guided setup: it asks a few questions, shows you the plan, and only applies it after you say yes. "Switch JCE to HTML5 and stop it adding non-breaking spaces" changes the Global Configuration. "Audit my JCE profiles" runs the security check. "Which editor toolbar does a Registered user get when they're writing an article?" runs the resolver and shows which profiles it looked at first. "Nobody can see the image button any more" is usually a health-check answer, because that's the class of problem JCE produces silently.
That silence is worth a sentence on its own. A JCE install can be misconfigured in ways that produce no error, no warning and no log line โ with no published profile at all, JCE simply renders no editor for anyone, in either the site or the administrator, and says nothing about it. The health check looks for that family of states, which is the correctness counterpart to the security audit.
Changing the settings that affect everyone
Two of JCE's Options override every profile: whether visitors who aren't logged in can get an editor at all, and the whitelist of user groups that can ever get one. Change either through the add-on and the report tells you what it means before you commit: turning guest editing on lists the profiles visitors would get and whether those let them upload, and a new whitelist lists every profile whose groups would quietly stop matching. Use a dry run to see that report without saving anything.
Checking that your profiles are clean
JCE below 2.9.99.5 carried CVE-2026-48907, a critical unauthenticated flaw that was mass-exploited from June 2026 and is on CISA's Known Exploited Vulnerabilities list. One of the ways it was used was to plant a JCE editor profile that permitted PHP uploads, and then upload a webshell through JCE's own file browser. The row was the payload.
Updating JCE does not remove that row. A site patched in June 2026 can still be carrying an attacker's profile today, sitting in the profile list looking unremarkable next to the legitimate ones. If your site predates 2.9.99.5, that's the thing to go and check, and it's what audit_jce_profiles is for.
The audit is entirely read-only. It touches nothing, changes nothing, and deletes nothing. It reads every profile and reports the indicators that matter: machine-generated-looking names with no human meaning, an ordering value low enough to pin a profile above every legitimate one so that first-match-wins picks it, executable extensions anywhere in a profile's allowed upload types, MIME validation switched off, the flags that permit PHP or JavaScript or event attributes in content, assignment to the Public group or to visitors who haven't logged in, and profiles whose settings are encrypted and therefore couldn't be checked at all. It also reports your installed version against the fix line. None of those indicators is proof on its own, and the response says so rather than shouting; together, they're a strong signal and they give you something specific to look at.
Two honest limits. This finds the profile half of a compromise only โ these campaigns are layered, and webshells on disk, rogue Super User accounts, scheduled tasks and modified .htaccess files are all out of scope here. A clean audit is not a clean bill of health for the site, and the tool's own response tells you that instead of implying otherwise. And if a profile's settings are encrypted, which happens on some upgraded sites, the audit says it couldn't read that profile rather than reporting it as clean.
Permissions and security
The AI can never do more than the Joomla account it acts for could do in JCE itself. On top of MCP for J's Use and Write permissions, every tool needs JCE's Access Component permission, plus the permission for the JCE screen it works on: Editor Profiles for profile work, Editor Global Configuration for the settings, Configure ACL & Options (or Options Only) as well for JCE's Options and the download key, Configure ACL & Options for permissions, and Mediabox for MediaBox. Super Users pass every check. If you connect an AI app as anyone else, a Super User needs to allow that group in JCE's Options, on the Permissions tab. A refusal names what's missing, and the guided setup only offers the steps the account is allowed to do.
Profile names, descriptions and component lists refuse HTML, because JCE's own save strips it and its profile list prints the name as is. Settings are stored with special characters encoded, the way JCE stores them.
API keys kept in profile settings, such as the AI Assistant plugin's, read [redacted] wherever these tools return them. They're still stored as you set them. The JCE download key is write-only: the tools only ever say whether it's set.
Why the write tools are cautious
Given what that table is, the write side is built to remove options rather than offer them.
There's no profile import tool, and there won't be one. A tool that accepts a whole profile payload and writes it is the shape of the problem, however carefully it validates, so every write here is a named, field-level setter instead. That's also why the guided setup proposes steps rather than applying a finished setup in one go. Executable file extensions are refused outright in any write that touches a profile's allowed upload types, checked against JCE's own blocklist and in any position including double extensions โ the whole call is refused rather than the bad entry being quietly stripped, so you always know what happened. Writes are refused entirely on any site below 2.9.99.5, because on such a site a legitimate profile write is indistinguishable from an attack in any log you'd read afterwards. Reads still work there, because reading is how you find out what happened. And the content-security switches are one-way, in the profiles and in Global Configuration alike: you can tighten them from here, and you can't loosen them.
There's one more refusal that's about data rather than attack. On some upgraded sites JCE's settings column is encrypted with a key that never shipped in the package, and current JCE has a decrypt path and no encrypt path left. A naive read of such a row returns nothing at all and looks exactly like "this profile has no configuration", and a naive write would replace the encrypted value with plaintext permanently. The tools detect that and refuse in both directions.
There's no Pro version of this add-on, on purpose
JCE Pro adds no database table. Its plugin ships no install SQL at all, and what Pro actually adds is more keys inside the same settings blob on the same single table, a couple of extra settings, plus browser-side editor capability โ the image editor, the media manager โ that works on files in real time and stores nothing. So these tools already cover everything both editions store, and a Pro add-on would have nothing left to read or write.
That's also the general rule for these add-ons. An add-on's tier mirrors the tier of the extension it wraps, and a tool only ships as paid if the capability genuinely doesn't exist in the free edition. Here nothing does, so the whole thing is free and it reports which edition it found rather than caring.
What's been tested
This is version 1.1.0. It was tested on Joomla 6 with JCE 3.0.7 Free and Pro: every setting on JCE's Options, Global Configuration and MediaBox screens was set and read back, the values were checked on JCE's own screens, the guided setup was run end to end and its result audited, and the permission checks were run with a Super User and with a Manager account given JCE's permissions one at a time.
Open source
GPL-2.0-or-later, the same license as Joomla itself. Source lives on GitHub.

Add comment