MCP for J add-on

MCP for JComment

Moderate your JComment comments from your AI client

ProJoomla 5Joomla 6 v1.0.0
$9.95/year

A yearly subscription for downloads and updates.

Buy MCP for JComment

MCP for JComment is a Pro add-on for MCP for J that lets your AI client moderate the comments on a site running JComment by Joomla! Extensions Store. Its 15 tools read comments with their whole thread, reply, approve or unpublish, delete, and score spam, and every spam flag names the rule that fired so you can see why. JComment's own Publish button emails every subscriber of the item as you click it. These tools send nothing unless you ask them to.

Which JComment is this for?

Two Joomla comment extensions have nearly the same name. This add-on is for JComment (com_jcomment, no "s"), the paid extension from Joomla! Extensions Store. If you run the free JComments, with an "s", you want the free MCP for JComments instead. The two have different tables and settings, so neither add-on works with the other's extension. A site can run both add-ons, and their tool names don't overlap.

Why this exists

Comment moderation is a daily chore that mostly comes down to two questions: is this spam? and does this need a reply? With this add-on you can ask "Show me today's pending comments and flag the spam", read the reasons, approve the real ones and answer a question or two, all from your AI client.

What Claude can do

There are 15 tools, grouped the way you'd reach for them.

AreaToolsWhat you can do
Reading2List comments newest first, filtered by state, item, author, IP address, date or text, or the replies to one comment, and read one comment with its whole thread, reports and author history.
Replying1Post a reply as your own account, threaded the way JComment threads replies.
Moderation2Approve or unpublish one comment or many, and delete comments with a dry run first.
Spam2Score comments with every rule that fired, and mark spam by unpublishing or deleting it, optionally blacklisting the author the way JComment's own Ban button does.
Lists5Commented items with their pending counts, reader reports, subscriptions, the blacklist and the mail queue. All read-only.
Diagnostics3A health check, JComment's settings, and a read-only look at JComment's own tables.

Installing it

You'll need Joomla 5 or 6, PHP 8.2 or later, MCP for J, and JComment itself, purchased from Joomla! Extensions Store. The add-on doesn't include JComment and does nothing without it. It was built against JComment 2.0.

  1. Subscribe above, or get this and every other Pro add-on with MCP for J Pro โ€” All Access.
  2. Open Components โ†’ MCP for J โ†’ Browse MCP Add-Ons and click Install on this add-on. You can also download the ZIP and install it through System โ†’ Install โ†’ Extensions.
  3. That's the whole install. The plugin switches itself on, and the tools show up in your AI client the next time it lists them.

If MCP for J isn't installed, the plugin installs switched off and tells you why, rather than leaving you with tools that go nowhere.

Using it

Start with "Check my JComment setup", then "What comments are waiting for approval?" The spam check looks at links and their domains, known spam phrases, your own JComment censor list, a link in the author's name, throwaway email addresses, repeated or shouted text, the same text posted elsewhere, bursts from one IP address, blacklist hits, new authors, reader reports and poor votes. It never judges a comment by the language it's written in.

Approving, replying, unpublishing, deleting and banning send no email by default. If you do want subscribers told, say so, and the tool runs JComment's own notification for that action, for up to 20 comments at a time.

A few things about JComment are worth knowing:

  • Reporting is off on a fresh install, although the Settings screen shows it on. Saving Settings once turns it on. The health check tells you.
  • A fresh install gives nobody a Reply button. It uses the flat "list" view, and the button only appears in the "tree" view.
  • Deleting an item's last comment also deletes every subscription to that item and its attachment folder. The delete tool's dry run tells you when that will happen.
  • Deleting a Joomla user can delete other people's replies. With JComment's user plugin on and its delete mode set to "delete", it removes everything the user wrote and every reply beneath it.
  • Several permission lists name the groups a check applies to, rather than the groups exempt from it. Captcha, flood protection and the length check all work this way. The settings tool shows each list with group names.
  • With Joomla's "From email" or "From name" empty, JComment sends nothing at all, and its mail queue just grows. The health check covers that too.

Permissions and security

Every tool needs Access Administration Interface on JComment for the Joomla account your AI client acts for. Approving or unpublishing also needs Edit State, deleting needs Delete, and banning needs Create. A reply follows JComment's own permission lists, so the account must be allowed to comment and reply, and not be on the blacklist. Your AI client can't do anything that account couldn't do in JComment itself.

Replies and deletes go through JComment's own comment table, so threading and JComment's delete mode behave as they do in its admin. A reply identical to one already posted under the same comment is refused, so a retry can't post twice. Unsubscribe links, the bodies of queued emails and the updater registration email are never shown, and the table viewer is read-only.

What's been exercised, and what hasn't

Worth saying plainly, since you're being asked to pay for it. All 15 tools were driven end to end on Joomla 6.1.4 with PHP 8.4 against JComment 2.0, as a Super User and as a Manager, with comments posted through JComment's own front-end form, and every change was checked in the database. It had a security review before release. Joomla 5 and guest posting haven't been tried yet, and I don't have a live site running JComment to test on. If yours is one, start with the health check, and I'd like to hear how it goes.

