Skip to main content
Cybersalt Consulting Ltd
MCP for J add-on

MCP for DPCalendar

Calendars, events and bookings from your AI client

FreeJoomla 5Joomla 6 v1.0.5
Free

Free download. GPL, the same license as Joomla.

MCP for DPCalendar is a free add-on for MCP for J that puts your DPCalendar site in front of your AI client. Forty-three tools cover calendars, events including recurring ones, bookings, tickets with check-in and check-out, locations, coupons, tax rates and the external calendar feeds DPCalendar syncs from Google, iCloud and CalDAV โ€” plus three roll-up reports the component doesn't offer. Every write goes through DPCalendar's own models, so the notification emails, the capacity bookkeeping, the tags and the custom fields all behave exactly as they would if you'd used the admin.

Why this exists

DPCalendar's admin is good at the thing it's built for, which is working on one event or one booking at a time. What it doesn't do is answer questions that cross entities, and those are most of the questions that actually come up โ€” how many people are booked across next month, which events are close to capacity, how much a given calendar has taken this quarter, who booked but never showed. The answers are all in the data, but getting to them means joining bookings to tickets to events by hand, and the shape of those tables makes that more awkward than you'd guess. This add-on does that joining for you and hands the result to your AI client, which is a better interface for an open-ended question than a filtered list ever is.

What your AI app can do

Forty-three tools, grouped roughly the way you'd reach for them. The full reference, with every tool's permissions and example replies, is in the documentation.

AreaToolsWhat you can do
Calendars2List the calendars on the site and read one, with its access levels and settings.
Events8List with filters, read one with its locations, hosts and per-state ticket counts, create, update, delete, publish or archive or trash, toggle featured, and duplicate. Recurrence is a field you can set on create and update.
Bookings4List with filters, read one with its tickets, coupon and totals broken out, update, delete.
Tickets5List and read individual attendee spots, check someone in, undo a check-in, delete a ticket.
Locations5Full create, read, update and delete over the venues events are attached to.
Coupons5Full create, read, update and delete, including whether a coupon is a percentage or a flat value and whether it applies to events or tickets.
External calendars5Manage the Google, iCloud, iCal-URL and CalDAV feeds DPCalendar syncs from, including adding a new one.
Tax rates5Full create, read, update and delete over the tax rules applied at checkout.
Countries1The reference lookup everything address-shaped is keyed against.
Reports3A one-call dashboard snapshot with counts by state and recent activity, per-event booking summaries, and revenue.

Installing it

You'll need Joomla 5 or 6, MCP for J, and DPCalendar itself. The free Core edition from Digital Peak is enough, so there's nothing to buy; the tools also work with Digital Peak's paid plugins added on top.

  1. 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.
  2. 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. If you go hunting for a menu entry after installing, that's why there isn't one. On a site without DPCalendar, every tool refuses cleanly and says so rather than failing in some confusing way.

Using it

Ask for what you want in plain language. "What's booked for next month, and which events are close to capacity?" runs the dashboard and the per-event booking summary together. "Show me booking 318 with everyone on it" pulls the booking, its tickets with each attendee resolved to a name, the coupon applied and the totals. "Check in ticket 1204" marks that attendee in โ€” and because it goes through DPCalendar's own model, any plugin watching for that state change still fires.

The dashboard summary is the natural first call. It's read-only, it takes no arguments, and it gives you counts across every entity plus a next-seven-days and past-thirty-days view, which is usually enough to work out what you actually want to ask next.

How the pieces fit together

Three things about DPCalendar's structure are worth knowing, because they explain why some of these tools are shaped the way they are.

Calendars are Joomla categories. There's no calendars table โ€” a calendar is a category belonging to DPCalendar, which is why calendar permissions behave exactly like category permissions and why the calendar tools are read-only here. You create and manage calendars in Joomla's own category manager, and this add-on reads them.

A booking isn't attached to one event. It's a checkout container, and it can span several. The link runs through the tickets: each ticket carries both the booking it belongs to and the event it's for. That's why "everyone booked for this event" and "everything in this person's booking" are two different queries, and why the booking and ticket tools are separate rather than one nested thing.

An event's calendar reference is text, not a number. DPCalendar stores events pulled in from Google or iCloud alongside your own, and those carry string identifiers rather than numeric category ids. The filters here take either, which matters if you sync external feeds and want to tell synced events apart from ones your site owns.

