You can ask n8n’s Nod to find Joomla articles, build a content inventory or, with tighter editorial controls, save an unpublished draft. Cybersalt’s MCP for J extension makes the Joomla site itself an MCP server. Nod connects to that server directly. You do not need an n8n workflow, an n8n API key or a script running on your computer.
The safest first setup is a separate Joomla account on a staging site, limited to read-only article tools. This guide walks through that setup first, then shows what to change if you want Nod to create drafts without giving it permission to publish.
What you’re connecting
Joomla with MCP for J → an authenticated HTTPS endpoint → Nod’s custom MCP connection. MCP (Model Context Protocol) lets an app discover the tools a server offers and call them with structured inputs. Joomla hosts the endpoint and decides what the authenticated account can do. Nod decides when to use the connection and checks whether an action is within the user’s request. The built-in n8n app in Nod is a different connection: it talks to an n8n instance to work with workflows and agents. For Joomla, use Connect MCP.
Before you start
- Check compatibility. Cybersalt documents MCP for J 2.14.0 for Joomla 5 or 6, with PHP 8.2 or newer. That is the extension’s minimum, not a substitute for checking the PHP requirements of your Joomla release. The extension’s OAuth sign-in and activity log require MySQL or MariaDB.
- Check reachability. For a public site, use its real HTTPS address and a valid certificate. For a private staging site, Nod’s server must be able to reach the address, not just the browser you use to sign in. If Nod runs in Docker,
localhostrefers to the Nod container. Use a private address entered by you if your Nod deployment can reach it; don’t make a staging site public just to get through setup. - Prepare a staging copy and a test article. Take a backup before installing an extension on a live site. On staging, pick or create a harmless article with a distinctive title and note its ID in Joomla. That gives you a record you can recognize during the first test.
- Plan the account before copying a token. Use a dedicated Joomla account and group rather than a personal administrator account. Give staging and production different accounts and connection names so it’s clear which site a prompt will use.
1. Install MCP for J and copy the site address
- Download the
pkg_csmcpforj_v*.zippackage from the official Cybersalt download page. - In Joomla administrator, open System → Install → Extensions and upload the package. If MCP for J is already installed, check System → Update → Extensions for updates instead.
- Open Components → MCP for J. In the Dashboard’s Connection details card, copy the Endpoint URL.
https://example.com/api/index.php/v1/mcp
This is an example, not a URL to paste as written. Copy yours from the Dashboard, especially if Joomla lives in a subdirectory. The address is for an MCP client. Opening it as a normal web page does not test the connection. The package includes the component, a Web Services plugin that registers the route, a system plugin that provides the built-in tools and handles Bearer authentication for Joomla API tokens, and an API authentication plugin for optional OAuth sign-in.
2. Set up a read-only Joomla account
- Create a dedicated group and user. In Joomla’s Users area, create a group for the connection and assign a dedicated account to it. Check the account’s group memberships and inherited permissions. Don’t make it a Super User or grant it permission to manage the MCP for J component, which would satisfy both of the component’s MCP permissions.
- Allow Joomla Web Services Login. For that group, go to System → Global Configuration → Permissions and allow Web Services Login. This opens Joomla’s API login door; it is not the same as granting access to MCP tools.
- Allow reading through MCP. In Components → MCP for J → Options → Permissions, allow Use MCP endpoint. Keep Write through MCP endpoint ungranted. Confirm it isn’t allowed through another group.
- Limit the tool list. In Options → Tool access (MCP for J 2.14.0), add a rule for your dedicated group. Select Articles only, mark the rule read-only, and leave extra tools out. Rules affect tool discovery and tool calls. When a user matches multiple rules, their allowed tools are combined, so check the account’s other memberships. These rules do not limit Super Users.
If every MCP connection to the site should be read-only, there is also a site-wide Options → MCP server → Read-only mode. Use a group rule instead if other integrations on that site still need to write. These controls limit what MCP for J offers; they don’t redefine the account’s permissions on other Joomla API routes. Read-only also doesn’t mean public-only. Use non-sensitive records for testing and review what the account can actually read.
3. Get the dedicated account’s Joomla API token
Use the Access token path for this walkthrough. It uses the account’s Joomla API token, not its password, not an n8n token, and not a token copied from a different site.
- In System → Manage → Plugins, check that User - Joomla API Token and API Authentication - Joomla Token are enabled for this token-based setup. In the first plugin, add the dedicated group to Allowed User Groups. Don’t add a broad group simply to make the tab appear.
- Sign in as the dedicated user and open that user’s profile. In the Joomla API Token tab, reveal and copy the full token. Make sure token access is enabled for the account. The token belongs to that account; an administrator can disable or reset someone else’s token but cannot view it.
- If you need a fresh token, use Reset and save the profile before copying it. Resetting breaks any connection using the old value, so don’t reset an existing shared token without checking what depends on it.
Treat the token like a password. Don’t paste it into a prompt, screenshot, support ticket, example URL or workflow. MCP for J’s Dashboard offers a generic setup prompt for some AI clients. Skip it for Nod and use the private form.
4. Add the Joomla endpoint in Nod
- In Nod, open Apps → Connect MCP. Give the connection a clear name, such as Joomla Staging | Articles Read Only. Nod allows names up to 80 characters.
- Paste the Dashboard’s Endpoint URL into the server URL field. Under Authentication, select Access token, not API key. Nod’s Access token option uses Bearer authentication, which MCP for J supports for the Joomla API token.
- Select Continue. Enter just the token in the private setup dialog, with no quotation marks or
Bearerprefix. Complete setup there, then check that the named connection appears in Apps. Nod’s documentation says it keeps the token encrypted in Vault and its server adds the token to each call.
Nod uses Streamable HTTP, the transport MCP for J exposes. There’s no need to create an app definition or paste JSON configuration. If connection setup fails, read the error shown in the private dialog before changing anything in Joomla.
What about browser sign-in?
This guide uses a token, so there’s no need to enable OAuth for it. If your organization prefers browser consent, MCP for J documents a separate OAuth path. A Super User enables it in Options → OAuth sign-in and checks the Dashboard’s readiness indicator. Nod offers Sign in through your browser in its custom MCP form. For that path, use the same endpoint and sign in on the expected Joomla domain as the dedicated account, not as the Super User who enabled OAuth. Check both products’ sign-in requirements and test on staging: successful browser login alone does not prove that Nod received a token or can call a tool.
5. Verify with a small request that can’t change the site
Start with one known record. Name the connection explicitly, limit the output, and say not to change anything:
Use the “Joomla Staging | Articles Read Only” connection. Find the published article titled “MCP connection test”. Return its Joomla article ID, title and status. Do not make changes.
MCP for J’s list_articles tool can search by title and filter by state. A follow-up using the known ID can read the record with get_article. Compare the result against the Joomla Articles screen. Two records with the same title are not interchangeable: verify the exact ID and confirm Nod used staging, not production.
On MySQL or MariaDB, open Components → MCP for J → Logs and look for the corresponding successful tool call. Check that it ran as the dedicated account. Confirm the group rule is still Articles-only and read-only. If your Nod build shows the available tools, check that no write tools are offered. Don’t try to publish or delete something just to see if the permissions work.
Once this passes, try a small content inventory: “List up to ten published articles in the Tutorials category. Return only their IDs, titles and last-modified dates. Don’t edit anything.” Treat text returned from Joomla as content to review, not as instructions to follow. Keep customer data, unpublished sensitive material and secrets out of test requests.
Optional: allow drafts without allowing publication
Keep the first connection read-only. If editors need drafts, test a separate account and group in a dedicated staging category. Use MCP for J 2.14.0 or newer for this design: Cybersalt’s 2.14.0 release notes explain when enforcement of Joomla’s article permissions was added. Check the release notes for the version you actually run.
- Allow Use MCP endpoint and Write through MCP endpoint for the draft group, and limit its tool access to Articles. Don’t mark that rule read-only. If the whole staging endpoint is in site-wide read-only mode, that setting still blocks every write, even with a draft rule.
- Grant Joomla Create only on the intended category. Leave Edit State, Delete and broad Edit ungranted. Only add Edit Own if the account actually needs to revise its own articles. Even without Edit State, an account with the right to edit a published article can still change its live text.
- Ask Nod to save one disposable draft. Don’t request a publish date, featured status or workflow transition. Cybersalt documents that with Create but without Edit State,
create_articlesaves an unpublished draft when publishing fields are omitted.
Use “Joomla Staging | Drafts” to create one unpublished article titled “Nod draft test” in the “MCP Sandbox” category. Leave all publishing and featured fields unset. Return the new article ID and read it back to verify its status. Don’t edit any existing article.
Open that exact article in Joomla and check its status, category and publishing dates. An editor with the right permissions should review the content and handle publication separately. Don’t extend the group to menus, modules, tags, templates or other areas by analogy: the MCP for J permissions reference explains which tool groups in this release check Joomla’s native permissions and which rely on MCP for J’s own permissions. Nod’s trust check is an additional safeguard, not a replacement for a narrowly scoped Joomla account.
Troubleshooting
| What you see | What to check first |
|---|---|
| Timeout or TLS error | Check DNS, certificate validity and reachability from the Nod server. A page loading in your browser doesn’t mean a separate Nod server can reach it. |
| 404 or a web page instead of an MCP response | Copy the Dashboard URL again and check the full path, including any Joomla subdirectory. Verify that Web Services - MCP for J is enabled. The public homepage and the administrator login page aren’t MCP endpoints. |
| 401 Unauthorized | Check the selected authentication method, the token’s site and owner, and whether it was reset. Confirm the core Joomla token authentication plugin is enabled. If the settings are correct, ask your host to confirm that the server forwards the Authorization header to Joomla. The vendor documents a PHP-FPM case; don’t switch Nod to the API key option to work around it. |
| 403 Forbidden | Check Web Services Login and Use MCP endpoint. If only a specific operation fails, check the group’s tool rule and that operation’s Joomla permissions. If the error comes from a proxy or firewall, use its logs to identify the block before changing any rules. Don’t disable the firewall globally. |
| Connected, but no article tools | Check that the group rule includes Articles, the expected account is connected, and System - MCP for J is enabled. After correcting access, look for Reconnect if Nod offers it. Check the current connection before removing or replacing it. |
| Reads work, but creating a draft is refused | On the read-only connection, that is expected. On a dedicated draft connection, check the site-wide read-only setting, group rule, MCP Write permission and Joomla Create permission on the exact category. Check that the request did not set publication, featured or date fields. |
| Draft request timed out after it was sent | Search Joomla for the exact draft title and check the activity log before retrying. A failed response is not proof that Joomla didn’t save the article. |
Disconnecting, rotating credentials and moving to production
When you no longer need the connection, open its card in Nod’s Apps → Manage accounts and disconnect the account. That removes Nod’s access through the saved connection; it does not invalidate someone’s copy of the Joomla token. If a token might have leaked, disable or reset it on the Joomla side immediately. Resetting invalidates the old value for every client that used it. For OAuth, use the app’s Disconnect control on the MCP for J Dashboard to revoke the site-side grant.
Before connecting production, repeat the small read test with a separate production account and a clearly named connection. Confirm the intended account, visible tools and Joomla permissions, and keep publication outside the integration unless there’s a specific editorial need. After extension updates or permission changes, repeat that read test and review the log before expanding access.
Add comment