Open source

GPL-2.0-or-later, the same license as Joomla itself. The full source is in the ZIP you download.

Please log in to download MCP for JComment.


Interesting blog? Like it on Facebook, Post it or share this article on other bookmarking websites.

Written by:
Tim Davis is the founder and owner of Cybersalt.

Recent changes

Version 1.0.0 5 Nov 2026

First release. 15 tools for JComment by Joomla! Extensions Store (com_jcomment). Studied against JComment 2.0 (2026-10-26) and driven end-to-end on Joomla 6.1.4 / PHP 8.4, as a Super User and as a Manager. Not for the free JComments (com_jcomments), which has its own add-on.

New

  • Diagnostics โ€” check_jextcomment_health, get_jextcomment_settings, query_jextcomment_table.
  • Reading comments โ€” list_jextcomment_comments (newest first; filter by state, item, author, IP, date range, text, or the replies to one comment; optional spam score) and get_jextcomment_comment (one comment with its whole thread, reports, author history and spam assessment).
  • Replying โ€” create_jextcomment_reply posts a reply as the MCP token's own account, threaded exactly as JComment threads replies.
  • Moderation โ€” set_jextcomment_comment_state (approve or unpublish, one or many) and delete_jextcomment_comments (JComment's own delete, with a dry run).
  • Spam โ€” check_jextcomment_spam (scores comments and names every rule that fired) and mark_jextcomment_spam (unpublish or delete, and optionally blacklist the author as JComment's own Ban button does).
  • Read-only lists โ€” list_jextcomment_objects (commented items with pending counts), list_jextcomment_reports, list_jextcomment_subscriptions, list_jextcomment_blacklist, list_jextcomment_mail_queue.

Architecture

  • Nothing emails anyone unless you ask. JComment's own admin Publish button emails every subscriber of the item, in the same request. Here, approving, replying, unpublishing, deleting and banning send nothing by default. notify: true runs JComment's own notification code for that action, exactly as its admin or front end would, for at most 20 comments per call.
  • Deletes are checked first. The dry run and the result list what goes with the comment, and flag anything unexpected as a warning.
  • JComment's permissions are honoured as JComment applies them. They are lists of user-group ids in its settings, matched against the groups an account is directly in. A reply needs the account in can_comment and can_reply and off the blacklist (when it is on), is published only if the account is in autopublish (unless publish is set, which needs core.edit.state), and gets the length check only if it is in that list. Every tool also needs Joomla's core.manage on com_jcomment, plus core.edit.state, core.delete or core.create for the matching action.
  • Replies go through JComment's own comment table, which computes the parent, thread, path and level columns from the comment being answered. A reply is refused rather than truncated when the thread is deeper than those columns hold, and an identical reply to the same comment is refused, so a retry cannot post twice.
  • Deletes go through JComment's own table too and follow its delete mode: "delete" removes the comment and every reply beneath it with their votes and reports; "mark" leaves a "comment deleted" placeholder and keeps the replies. The dry run also says when the delete will take the item's subscriptions and attachment folder with it (see below).
  • Bans write the row JComment's Ban button writes: the comment's IP and, for a registered author, their user id, so the ban stops them when logged in too.
  • Every spam flag explains itself: links and their domains, known spam phrases, the site's own JComment censor list, a link in the author name, disposable email, repeated or shouted text, the same text posted elsewhere, a burst from one IP, blacklist hits, new authors, reader reports and poor votes. No rule looks at the language or script of the text.
  • Unsubscribe hashes, mail bodies (which carry moderation links) and the updater registration email are never shown.

JComment behaviour worth knowing

  • Reporting is off on a fresh install, although the Settings screen shows it on. JComment reads an enable_reports setting that its installer never creates; saving Settings once creates it. The health check and the reports list say so.
  • A fresh install uses the flat "list" view, which gives nobody a Reply button.
  • Deleting an item's last comment also deletes every subscription to that item and its attachment folder. Deleting a comment that has replies never does, even when it empties the item, so those subscriptions stay behind.
  • Deleting a Joomla user account (with JComment's user plugin on and delete mode "delete") deletes every comment they wrote and every reply beneath those, including replies other people wrote. In "mark" mode it keeps their comments, name and email included.
  • Several permission lists name the groups a check applies to: enable_captcha, floodprotection, enable_comment_length_check, enable_privacy_checkbox, emailprotection, enable_autocensor.
  • A group in can_edit_own or can_delete_own that includes guests lets every guest edit or delete every guest comment: JComment compares user id 0 with user id 0.
  • With Joomla's "From email" or "From name" empty, JComment sends nothing at all and the queue just grows. With "cron only" on, it sends only when its cron URL is called. The health check covers both.
  • Subscriber mail does not depend on the "enable notification" option, which only covers moderator and report mail.
  • Blacklist entries have an expiry date field that nothing reads.

Build

  • Requires PHP 8.2+ and CS MCP for J. Installs disabled, with an explanation, when CS MCP for J is not present, and clears Joomla's caches after install.
Log in to comment

Add comment

Submit