Permissions and security

The AI can never do more than the Joomla account it acts for could do in DPCalendar itself. On top of MCP for J's Use and Write permissions, every tool checks DPCalendar's own: Access Administration Interface, Create, Edit or Edit Own, Edit State, Delete and Admin Booking, with event actions checked on the event's own calendar. Lists and reads follow the account's view access levels, as DPCalendar's own lists do.

Changes go in the way DPCalendar's own screens would make them. Text is cleaned with the same filters as DPCalendar's forms, using Joomla's text filter settings for that account, so script the account couldn't save in DPCalendar can't be saved through the AI either. Publishing needs Edit State, and without it a new event is saved unpublished. An event, venue, coupon or tax rate someone has open in DPCalendar is left alone. Checking a ticket in uses DPCalendar's own "Checked in" state, so the seat stays counted.

Private data stays private. Passwords, keys and secret feed addresses in external calendars come back masked unless a Super User asks to see them, and a masked value sent back is never saved over the real one. Online-meeting passwords stored with an event are masked too, and booking replies leave out the customer's private booking link and the payment gateway's raw data.

Deleting an event is permanent, so it only happens from the trash. As in DPCalendar's admin, the delete tool only removes an event that is already trashed; trashing it first is also the reversible option. The delete goes through DPCalendar's own delete, which cascades through the junction tables and the tickets. Deleting a ticket updates the event's capacity counter but leaves the parent booking alone, so a booking that loses its last ticket needs deleting in its own right.

Open source

GPL-2.0-or-later, the same license as Joomla itself. Source lives on GitHub.

Version 1.0.5 (December 3, 2026) fixes how a shorter list in an external calendar's settings is saved and was re-tested on Joomla 6.2.2. Version 1.0.4 was tested on Joomla 5.4 and 6.1 with DPCalendar Core 10.12.4, alone and with its 10.12.4 paid plugins, every tool run as a Super User, an Administrator and a Manager.


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.5 3 Dec 2026

๐Ÿš€ Version 1.0.5 (December 3, 2026)

  • ๐Ÿ”ง Ready for MCP for J's file check. The zip now lists every file it installs, with its size and checksum (integrity.json), so MCP for J can tell you when an update leaves one of this add-on's files missing or empty.
  • ๐Ÿ“ Clearer install messages. They can now be translated, no longer quote a tool count that goes out of date, and end with links to MCP for J and its Support screen.
  • ๐ŸŒ Translations for 16 more languages: Chinese (Simplified), Czech, Dutch, French, German, Greek, Italian, Japanese, Norwegian (Bokmรฅl and Nynorsk), Polish, Portuguese (Brazil), Russian, Spanish, Swedish and Turkish.
  • ๐Ÿ”ง Every tool now says whether it only reads, deletes or can be safely repeated, instead of leaving AI apps and MCP for J to guess from its name. Read-only mode keeps the same tools as before.
  • ๐Ÿ”ง This add-on's tool areas now start with dpcalendar_ (for example dpcalendar_reports), so MCP for J's Tool access and ?categories= no longer mix them up with other add-ons' areas of the same name. A Tool access rule or ?categories= filter that used an old name needs the new one.
  • ๐Ÿ› A shorter list in an external calendar's settings now sticks. update_dpcalendar_extcalendar merged lists in params by position, so sending a list with fewer entries than the stored one kept the old extra entries, and the tool still said it worked. A list you send now replaces the stored one whole; other settings are still merged key by key (#16).
Version 1.0.4 20 Nov 2026

