MCP for Akeeba Backup is a free add-on for MCP for J that lets your AI app take and inspect backups of your Joomla site with Akeeba Backup, Core or Pro. Seven tools cover your backup profiles, the record of every backup the site has taken, and running a new one, so "back it up before we touch anything" becomes something you say rather than something you go off and do. The backup runs through Akeeba's own engine in the same stepped loop its backup page uses, which is why a backup of a real site finishes instead of dying at the tool-call timeout.
Why this exists
The moment you most want a fresh backup is the moment before you change something, and that's exactly the moment when going to fetch one breaks your concentration. Akeeba Backup does ship a JSON API (the one their Remote CLI tool talks to), but it sits outside Joomla and wants its own client and its own secret key, so it solves the problem for scripts and not for you. There was nothing inside Joomla an AI app could simply ask. This add-on boots Akeeba's engine in-process and drives the same models its admin screens drive, so the backup your AI app takes is the same backup you'd have taken by hand.
What your AI app can do
Seven tools, in four groups.
| Area | Tools | What you can do |
|---|---|---|
| Profiles | 2 | List the backup profiles at your account's access levels, and read one. Its settings are shown only to an account with Akeeba's Configure permission, with passwords, keys and tokens masked. |
| Backup records | 2 | List backup attempts with their status, archive name and size, where the archive is kept, on this server or in remote storage, and whether it can be restored. Read one record in detail. |
| Running a backup | 2 | Start a backup against a profile, then advance it a step at a time until the engine reports it's done. |
| Housekeeping | 1 | Delete a backup, either the record and its archive together, or just the archive files, keeping the record for when you've already copied the archive off-site. |
The full reference, with real tool responses, is in the documentation.
Installing it
You'll need Joomla 5 or 6, PHP 8.2 or later, MCP for J, and Akeeba Backup 10 from Akeeba Ltd: the free Core or Pro, both work.
- 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 app 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 Akeeba Backup isn't installed, the tools don't throw a database error at you; each one says Akeeba Backup isn't on this site and tells you where to get it.
Using it
Ask for what you want in plain language. "Take a backup before we update Joomla" starts one and drives it to completion, reporting progress as it goes. "When did this site last back up successfully, and where's the archive?" reads the record list, and a backup that went to Google Drive or S3 counts as a good backup even though the local copy is gone. "Free up some space: drop the archives from before August but keep the records" is the files-only delete.
Deletes are the one place to be careful, and Akeeba helps. A backup marked frozen is protected from pruning, and this add-on refuses to delete a frozen record rather than quietly overriding the flag. If you really mean it, unfreeze it in Akeeba Backup first.
Permissions
The AI can only do what the Joomla account it acts for could do in Akeeba Backup itself. Every tool needs Access Administration Interface. Starting or continuing a backup needs Backup, deleting one needs Download, and a profile's settings need Configure, because they can hold remote storage credentials, the archive password and database passwords. Even then, passwords, keys and tokens are masked unless an account with Configure ACL & Options asks to see them. A profile at an access level the account doesn't have is left out of the list, and can't be read or backed up. Super Users pass all of these; on Joomla's default permissions an Administrator can read but needs Backup, Download and Configure granted in Akeeba Backup's Options to do more.
Why a backup takes several calls
Akeeba's backup engine is deliberately step-based. Each tick does a bounded amount of work, usually five to fifteen seconds, set by the profile's own maximum execution time, and then returns, so a backup of any size gets there in increments rather than one long blocking run. That's how the admin screen's progress bar works, and it's why a browser tab doesn't have to hold a single request open for ten minutes.
The tools keep that shape instead of hiding it. Starting a backup does the engine setup and the first tick and hands back an identifier; stepping advances it one tick and reports the engine's own status: which phase it's in, any warnings, a progress estimate, and whether it has finished. Your AI app loops on that until the engine says it's done. A single blocking "back up the site" call would be simpler to describe and would time out on every site worth backing up.
One vendor quirk gets absorbed along the way. Akeeba stamps each backup record with where it came from, and it works that out by inspecting the running context. Joomla's API application isn't a context it recognises, so it would label the backup as if it came from cron, which would make backups you asked for indistinguishable from scheduled ones. The add-on sets the origin the same way Akeeba's own backup controller does, so a backup taken through MCP is identifiable afterwards.
What it doesn't do
There's no restore tool, and that's not an oversight. Restoring an archive runs through Akeeba's own restore tools (the separate Kickstart script, or Pro's restore in its admin), usually on a site that is already broken at that moment. That's not a process a tool call can usefully drive, so this add-on doesn't pretend to. It also doesn't download archives or change profile settings; do those in Akeeba Backup.
What's been tested
Version 1.0.6 was tested on Joomla 5.4 and 6.1 with Akeeba Backup Core 10.5.0 and Pro 10.5.0: on each, a full backup taken through these tools and checked on disk, the masking of passwords and keys checked, deletes checked on disk and in the database, and every tool tried with Super User, Administrator and Manager accounts.
Open source
GPL-2.0-or-later, the same license as Joomla itself. Source lives on GitHub.

Add comment