NJ

nasoma/joomla-mcp-server

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

22 stars 11 forks Качество 74 Тренд 8MIT

Joomla MCP Server облегчает взаимодействие между помощниками ИИ (например, Claude) и веб-сайтами Joomla через API веб-сервисов Joomla.

Обзор

Подключите помощника ИИ к существующему веб-сайту Joomla 4 или 5, чтобы он мог читать и управлять статьями, категориями, тегами и другим поддерживаемым контентом сайта. Вы настраиваете: ваш сайт Joomla и компьютер, на котором работает ваш помощник ИИ. Этот сервер Python работает на вашем компьютере и вызывает встроенный API веб-сервисов Joomla по HTTPS. Вы не устанавливаете этот репозиторий в качестве расширения Joomla или загружаете его на свой веб-хостинг. Ваше приложение ИИ должно поддерживать; в приведенном ниже примере используется Claude Desktop. Зарегистрируйтесь в Joomla Administrator как суперпользователь. Открыть (или, в зависимости от макета администратора). Поиск и включение: Начнем с этих трех. Если вам нужны дополнительные инструменты, также включите соответствующий , , или плагин. Средства массовой информации требуют Joomla 4.1 или более поздней версии. Пользовательские поля также нуждаются в компоненте поля Joomla и плагинах поля. Токен API принадлежит пользователю Joomla. Запросы имеют разрешения этого пользователя. Используйте специальную учетную запись для этого соединения, а не повседневную учетную запись Super User. 1.

Обзор (машинный перевод)

Подключите помощника ИИ к существующему веб-сайту Joomla 4 или 5, чтобы он мог читать и управлять. статьи, категории, теги и другой поддерживаемый контент сайта.

Вы настраиваете ** два места**: ваш веб-сайт Joomla и компьютер, на котором работает ваш помощник ИИ. Этот сервер Python работает на вашем компьютере и вызывает встроенный API веб-сервисов Joomla. HTTPS. Вы не устанавливаете этот репозиторий в качестве расширения Joomla или загружаете его на свой веб-хостинг. Ваше приложение для искусственного интеллекта должно поддерживать ** локальные серверы MCP с помощью stdio**; в приведенном ниже примере используется Claude Desktop.

Настройка сайта Joomla

###1 Включить необходимые плагины

Зарегистрируйтесь в Joomla Administrator как суперпользователь. Открыть Система → Управление → Плагины (или Система → Плагины, в зависимости от макета администратора). Поиск и включение:

Плагин необходим для [править править код] API Authentication - Web Services Joomla Token | Аутентификация запросов API с помощью вашего токена Пользователь - Joomla API Token | Создание и управление токеном API пользователя ** Веб-сервисы - Контент** | Статьи, категории контента и поля статей

Начнем с этих трех. Если вам нужны дополнительные инструменты, включите соответствующие

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального README. Открыть оригинал.

Joomla MCP Server

Connect an AI assistant to your existing Joomla 4 or 5 website so it can read and manage articles, categories, tags and other supported site content.

You configure two places: your Joomla website and the computer running your AI assistant. This Python server runs on your computer and calls Joomla’s built-in Web Services API over HTTPS. You do not install this repository as a Joomla extension or upload it to your web host. Your AI app must support local MCP servers using stdio; the example below uses Claude Desktop.

Set up your Joomla website

1. Enable the required plugins

Sign in to your Joomla Administrator as a Super User. Open System → Manage → Plugins (or System → Plugins, depending on your administrator layout). Search for and enable:

Plugin Needed for
API Authentication - Web Services Joomla Token Authenticating API requests with your token
User - Joomla API Token Creating and managing a user’s API token
Web Services - Content Articles, content categories and article fields

Start with these three. If you want additional tools, also enable the corresponding Web Services - Tags, Media, Menus, Modules or Users plugin. Media tools require Joomla 4.1 or later. Custom fields also need Joomla’s Fields component and field plugins.

2. Choose the Joomla account the assistant will use

The API token belongs to a Joomla user. Requests have that user’s permissions. Use a dedicated account for this connection, rather than your everyday Super User account.

For a dedicated account:

  1. Open Users → Groups → New and create a group such as MCP Content Editors. For a restricted starting point, select Registered as the parent group.
  2. Open System → Global Configuration → Permissions, select your group, and allow Web Services Login (core.login.api). Also allow Administrator Login so this account can open its own profile and copy its token. Check that the calculated permissions show Allowed; leave Super User access unset.
  3. For article management, open Content → Articles → Options → Permissions. Give the group Access Administration Interface for the Articles component, then only the actions it needs: Create for new articles, Edit for updates, and Edit State for publishing, unpublishing and trashing. Category permissions can restrict these operations further. Configure other components’ permissions only if you use their tools.
  4. Open Users → Manage → New, create the dedicated account and assign it to that group. Ensure the account is enabled, activated and not blocked.
  5. Return to System → Plugins, open User - Joomla API Token, and add this user’s group to Allowed User Groups, then save. The default commonly allows only Super Users; a newly created account may otherwise have no token tab. Do not clear the group restriction
Открыть полный README на GitHub

Установка

This server does not publish a one-line install command.

Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "Joomla Articles MCP": { "command": "{{PATH_TO_UV}}", "args": [ "--directory", "{{PATH_TO_PROJECT}}", "run", "--locked", "--env-file", "{{PATH_TO_PROJECT}}/.env", "joomla-mcp" ] } } }