๐Ÿš€ Version 1.0.4 (November 20, 2026)

  • ๐Ÿ“ Uses the core extension's current name. The core installs as "CS MCP for J" (its Joomla Extensions Directory listing name) and shows as "MCP for J" in the Components menu; it was "MCP for Joomla". The install and update messages, and the plugin description where it names the core, now say so. No tool behaves differently.
  • ๐Ÿ”ง Joomla's Changelog button now works for this add-on. On System โ†’ Manage โ†’ Extensions it shows this add-on's release notes.
  • ๐Ÿ”’ Tighter permission checks. Each tool now also needs the matching permission in DPCalendar itself, as its own screens do: access to the component to read; Create, Edit (or Edit Own), Edit State or Delete to change things, checked on the event's own calendar for events; and Admin Booking for bookings, tickets and booking reports.
  • ๐Ÿ”’ Passwords and keys stay hidden. get_dpcalendar_extcalendar masks the credentials in an external calendar's settings unless a Super User asks to see them, and update_dpcalendar_extcalendar keeps the stored value when it is sent a masked one.
  • ๐Ÿ”ง Check-in tools are marked as changes. check_in_dpcalendar_ticket and check_out_dpcalendar_ticket change a ticket, and now tell the AI app so instead of looking like read-only tools.
  • ๐Ÿ› Calendar and event lists work on more databases. list_dpcalendar_calendars, list_dpcalendar_events and get_dpcalendar_event failed on sites whose tables mix two text collations. They now match calendars to events in a way every collation accepts.
  • ๐Ÿ”’ Text is cleaned as DPCalendar's own forms clean it. Titles and descriptions of events, locations and external calendars go through Joomla's text filter for the account the AI app acts for, so script that account could not save in DPCalendar is removed. Other text fields lose any HTML tags, colours must be hex values, links must start with http:// or https://, and email addresses are checked.
  • ๐Ÿ”’ Publishing needs Edit State. Setting a state or publish dates on an event, location, tax rate or external calendar needs DPCalendar's "Edit State" permission, as its own forms do. Without it, a new item is saved unpublished, as DPCalendar would save it.
  • ๐Ÿ”’ Event lists and reads follow view access levels. Events, calendars and external calendars outside the account's view levels are left out, and an event whose content level the account lacks shows "Busy" instead of its title, as in DPCalendar's own list. Meeting passwords that online-meeting plugins keep in an event's settings are masked, and a copied event doesn't take the original's meeting with it. Copying an event also needs Edit (or Edit Own) on it.
  • ๐Ÿ”’ Checked-out items are left alone. Updating an event, location, coupon or tax rate that another user has open in DPCalendar is refused, so their Save can't silently undo the change. Pass force_checked_out: true to save anyway.
  • ๐Ÿ”’ External calendar settings are merged, not replaced. update_dpcalendar_extcalendar keeps every setting you don't send, works with the real password rather than its stored form, and puts back any masked value (also inside nested settings and link addresses) instead of saving the mask. More credential fields are masked, including keys and the user name, password or secret part of feed addresses.
  • ๐Ÿ› Ticket check-in uses DPCalendar's "Checked in" state. check_in_dpcalendar_ticket now sets state 9, which keeps the seat counted as taken; the old state 3 ("Confirmation") freed the seat. Booking and ticket states are labelled with DPCalendar's own names, and update_dpcalendar_booking describes 6 as "cancelled", so a cancel goes through DPCalendar's cancellation rule.
  • ๐Ÿ› Updating a booking keeps its coupon. update_dpcalendar_booking used to detach a booking's coupon on every call. It now also needs DPCalendar's Edit permission, as the admin form does, and no longer writes the payment transaction id, which DPCalendar keeps read-only.
  • ๐Ÿ”’ Less private data in replies. get_dpcalendar_booking no longer returns the booking's public link token or the payment gateway's raw data, and error messages from DPCalendar no longer include database details or server paths.
  • ๐Ÿ”ง Deleting follows DPCalendar's trash rule. delete_dpcalendar_event and delete_dpcalendar_location delete only items already in the trash, as DPCalendar's admin does.
  • ๐Ÿ› Searches match literally. A search containing % or _ now matches those characters instead of acting as a wildcard.
  • ๐Ÿ› Booking and ticket changes work again. update_dpcalendar_booking, check_in_dpcalendar_ticket, check_out_dpcalendar_ticket and delete_dpcalendar_booking stopped with "Call to undefined method ApiRouter::build()" on any site with bookings, because DPCalendar builds the links for its emails while it saves. They now save, and DPCalendar's emails carry the right site links.
  • ๐Ÿ› The country list works. list_dpcalendar_countries failed every time: it looked for a name column that DPCalendar's country table doesn't have. Country names now come from DPCalendar's own language file, and the search matches them.

Add comment

Submit

Joomla websites built well and looked after properly, from Victoria, BC, Canada, since 1998.

About Cybersalt