NJ

nikosdion/joomla-mcp-php

Developer tools

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

13 stars 10 forks Качество 77 Тренд 28AGPL-3.0

MCP-сервер для Joomla 5 и более поздних версий, написанный на PHP

Обзор

Сервер STDIO Model Context Protocol (MCP) для Joomla, написанный на PHP * Запускается: ваш компьютер * MCP транспорт: STDIO * Применяется с локальными инструментами ИИ (например, Claude Code): ✅ Да * Применяется с размещенными инструментами ИИ (например, ChatGPT): Нет Если вы ищете MCP-сервер, который можно использовать с размещенными инструментами ИИ, см. MCP4j. Сервер MCP (Model Context Protocol) позволяет большой языковой модели (LLM, также известной как «AI») взаимодействовать с внешним программным обеспечением. Этот MCP-сервер является реализацией протокола MCP для Joomla 5 и более поздних версий. Он находится между вашим LLM и вашей установкой Joomla, позволяя LLM взаимодействовать с вашей установкой Joomla. Конечная цель состоит в том, чтобы сделать Joomla первоклассным гражданином в LLM, позволяя вам создавать и управлять своими сайтами Joomla с помощью LLM без необходимости писать какой-либо код или предпринимать какие-либо ручные шаги. Сервер MCP охватывает основные веб-сервисы Joomla, а также некоторые расширения Akeeba. Данное хранилище не является аффилированным или одобренным Akeeba Ltd.

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

Сервер STDIO Model Context Protocol (MCP) для Joomla, написанный на PHP

Быстрые факты*

  • Запускается: Ваш компьютер
  • Транспорт MCP: STDIO
  • Используется с локальными инструментами ИИ (например, код Клода): ✅ Да
  • Используется с размещенными инструментами ИИ (например, ChatGPT): Нет

[!TIP] Если вы ищете MCP-сервер, который можно использовать с размещенными инструментами ИИ, см. MCP4j.

##Что это такое?

Сервер MCP (Model Context Protocol) позволяет большой языковой модели (LLM, также известной как «AI») взаимодействовать с внешним программным обеспечением.

Этот MCP-сервер является реализацией протокола MCP для Joomla 5 и более поздних версий. Он находится между вашим LLM и вашей установкой Joomla, позволяя LLM взаимодействовать с вашей установкой Joomla. Конечная цель состоит в том, чтобы сделать Joomla первоклассным гражданином в LLM, позволяя вам создавать и управлять своими сайтами Joomla с помощью LLM без необходимости писать какой-либо код или предпринимать какие-либо ручные шаги.

Сервер MCP охватывает основные веб-сервисы Joomla, а также некоторые расширения Akeeba. Данное хранилище не является аффилированным или одобренным Akeeba Ltd.

Требования

PHP 8.1 или более поздний; рекомендуется PHP 8.4. Joomla 5.2 или более поздняя установка, включая 6.x Токен Joomla API для учетной записи Super User.

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

README

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

MCP4Joomla

A STDIO Model Context Protocol (MCP) server for Joomla, written in PHP.

Quick facts

  • Runs on: your computer
  • MCP transport: STDIO
  • Usable with local AI Tools (e.g. Claude Code): ✅ Yes
  • Usable with hosted AI Tools (e.g. ChatGPT): ❌ No

[!TIP] If you’re looking for an MCP server which can be used with hosted AI tools, please see MCP4j.

What is this?

An MCP (Model Context Protocol) server allows a large language model (LLM, also known as “AI”) to interact with external software.

This MCP server is an implementation of the MCP protocol for Joomla 5 and later. It sits between your LLM and your Joomla installation, allowing the LLM to interact with your Joomla installation. The ultimate goal is to make Joomla a first-class citizen in LLMs, allowing you to build and manage your Joomla sites using LLMs without having to write any code or take any manual steps.

The MCP server covers the core Joomla web services, but also some Akeeba extensions. This repository is not affiliated with or endorsed by Akeeba Ltd.

Requirements

  • PHP 8.1 or later; PHP 8.4 recommended.
  • A Joomla 5.2 or later installation, including 6.x
  • A Joomla API token for a Super User account.

Usage

Clone this repository.

Go into the repository and run composer install to install the dependencies.

Edit your MCP configuration file and add this MCP server (the object you see under the MCP4Joomla key in the sample MCP config file below):

{
	"mcpServers": {
		"MCP4Joomla": {
			"command": "/usr/bin/php",
			"args": [
				"/path/to/joomla-mcp-php/mcp4joomla.php",
                "server"
			],
			"env": {
				"JOOMLA_BASE_URL": "https://www.example.com",
				"BEARER_TOKEN": "your_joomla_api_token"
			}
		}
	}
}

Where:

  • /usr/bin/php is the path to your PHP CLI executable.
  • /path/to/joomla-mcp-php/mcp4joomla.php is the path to the mcp4joomla.php file.
  • https://www.example.com is the base URL of your Joomla installation, without the trailing /api, without the trailing /index.php.
  • your_joomla_api_token is the Joomla API token for any active Super User account of your Joomla installation, something that looks like c2hhMjU2OjI5NDoxNmI5NzU3NWY1YTFhYTBmYWViNjUyMTRlZThmYzc1NTBiYWNkNmM4MjQ5N2ExYzllM2FjY2I5ODYxZjMxOGMx.

Using with Claude Code

You can add MCP4Joomla to Claude Code using the claude mcp add command.

[!IMPORTANT] MCP4Joomla provides 249 tools across 22 categories. Claude Code cannot handle this many tools reliably — it will only see a subset of them. You should always use --categories to limit the server to only the categories you need for your session. Use php mcp4joomla.php list-tools to see available categories.

For example, to work with content articles and contacts:

Открыть полный README на GitHub

Установка

docker run -i --rm -e JOOMLA_BASE_URL=https://www.example.com -e BEARER_TOKEN=your_joomla_api_token mcp4joomla server
Новичок в MCP? Начните с руководства на mcpskill.org →

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

{ "mcpServers": { "MCP4Joomla": { "command": "/usr/bin/php", "args": [ "/path/to/joomla-mcp-php/mcp4joomla.php", "server" ], "env": { "JOOMLA_BASE_URL": "https://www.example.com", "BEARER_TOKEN": "your_joomla_api_token" } } } }