@joomengine/joomla-mcp 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +73 -0
- package/LICENSE +349 -0
- package/README.md +279 -0
- package/SECURITY.md +39 -0
- package/config/live-test.default.json +1206 -0
- package/config/sites.example.json +53 -0
- package/config/sites.single-site-readonly.example.json +24 -0
- package/dist/application/joomla-service.d.ts +72 -0
- package/dist/application/joomla-service.d.ts.map +1 -0
- package/dist/application/joomla-service.js +484 -0
- package/dist/application/joomla-service.js.map +1 -0
- package/dist/application/joomla-write-service.d.ts +109 -0
- package/dist/application/joomla-write-service.d.ts.map +1 -0
- package/dist/application/joomla-write-service.js +628 -0
- package/dist/application/joomla-write-service.js.map +1 -0
- package/dist/application/site-registry.d.ts +17 -0
- package/dist/application/site-registry.d.ts.map +1 -0
- package/dist/application/site-registry.js +31 -0
- package/dist/application/site-registry.js.map +1 -0
- package/dist/audit/audit-sink.d.ts +24 -0
- package/dist/audit/audit-sink.d.ts.map +1 -0
- package/dist/audit/audit-sink.js +10 -0
- package/dist/audit/audit-sink.js.map +1 -0
- package/dist/bin/joomla-mcp-http.d.ts +3 -0
- package/dist/bin/joomla-mcp-http.d.ts.map +1 -0
- package/dist/bin/joomla-mcp-http.js +65 -0
- package/dist/bin/joomla-mcp-http.js.map +1 -0
- package/dist/bin/joomla-mcp-live-test.d.ts +3 -0
- package/dist/bin/joomla-mcp-live-test.d.ts.map +1 -0
- package/dist/bin/joomla-mcp-live-test.js +10 -0
- package/dist/bin/joomla-mcp-live-test.js.map +1 -0
- package/dist/bin/joomla-mcp.d.ts +3 -0
- package/dist/bin/joomla-mcp.d.ts.map +1 -0
- package/dist/bin/joomla-mcp.js +18 -0
- package/dist/bin/joomla-mcp.js.map +1 -0
- package/dist/catalog/action-catalog.d.ts +35 -0
- package/dist/catalog/action-catalog.d.ts.map +1 -0
- package/dist/catalog/action-catalog.js +525 -0
- package/dist/catalog/action-catalog.js.map +1 -0
- package/dist/catalog/action-gates.d.ts +10 -0
- package/dist/catalog/action-gates.d.ts.map +1 -0
- package/dist/catalog/action-gates.js +18 -0
- package/dist/catalog/action-gates.js.map +1 -0
- package/dist/catalog/cli-command-targets.d.ts +20 -0
- package/dist/catalog/cli-command-targets.d.ts.map +1 -0
- package/dist/catalog/cli-command-targets.js +60 -0
- package/dist/catalog/cli-command-targets.js.map +1 -0
- package/dist/catalog/companion-actions.d.ts +30 -0
- package/dist/catalog/companion-actions.d.ts.map +1 -0
- package/dist/catalog/companion-actions.js +374 -0
- package/dist/catalog/companion-actions.js.map +1 -0
- package/dist/catalog/core.d.ts +17 -0
- package/dist/catalog/core.d.ts.map +1 -0
- package/dist/catalog/core.js +115 -0
- package/dist/catalog/core.js.map +1 -0
- package/dist/catalog/crud-bases.d.ts +8 -0
- package/dist/catalog/crud-bases.d.ts.map +1 -0
- package/dist/catalog/crud-bases.js +203 -0
- package/dist/catalog/crud-bases.js.map +1 -0
- package/dist/catalog/crud-write-fields.d.ts +11 -0
- package/dist/catalog/crud-write-fields.d.ts.map +1 -0
- package/dist/catalog/crud-write-fields.js +110 -0
- package/dist/catalog/crud-write-fields.js.map +1 -0
- package/dist/catalog/index.d.ts +7 -0
- package/dist/catalog/index.d.ts.map +1 -0
- package/dist/catalog/index.js +7 -0
- package/dist/catalog/index.js.map +1 -0
- package/dist/catalog/source-metadata.d.ts +8 -0
- package/dist/catalog/source-metadata.d.ts.map +1 -0
- package/dist/catalog/source-metadata.js +73 -0
- package/dist/catalog/source-metadata.js.map +1 -0
- package/dist/catalog/special-reads.d.ts +4 -0
- package/dist/catalog/special-reads.d.ts.map +1 -0
- package/dist/catalog/special-reads.js +243 -0
- package/dist/catalog/special-reads.js.map +1 -0
- package/dist/catalog/special-writes.d.ts +8 -0
- package/dist/catalog/special-writes.d.ts.map +1 -0
- package/dist/catalog/special-writes.js +370 -0
- package/dist/catalog/special-writes.js.map +1 -0
- package/dist/config/index.d.ts +3 -0
- package/dist/config/index.d.ts.map +1 -0
- package/dist/config/index.js +3 -0
- package/dist/config/index.js.map +1 -0
- package/dist/config/load.d.ts +20 -0
- package/dist/config/load.d.ts.map +1 -0
- package/dist/config/load.js +156 -0
- package/dist/config/load.js.map +1 -0
- package/dist/config/schema.d.ts +171 -0
- package/dist/config/schema.d.ts.map +1 -0
- package/dist/config/schema.js +169 -0
- package/dist/config/schema.js.map +1 -0
- package/dist/contracts/action-catalog.d.ts +134 -0
- package/dist/contracts/action-catalog.d.ts.map +1 -0
- package/dist/contracts/action-catalog.js +2 -0
- package/dist/contracts/action-catalog.js.map +1 -0
- package/dist/contracts/bounded-query.d.ts +27 -0
- package/dist/contracts/bounded-query.d.ts.map +1 -0
- package/dist/contracts/bounded-query.js +59 -0
- package/dist/contracts/bounded-query.js.map +1 -0
- package/dist/contracts/route-resolution.d.ts +3 -0
- package/dist/contracts/route-resolution.d.ts.map +1 -0
- package/dist/contracts/route-resolution.js +71 -0
- package/dist/contracts/route-resolution.js.map +1 -0
- package/dist/http/access-limits.d.ts +24 -0
- package/dist/http/access-limits.d.ts.map +1 -0
- package/dist/http/access-limits.js +86 -0
- package/dist/http/access-limits.js.map +1 -0
- package/dist/http/audit.d.ts +19 -0
- package/dist/http/audit.d.ts.map +1 -0
- package/dist/http/audit.js +10 -0
- package/dist/http/audit.js.map +1 -0
- package/dist/http/auth.d.ts +33 -0
- package/dist/http/auth.d.ts.map +1 -0
- package/dist/http/auth.js +123 -0
- package/dist/http/auth.js.map +1 -0
- package/dist/http/index.d.ts +6 -0
- package/dist/http/index.d.ts.map +1 -0
- package/dist/http/index.js +6 -0
- package/dist/http/index.js.map +1 -0
- package/dist/http/remote-http.d.ts +47 -0
- package/dist/http/remote-http.d.ts.map +1 -0
- package/dist/http/remote-http.js +552 -0
- package/dist/http/remote-http.js.map +1 -0
- package/dist/http/request-policy.d.ts +19 -0
- package/dist/http/request-policy.d.ts.map +1 -0
- package/dist/http/request-policy.js +137 -0
- package/dist/http/request-policy.js.map +1 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +11 -0
- package/dist/index.js.map +1 -0
- package/dist/infrastructure/api/joomla-api-client.d.ts +26 -0
- package/dist/infrastructure/api/joomla-api-client.d.ts.map +1 -0
- package/dist/infrastructure/api/joomla-api-client.js +139 -0
- package/dist/infrastructure/api/joomla-api-client.js.map +1 -0
- package/dist/infrastructure/cli/joomla-cli-client.d.ts +30 -0
- package/dist/infrastructure/cli/joomla-cli-client.d.ts.map +1 -0
- package/dist/infrastructure/cli/joomla-cli-client.js +163 -0
- package/dist/infrastructure/cli/joomla-cli-client.js.map +1 -0
- package/dist/infrastructure/index.d.ts +3 -0
- package/dist/infrastructure/index.d.ts.map +1 -0
- package/dist/infrastructure/index.js +3 -0
- package/dist/infrastructure/index.js.map +1 -0
- package/dist/library.d.ts +33 -0
- package/dist/library.d.ts.map +1 -0
- package/dist/library.js +22 -0
- package/dist/library.js.map +1 -0
- package/dist/live-test/catalog.d.ts +4 -0
- package/dist/live-test/catalog.d.ts.map +1 -0
- package/dist/live-test/catalog.js +62 -0
- package/dist/live-test/catalog.js.map +1 -0
- package/dist/live-test/cli.d.ts +2 -0
- package/dist/live-test/cli.d.ts.map +1 -0
- package/dist/live-test/cli.js +305 -0
- package/dist/live-test/cli.js.map +1 -0
- package/dist/live-test/console-report.d.ts +3 -0
- package/dist/live-test/console-report.d.ts.map +1 -0
- package/dist/live-test/console-report.js +75 -0
- package/dist/live-test/console-report.js.map +1 -0
- package/dist/live-test/fixtures.d.ts +22 -0
- package/dist/live-test/fixtures.d.ts.map +1 -0
- package/dist/live-test/fixtures.js +371 -0
- package/dist/live-test/fixtures.js.map +1 -0
- package/dist/live-test/index.d.ts +9 -0
- package/dist/live-test/index.d.ts.map +1 -0
- package/dist/live-test/index.js +8 -0
- package/dist/live-test/index.js.map +1 -0
- package/dist/live-test/known-limitations.d.ts +13 -0
- package/dist/live-test/known-limitations.d.ts.map +1 -0
- package/dist/live-test/known-limitations.js +186 -0
- package/dist/live-test/known-limitations.js.map +1 -0
- package/dist/live-test/progress.d.ts +60 -0
- package/dist/live-test/progress.d.ts.map +1 -0
- package/dist/live-test/progress.js +141 -0
- package/dist/live-test/progress.js.map +1 -0
- package/dist/live-test/reporting.d.ts +7 -0
- package/dist/live-test/reporting.d.ts.map +1 -0
- package/dist/live-test/reporting.js +181 -0
- package/dist/live-test/reporting.js.map +1 -0
- package/dist/live-test/runner.d.ts +19 -0
- package/dist/live-test/runner.d.ts.map +1 -0
- package/dist/live-test/runner.js +2680 -0
- package/dist/live-test/runner.js.map +1 -0
- package/dist/live-test/scenario-config.d.ts +82 -0
- package/dist/live-test/scenario-config.d.ts.map +1 -0
- package/dist/live-test/scenario-config.js +384 -0
- package/dist/live-test/scenario-config.js.map +1 -0
- package/dist/live-test/transports.d.ts +13 -0
- package/dist/live-test/transports.d.ts.map +1 -0
- package/dist/live-test/transports.js +162 -0
- package/dist/live-test/transports.js.map +1 -0
- package/dist/live-test/types.d.ts +140 -0
- package/dist/live-test/types.d.ts.map +1 -0
- package/dist/live-test/types.js +10 -0
- package/dist/live-test/types.js.map +1 -0
- package/dist/mcp/create-server.d.ts +36 -0
- package/dist/mcp/create-server.d.ts.map +1 -0
- package/dist/mcp/create-server.js +472 -0
- package/dist/mcp/create-server.js.map +1 -0
- package/dist/security/confirmation-service.d.ts +51 -0
- package/dist/security/confirmation-service.d.ts.map +1 -0
- package/dist/security/confirmation-service.js +153 -0
- package/dist/security/confirmation-service.js.map +1 -0
- package/dist/security/index.d.ts +4 -0
- package/dist/security/index.d.ts.map +1 -0
- package/dist/security/index.js +4 -0
- package/dist/security/index.js.map +1 -0
- package/dist/security/jwks-jwt-verifier.d.ts +15 -0
- package/dist/security/jwks-jwt-verifier.d.ts.map +1 -0
- package/dist/security/jwks-jwt-verifier.js +196 -0
- package/dist/security/jwks-jwt-verifier.js.map +1 -0
- package/dist/security/permission-grant-service.d.ts +55 -0
- package/dist/security/permission-grant-service.d.ts.map +1 -0
- package/dist/security/permission-grant-service.js +321 -0
- package/dist/security/permission-grant-service.js.map +1 -0
- package/dist/version.d.ts +7 -0
- package/dist/version.d.ts.map +1 -0
- package/dist/version.js +7 -0
- package/dist/version.js.map +1 -0
- package/docs/API_ACTIONS.md +350 -0
- package/docs/ARCHITECTURE.md +114 -0
- package/docs/CLI.md +99 -0
- package/docs/CLIENTS.md +269 -0
- package/docs/COVERAGE.md +182 -0
- package/docs/DEPLOYMENT.md +272 -0
- package/docs/FIXTURES.md +210 -0
- package/docs/LIBRARY.md +246 -0
- package/docs/LIVE_TESTING.md +409 -0
- package/docs/OPERATIONS.md +138 -0
- package/docs/PHP_COMPANION.md +221 -0
- package/docs/RECONNAISSANCE.md +104 -0
- package/docs/RELEASING.md +233 -0
- package/docs/REMOTE_HTTP.md +126 -0
- package/docs/SECURITY.md +138 -0
- package/docs/SINGLE_SITE.md +223 -0
- package/docs/TESTING.md +160 -0
- package/docs/TROUBLESHOOTING.md +98 -0
- package/docs/USAGE.md +208 -0
- package/examples/embedded-host/README.md +33 -0
- package/examples/embedded-host/http.mjs +68 -0
- package/examples/embedded-host/package.json +13 -0
- package/examples/embedded-host/stdio.mjs +24 -0
- package/package.json +119 -0
package/docs/CLI.md
ADDED
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
# Joomla CLI integration
|
|
2
|
+
|
|
3
|
+
Joomla's installed console registry is authoritative for the commands available
|
|
4
|
+
on a particular site. Enabled console plugins can add commands, so a static list
|
|
5
|
+
alone is insufficient.
|
|
6
|
+
|
|
7
|
+
Use `joomla_cli_inventory` for bounded structured discovery. It invokes the
|
|
8
|
+
companion's `joomla:mcp:cli-inventory` command, which reads Joomla's native
|
|
9
|
+
`ConsoleApplication::getAllCommands()` registry and returns command names,
|
|
10
|
+
aliases, descriptions, arguments, and options. It does not execute discovered
|
|
11
|
+
commands. `joomla_cli_commands_list` remains available for bounded comparison
|
|
12
|
+
with Joomla's human-oriented `list` output.
|
|
13
|
+
|
|
14
|
+
Use `joomla_cli_command_help` to retrieve Joomla's native help for one installed
|
|
15
|
+
command. It always invokes the fixed `help` command and passes the validated
|
|
16
|
+
canonical command name as one process argument; it never executes the selected
|
|
17
|
+
command.
|
|
18
|
+
|
|
19
|
+
Use `joomla_cli_targets` to join that live metadata to the reviewed MCP target
|
|
20
|
+
map. It reports whether each of Joomla's 38 stock commands is implemented,
|
|
21
|
+
deliberately partial, or gated, and names the fixed semantic action to use. A
|
|
22
|
+
gated entry is documentation, not execution authority.
|
|
23
|
+
|
|
24
|
+
The fixture retains `cli-list.txt`, `cli-inventory.json`, and bounded native help
|
|
25
|
+
for all 153 commands currently installed by its pinned image: 38 Joomla core,
|
|
26
|
+
111 Joomla Component Builder, and four companion commands. Commands added by an
|
|
27
|
+
extension appear automatically without becoming executable MCP tools.
|
|
28
|
+
|
|
29
|
+
The reviewed core target map currently classifies 19 commands as implemented,
|
|
30
|
+
six as deliberately partial, and 13 as gated. `core:check-updates` is the stock
|
|
31
|
+
alias of `core:update:check`. The `database:export` and `database:import`
|
|
32
|
+
commands come from Joomla's bundled `joomla/database` console provider rather
|
|
33
|
+
than a Joomla CMS console class, but are part of the installed Joomla 6 command
|
|
34
|
+
surface and are tracked here.
|
|
35
|
+
|
|
36
|
+
## Core command mapping
|
|
37
|
+
|
|
38
|
+
This table covers every default Joomla 6.1 command currently registered by
|
|
39
|
+
core. “Implemented” means a typed semantic adapter exists; it does not by itself
|
|
40
|
+
mean the action has completed the live mutation and recovery certification
|
|
41
|
+
matrix.
|
|
42
|
+
|
|
43
|
+
| Joomla command | MCP semantic action/tool | Status |
|
|
44
|
+
|---|---|---|
|
|
45
|
+
| `help` | `joomla_cli_command_help`, `joomla_cli_inventory` | Discovery |
|
|
46
|
+
| `list` | `joomla_cli_inventory`, `joomla_cli_commands_list` | Discovery |
|
|
47
|
+
| `cache:clean` | `cache.groups.list`, `cache.clean`, `cache.expired.purge` | Implemented; mutation recovery testing pending |
|
|
48
|
+
| `config:get` | `configuration.get_safe` | Implemented safe subset; raw secrets prohibited |
|
|
49
|
+
| `config:set` | `site.state.set` for offline state | Partial; arbitrary configuration writes gated |
|
|
50
|
+
| `site:down` | `site.state.set` with `offline=true` | Implemented; recovery testing pending |
|
|
51
|
+
| `site:up` | `site.state.set` with `offline=false` | Implemented; recovery testing pending |
|
|
52
|
+
| `site:create-public-folder` | — | Gated; filesystem/recovery contract missing |
|
|
53
|
+
| `core:autoupdate:register` | `core.update.status` | Status only; registration gated |
|
|
54
|
+
| `core:autoupdate:unregister` | `core.update.status` | Status only; registration gated |
|
|
55
|
+
| `core:update` | `core.update.status` | Status only; update execution gated |
|
|
56
|
+
| `core:update:check` (`core:check-updates`) | `core.update.status` | Cached status only; native active network refresh gated |
|
|
57
|
+
| `core:update:channel` | — | Gated; channel rollback contract missing |
|
|
58
|
+
| `update:extensions:check` | `extensions.updates.refresh` | Implemented; recovery testing pending |
|
|
59
|
+
| `update:joomla:remove-old-files` | — | Gated; destructive post-update cleanup |
|
|
60
|
+
| `extension:list` | `extensions.list` | Implemented |
|
|
61
|
+
| `extension:enable` | `extensions.state.set` | Implemented; recovery testing pending |
|
|
62
|
+
| `extension:disable` | `extensions.state.set` | Implemented; recovery testing pending |
|
|
63
|
+
| `extension:remove` | — | Gated; package/data rollback contract missing |
|
|
64
|
+
| `extension:install` | — | Gated; supply-chain and rollback contract missing |
|
|
65
|
+
| `extension:discover` | `extensions.discovered.refresh` | Implemented; recovery testing pending |
|
|
66
|
+
| `extension:discover:list` | `extensions.discovered.list` | Implemented |
|
|
67
|
+
| `extension:discover:install` | — | Gated; install rollback contract missing |
|
|
68
|
+
| `user:list` | `users.users.list` | Implemented through Joomla models/API |
|
|
69
|
+
| `user:add` | `users.users.create` | Implemented; live ACL/recovery testing pending |
|
|
70
|
+
| `user:addtogroup` | `users.users.update` | Partial; command-specific group contract pending |
|
|
71
|
+
| `user:removefromgroup` | `users.users.update` | Partial; command-specific group contract pending |
|
|
72
|
+
| `user:reset-password` | `users.users.update` | Partial; password/recovery contract gated |
|
|
73
|
+
| `user:delete` | `users.users.delete` | Implemented; destructive recovery testing pending |
|
|
74
|
+
| `scheduler:list` | `scheduler.tasks.list` | Implemented |
|
|
75
|
+
| `scheduler:run` | `scheduler.tasks.run` | Implemented for one fixed task ID; recovery testing pending |
|
|
76
|
+
| `scheduler:state` | `scheduler.tasks.state.set` | Implemented; recovery testing pending |
|
|
77
|
+
| `finder:index` | — | Gated; load, timeout, and recovery contract missing |
|
|
78
|
+
| `maintenance:database` | — | Gated; database mutation/recovery contract missing |
|
|
79
|
+
| `session:gc` | `sessions.data.gc` | Implemented for site/administrator; live testing pending |
|
|
80
|
+
| `session:metadata:gc` | `sessions.metadata.gc` | Implemented; live testing pending |
|
|
81
|
+
| `database:export` | — | Gated; artifact, credential, and size contract missing |
|
|
82
|
+
| `database:import` | — | Gated; destructive restore and rollback contract missing |
|
|
83
|
+
|
|
84
|
+
## Companion commands
|
|
85
|
+
|
|
86
|
+
| Command | Purpose |
|
|
87
|
+
|---|---|
|
|
88
|
+
| `joomla:mcp:describe` | Return the versioned semantic action catalogue and effective actor ACL |
|
|
89
|
+
| `joomla:mcp:dispatch` | Execute one allowlisted semantic action from JSON stdin |
|
|
90
|
+
| `joomla:mcp:self-test` | Verify plugin activation, catalogue integrity, and a fixed `system.info` dispatch |
|
|
91
|
+
| `joomla:mcp:cli-inventory` | Describe Joomla's installed command registry without executing commands |
|
|
92
|
+
|
|
93
|
+
## Integration rule
|
|
94
|
+
|
|
95
|
+
There is deliberately no generic MCP command executor. Useful Joomla commands
|
|
96
|
+
are integrated one at a time as typed semantic actions with a fixed native
|
|
97
|
+
target, explicit toolset and ACL, bounded input/output, plan/apply confirmation
|
|
98
|
+
for writes, verification, audit, and a recovery contract. Inventory evidence
|
|
99
|
+
informs integration work; it never grants execution authority.
|
package/docs/CLIENTS.md
ADDED
|
@@ -0,0 +1,269 @@
|
|
|
1
|
+
# AI client connections
|
|
2
|
+
|
|
3
|
+
JoomEngine MCP for Joomla is model-independent. The server speaks standard MCP;
|
|
4
|
+
the AI product is an MCP host. Use local stdio when the host can start the Node
|
|
5
|
+
process, or authenticated Streamable HTTP when the host connects over a
|
|
6
|
+
network.
|
|
7
|
+
|
|
8
|
+
Joomla API tokens, Joomla Update tokens, and the approval HMAC secret belong in
|
|
9
|
+
the MCP server process environment. Do not paste them into prompts or put their
|
|
10
|
+
values in an AI client configuration.
|
|
11
|
+
|
|
12
|
+
## Compatibility matrix
|
|
13
|
+
|
|
14
|
+
| Client | Local stdio | Streamable HTTP | Authentication |
|
|
15
|
+
|---|---:|---:|---|
|
|
16
|
+
| ChatGPT desktop app | Yes | Yes | Inherited environment for stdio; OAuth for HTTP |
|
|
17
|
+
| ChatGPT web | No | Yes | OAuth through a developer-mode or published plugin |
|
|
18
|
+
| Codex CLI/app/IDE | Yes | Yes | Inherited environment, bearer-token variable, or OAuth |
|
|
19
|
+
| Claude Code | Yes | Yes | Inherited environment, headers, or OAuth |
|
|
20
|
+
| Claude Desktop | Yes | Remote connector separately | Local process environment or connector OAuth |
|
|
21
|
+
| Gemini CLI | Yes | Yes | Inherited environment, headers, or OAuth discovery |
|
|
22
|
+
| Grok/xAI Responses API | No | Yes | Bearer token passed as the MCP `authorization` value |
|
|
23
|
+
|
|
24
|
+
The configurations below use:
|
|
25
|
+
|
|
26
|
+
- repository checkout: `/opt/joomla-mcp`;
|
|
27
|
+
- compiled entry point: `/opt/joomla-mcp/dist/bin/joomla-mcp.js`;
|
|
28
|
+
- site configuration: `/etc/joomla-mcp/sites.json`;
|
|
29
|
+
- remote endpoint: `https://mcp.company.example/mcp`.
|
|
30
|
+
|
|
31
|
+
Change only those installation-specific paths and hostnames.
|
|
32
|
+
|
|
33
|
+
## ChatGPT desktop app
|
|
34
|
+
|
|
35
|
+
Open **Settings → MCP servers → Add server**.
|
|
36
|
+
|
|
37
|
+
For a local installation:
|
|
38
|
+
|
|
39
|
+
- Name: `JoomEngine MCP for Joomla`
|
|
40
|
+
- Transport: `STDIO`
|
|
41
|
+
- Command: `/usr/bin/node`
|
|
42
|
+
- Arguments: `/opt/joomla-mcp/dist/bin/joomla-mcp.js`
|
|
43
|
+
- Environment: `JOOMLA_MCP_CONFIG=/etc/joomla-mcp/sites.json`
|
|
44
|
+
|
|
45
|
+
Ensure the ChatGPT desktop process inherits every secret environment variable
|
|
46
|
+
referenced by `sites.json`. Save, restart the app, and use `/mcp` to verify the
|
|
47
|
+
connection.
|
|
48
|
+
|
|
49
|
+
For a remote installation, choose **Streamable HTTP**, enter
|
|
50
|
+
`https://mcp.company.example/mcp`, save, restart, and select **Authenticate**.
|
|
51
|
+
|
|
52
|
+
OpenAI’s current MCP client instructions are maintained at
|
|
53
|
+
<https://developers.openai.com/codex/mcp>.
|
|
54
|
+
|
|
55
|
+
## ChatGPT web
|
|
56
|
+
|
|
57
|
+
ChatGPT web does not read the local configuration. The server must be available
|
|
58
|
+
through HTTPS Streamable HTTP and a standards-compliant OAuth flow.
|
|
59
|
+
|
|
60
|
+
For an in-house beta:
|
|
61
|
+
|
|
62
|
+
1. Enable Developer mode in **Settings → Security and login**.
|
|
63
|
+
2. Open **Settings → Plugins**.
|
|
64
|
+
3. Create a developer-mode app named **JoomEngine MCP for Joomla**.
|
|
65
|
+
4. Enter `https://mcp.company.example/mcp`.
|
|
66
|
+
5. Complete OAuth, inspect the discovered tools, and test in a new chat.
|
|
67
|
+
|
|
68
|
+
ChatGPT has its own app-level confirmation policy. That client policy is
|
|
69
|
+
additional to the MCP server’s principal-bound Joomla permission grant; it does
|
|
70
|
+
not replace the server-side grant.
|
|
71
|
+
|
|
72
|
+
See <https://developers.openai.com/apps-sdk/deploy/connect-chatgpt>.
|
|
73
|
+
|
|
74
|
+
## Codex CLI, app, and IDE extension
|
|
75
|
+
|
|
76
|
+
These surfaces share `~/.codex/config.toml`.
|
|
77
|
+
|
|
78
|
+
Local stdio:
|
|
79
|
+
|
|
80
|
+
```toml
|
|
81
|
+
[mcp_servers.joomla]
|
|
82
|
+
command = "/usr/bin/node"
|
|
83
|
+
args = ["/opt/joomla-mcp/dist/bin/joomla-mcp.js"]
|
|
84
|
+
env = { JOOMLA_MCP_CONFIG = "/etc/joomla-mcp/sites.json" }
|
|
85
|
+
env_vars = [
|
|
86
|
+
"JOOMLA_COMPANY_TOKEN",
|
|
87
|
+
"JOOMLA_COMPANY_UPDATE_TOKEN",
|
|
88
|
+
"JOOMLA_MCP_APPROVAL_SECRET"
|
|
89
|
+
]
|
|
90
|
+
default_tools_approval_mode = "writes"
|
|
91
|
+
required = true
|
|
92
|
+
tool_timeout_sec = 180
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
Remote HTTP:
|
|
96
|
+
|
|
97
|
+
```toml
|
|
98
|
+
[mcp_servers.joomla]
|
|
99
|
+
url = "https://mcp.company.example/mcp"
|
|
100
|
+
auth = "oauth"
|
|
101
|
+
default_tools_approval_mode = "writes"
|
|
102
|
+
required = true
|
|
103
|
+
tool_timeout_sec = 180
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
Run:
|
|
107
|
+
|
|
108
|
+
```bash
|
|
109
|
+
codex mcp list
|
|
110
|
+
codex mcp login joomla
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
The login command is required only for the OAuth-protected HTTP configuration.
|
|
114
|
+
|
|
115
|
+
## Claude Code
|
|
116
|
+
|
|
117
|
+
Local stdio:
|
|
118
|
+
|
|
119
|
+
```bash
|
|
120
|
+
claude mcp add \
|
|
121
|
+
--transport stdio \
|
|
122
|
+
--scope user \
|
|
123
|
+
--env JOOMLA_MCP_CONFIG=/etc/joomla-mcp/sites.json \
|
|
124
|
+
joomla \
|
|
125
|
+
-- /usr/bin/node /opt/joomla-mcp/dist/bin/joomla-mcp.js
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
Launch Claude Code from an environment that already contains the secret
|
|
129
|
+
variables referenced by `sites.json`.
|
|
130
|
+
|
|
131
|
+
Remote HTTP:
|
|
132
|
+
|
|
133
|
+
```bash
|
|
134
|
+
claude mcp add \
|
|
135
|
+
--transport http \
|
|
136
|
+
--scope user \
|
|
137
|
+
joomla \
|
|
138
|
+
https://mcp.company.example/mcp
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
Run `claude mcp list`, then `/mcp` inside Claude Code. Complete OAuth when
|
|
142
|
+
prompted. The `type` of a JSON remote configuration must be `http` or
|
|
143
|
+
`streamable-http`; a URL without a type is not a valid Claude Code
|
|
144
|
+
configuration.
|
|
145
|
+
|
|
146
|
+
See <https://docs.anthropic.com/en/docs/claude-code/mcp>.
|
|
147
|
+
|
|
148
|
+
## Claude Desktop
|
|
149
|
+
|
|
150
|
+
Claude Desktop can use the same local stdio process. Add this entry to the
|
|
151
|
+
desktop MCP configuration and restart Claude Desktop:
|
|
152
|
+
|
|
153
|
+
```json
|
|
154
|
+
{
|
|
155
|
+
"mcpServers": {
|
|
156
|
+
"joomla": {
|
|
157
|
+
"command": "/usr/bin/node",
|
|
158
|
+
"args": ["/opt/joomla-mcp/dist/bin/joomla-mcp.js"],
|
|
159
|
+
"env": {
|
|
160
|
+
"JOOMLA_MCP_CONFIG": "/etc/joomla-mcp/sites.json"
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
The desktop process must inherit the secret environment variables. Remote
|
|
168
|
+
Claude connectors are account-managed and connect from Anthropic’s
|
|
169
|
+
infrastructure rather than from the desktop’s local network.
|
|
170
|
+
|
|
171
|
+
## Gemini CLI
|
|
172
|
+
|
|
173
|
+
Add this to `~/.gemini/settings.json`:
|
|
174
|
+
|
|
175
|
+
```json
|
|
176
|
+
{
|
|
177
|
+
"mcp": {
|
|
178
|
+
"allowed": ["joomla"]
|
|
179
|
+
},
|
|
180
|
+
"mcpServers": {
|
|
181
|
+
"joomla": {
|
|
182
|
+
"command": "/usr/bin/node",
|
|
183
|
+
"args": ["/opt/joomla-mcp/dist/bin/joomla-mcp.js"],
|
|
184
|
+
"env": {
|
|
185
|
+
"JOOMLA_MCP_CONFIG": "/etc/joomla-mcp/sites.json",
|
|
186
|
+
"JOOMLA_COMPANY_TOKEN": "$JOOMLA_COMPANY_TOKEN",
|
|
187
|
+
"JOOMLA_COMPANY_UPDATE_TOKEN": "$JOOMLA_COMPANY_UPDATE_TOKEN",
|
|
188
|
+
"JOOMLA_MCP_APPROVAL_SECRET": "$JOOMLA_MCP_APPROVAL_SECRET"
|
|
189
|
+
},
|
|
190
|
+
"timeout": 180000,
|
|
191
|
+
"trust": false
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
For Streamable HTTP, replace the server entry with:
|
|
198
|
+
|
|
199
|
+
```json
|
|
200
|
+
{
|
|
201
|
+
"mcpServers": {
|
|
202
|
+
"joomla": {
|
|
203
|
+
"httpUrl": "https://mcp.company.example/mcp",
|
|
204
|
+
"timeout": 180000,
|
|
205
|
+
"trust": false
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
Use `/mcp` and `/mcp auth joomla` to inspect and authenticate the remote server.
|
|
212
|
+
Do not set `trust` to `true` for a write-capable Joomla server.
|
|
213
|
+
|
|
214
|
+
See <https://google-gemini.github.io/gemini-cli/docs/tools/mcp-server.html>.
|
|
215
|
+
|
|
216
|
+
## Grok through the xAI Responses API
|
|
217
|
+
|
|
218
|
+
Grok’s remote MCP tool connects from xAI infrastructure, so use the HTTPS
|
|
219
|
+
endpoint. The bearer token must be a short-lived JWT issued for this MCP
|
|
220
|
+
resource; it is not a Joomla token.
|
|
221
|
+
|
|
222
|
+
```bash
|
|
223
|
+
curl https://api.x.ai/v1/responses \
|
|
224
|
+
-H "Content-Type: application/json" \
|
|
225
|
+
-H "Authorization: Bearer ${XAI_API_KEY}" \
|
|
226
|
+
-d "{
|
|
227
|
+
\"model\": \"grok-4.5\",
|
|
228
|
+
\"input\": [{
|
|
229
|
+
\"role\": \"user\",
|
|
230
|
+
\"content\": \"List the configured Joomla sites and describe their enabled capabilities.\"
|
|
231
|
+
}],
|
|
232
|
+
\"tools\": [{
|
|
233
|
+
\"type\": \"mcp\",
|
|
234
|
+
\"server_url\": \"https://mcp.company.example/mcp\",
|
|
235
|
+
\"server_label\": \"joomla\",
|
|
236
|
+
\"server_description\": \"JoomEngine MCP for Joomla\",
|
|
237
|
+
\"authorization\": \"${JOOMLA_MCP_ACCESS_TOKEN}\",
|
|
238
|
+
\"allowed_tools\": [
|
|
239
|
+
\"joomla_sites_list\",
|
|
240
|
+
\"joomla_capabilities\",
|
|
241
|
+
\"joomla_actions_search\",
|
|
242
|
+
\"joomla_action_describe\",
|
|
243
|
+
\"joomla_action_read\"
|
|
244
|
+
]
|
|
245
|
+
}]
|
|
246
|
+
}"
|
|
247
|
+
```
|
|
248
|
+
|
|
249
|
+
The example deliberately allows only discovery and generic read tools. Expand
|
|
250
|
+
`allowed_tools` only after testing the server-side permission workflow. xAI
|
|
251
|
+
currently supports remote MCP over Streamable HTTP and SSE:
|
|
252
|
+
<https://docs.x.ai/developers/tools/remote-mcp>.
|
|
253
|
+
|
|
254
|
+
## Connection acceptance test
|
|
255
|
+
|
|
256
|
+
For every client:
|
|
257
|
+
|
|
258
|
+
1. List tools and confirm the product reports `joomengine-mcp-for-joomla`.
|
|
259
|
+
2. Call `joomla_sites_list`; verify that no token or environment value appears.
|
|
260
|
+
3. Call `joomla_capabilities` for the configured alias.
|
|
261
|
+
4. Run one bounded read.
|
|
262
|
+
5. Preview one write with `dryRun: true`; verify that no confirmation token is
|
|
263
|
+
returned.
|
|
264
|
+
6. Attempt a non-dry-run plan without a grant; it must direct the AI to
|
|
265
|
+
`joomla_permission_request`.
|
|
266
|
+
7. Complete a one-operation permission request and apply one staging mutation.
|
|
267
|
+
8. Confirm the grant, plan, use, result, and verification events in the audit
|
|
268
|
+
stream.
|
|
269
|
+
|
package/docs/COVERAGE.md
ADDED
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
# Joomla action coverage and release status
|
|
2
|
+
|
|
3
|
+
This is the release truth table. It distinguishes eight independent facts for
|
|
4
|
+
every endpoint or native command:
|
|
5
|
+
|
|
6
|
+
- **Source-backed:** the Joomla route, command, service/model, form, ACL, and
|
|
7
|
+
lifecycle have been identified in supported Joomla source.
|
|
8
|
+
- **Catalogued:** the semantic action and source reference exist.
|
|
9
|
+
- **Routable:** the selected site has an implementation and configured
|
|
10
|
+
transport; source-only gates are excluded.
|
|
11
|
+
- **Input-contracted:** route inputs and mutation fields have reviewed schemas.
|
|
12
|
+
- **Live-success:** a supported Joomla fixture accepted the action.
|
|
13
|
+
- **Denial-verified:** a least-privilege actor lacking the required permission
|
|
14
|
+
was rejected.
|
|
15
|
+
- **Postcondition-verified:** independent readback proves the documented result.
|
|
16
|
+
- **Recovery-verified:** cleanup, rollback, or restore passed the required
|
|
17
|
+
interruption/failure matrix.
|
|
18
|
+
- **Gated:** code may exist, but execution or production use remains disabled or
|
|
19
|
+
restricted until its permission, recovery, scaling, or live evidence passes.
|
|
20
|
+
|
|
21
|
+
No action family is currently live-verified across the required matrix. The
|
|
22
|
+
repository must not yet be described as fully production-ready or as complete
|
|
23
|
+
API/CLI parity.
|
|
24
|
+
|
|
25
|
+
`Implemented` below never means live-verified. `Native local` means the
|
|
26
|
+
companion calls a fixed Joomla-native model/service/runtime capability; it does
|
|
27
|
+
not mean arbitrary stock CLI execution.
|
|
28
|
+
|
|
29
|
+
## Coverage summary
|
|
30
|
+
|
|
31
|
+
- The Web Services catalogue contains 36 core CRUD bases: 72 list/get reads and
|
|
32
|
+
108 create/update/delete writes.
|
|
33
|
+
- It also contains 29 special reads and 27 special writes, for 101 reads and 135
|
|
34
|
+
writes (236 API semantic descriptors total).
|
|
35
|
+
- Five registered routes are explicitly source-only: component configuration
|
|
36
|
+
read/update, language-package install, and both language-override PATCH
|
|
37
|
+
routes. The remaining 231 descriptors are eligible for API routing when their
|
|
38
|
+
site toolset and Joomla credential permit them.
|
|
39
|
+
- All 108 CRUD writes reject fields outside reviewed per-family allowlists.
|
|
40
|
+
Special writes contain 22 exact body/no-body contracts, one typed core plus
|
|
41
|
+
runtime-extension contract for contact submission, and four source-gated
|
|
42
|
+
generic contracts.
|
|
43
|
+
- The companion allowlist contains 231 fixed native actions: 180 CRUD, 28 core
|
|
44
|
+
model state actions, and 23 supplemental/alias actions.
|
|
45
|
+
- The edge companion catalogue contains 12 reads and 39 writes (51 descriptors):
|
|
46
|
+
selected native operations, cache clean, and 28 core model-state actions.
|
|
47
|
+
- Generic MCP search/read and plan/apply expose the effective API actions, all
|
|
48
|
+
shared companion CRUD IDs, all 51 edge companion descriptors, and the
|
|
49
|
+
companion's live effective actor permission catalogue. `joomla_action_describe`
|
|
50
|
+
reports exact configured transports and source-only reasons.
|
|
51
|
+
- Offline TypeScript and companion tests exist. The current live API contract is
|
|
52
|
+
a read smoke test, not a complete action matrix.
|
|
53
|
+
- The reviewed Joomla CLI target map covers all 38 stock commands: 19 are
|
|
54
|
+
implemented, six expose a bounded subset, and 13 remain non-executable and
|
|
55
|
+
recovery-gated. Live inventory/help also records the fixture's 111 optional
|
|
56
|
+
Joomla Component Builder commands separately.
|
|
57
|
+
|
|
58
|
+
## Action-family matrix
|
|
59
|
+
|
|
60
|
+
| Family | Joomla API implementation | Native local implementation | MCP exposure | Release status |
|
|
61
|
+
|---|---|---|---|---|
|
|
62
|
+
| Articles | CRUD; history read/keep/delete | CRUD and model state | CRUD/state/history | Implemented; live verification pending |
|
|
63
|
+
| Banners, clients, categories | CRUD; banner history | CRUD and supported model state | CRUD/state/history | Implemented; live verification pending |
|
|
64
|
+
| Users, groups, access levels | CRUD | CRUD with fixed fields; no generic password command | CRUD | Implemented and privilege-gated; password/reset lifecycle incomplete |
|
|
65
|
+
| Content/contact/banner/newsfeed categories | CRUD | CRUD and supported model state | CRUD/state | Implemented; live verification pending |
|
|
66
|
+
| Contacts | CRUD, history, authenticated form submission | CRUD and model state | CRUD/state/history/submission | Implemented; live verification pending |
|
|
67
|
+
| Media | File/directory reads and file create/update/delete | None | API actions | Source-backed API implementation; local path missing; live verification pending |
|
|
68
|
+
| Menus and menu items | Site/administrator CRUD and type discovery | CRUD; supported item state | CRUD/state/type reads | Implemented; model-specific state verification pending |
|
|
69
|
+
| Modules | Site/administrator CRUD and type discovery | CRUD and model state | CRUD/state/type reads | Implemented; live verification pending |
|
|
70
|
+
| Tags and redirects | CRUD | CRUD and model state | CRUD/state | Implemented; live verification pending |
|
|
71
|
+
| Privacy | Request create/list/get/export and consent list/get | None | API subset | Source-backed partial implementation; local/full lifecycle missing |
|
|
72
|
+
| Fields and field groups | CRUD for fixed content/contact/user contexts | CRUD and supported model state for the same fixed contexts | CRUD/state | Implemented; user contexts privilege-gated; live verification pending |
|
|
73
|
+
| Template styles | Site/administrator CRUD | CRUD; no assumed generic state | CRUD | Implemented; live verification pending |
|
|
74
|
+
| Content languages and overrides | Language CRUD; override list/get/create/delete/search/refresh; registered package install and override PATCH retained source-only because Joomla 6.1 controller paths are defective | Content-language CRUD and supported state | Effective API operations plus local CRUD/state | Implemented subset; three source-only route defects and live verification pending |
|
|
75
|
+
| Messages and newsfeeds | CRUD | CRUD; newsfeed state where supported | CRUD/state where supported | Implemented; messages privilege-gated; live verification pending |
|
|
76
|
+
| Safe configuration | Strict safe application read; 103-field core application write schema; component read/write source-only until runtime schema/secret discovery exists | Strict safe application read | Safe read and guarded application write | Application path implemented but high-risk/live-gated; component paths source-only |
|
|
77
|
+
| Plugins and extensions | Installed/plugin reads and bounded plugin update | Installed/cached-update/discovered/update-site reads; native enable/disable and refresh adapters | API subset and native read/plan/apply actions | Partial; connected but live/recovery-gated; install/remove/discover-install missing |
|
|
78
|
+
| Cache | No general Web Services lifecycle | Group list, selected-group clean, expired-cache purge | Native read/plan/apply actions | Implemented; live/recovery verification pending |
|
|
79
|
+
| Scheduler | No core Web Services lifecycle | Task list, single-task state, single-task run | Native read/plan/apply actions | Implemented and gated; live/recovery verification pending |
|
|
80
|
+
| Site state and sessions | No core Web Services lifecycle | Site read/up/down and site/administrator session GC | Native read/plan/apply actions | Implemented and gated; live/recovery verification pending |
|
|
81
|
+
| Joomla core update | Health/status plus typed prepare/finalize/success/failed notification routes using the separate update token | Cached status only | API lifecycle descriptors and local status | Implemented but high-risk and not live/recovery verified; channel/autoupdate/cleanup incomplete |
|
|
82
|
+
| Database/search/global maintenance | No general Web Services lifecycle | Stock Joomla commands identified; native help/contracts captured | Discovery/target map only | Source-backed gap; not executable |
|
|
83
|
+
|
|
84
|
+
## Companion 0.7.0 native operational actions
|
|
85
|
+
|
|
86
|
+
These actions are fixed adapters over native Joomla capabilities, are described
|
|
87
|
+
by the TypeScript edge, and route through generic read or guarded plan/apply.
|
|
88
|
+
They remain gated pending the live Joomla success/denial/recovery matrix:
|
|
89
|
+
|
|
90
|
+
| Action | Native capability |
|
|
91
|
+
|---|---|
|
|
92
|
+
| `cache.expired.purge` | Cache model purge |
|
|
93
|
+
| `extensions.discovered.refresh` | Installer Discover model discovery |
|
|
94
|
+
| `extensions.updates.refresh` | Installer Update model purge/find updates |
|
|
95
|
+
| `extensions.update-sites.list` | Installer Update Sites model list |
|
|
96
|
+
| `extensions.update-sites.state.set` | Installer Update Sites model publish |
|
|
97
|
+
| `extensions.state.set` | Installer Manage model publish |
|
|
98
|
+
| `scheduler.tasks.state.set` | Native single-task scheduler state command |
|
|
99
|
+
| `scheduler.tasks.run` | Native single-task scheduler run command |
|
|
100
|
+
| `site.state.get`, `site.state.set` | Joomla configuration and native site up/down |
|
|
101
|
+
| `sessions.data.gc` | Native site/administrator session garbage collection |
|
|
102
|
+
| `sessions.metadata.gc` | Native session-metadata garbage collection |
|
|
103
|
+
|
|
104
|
+
The edge enforces matching schemas/toolsets, principal-bound plan/apply for
|
|
105
|
+
writes, a fresh planned site/toolset scope check before token consumption, and
|
|
106
|
+
audit. The local companion trusts its `_edgeConfirmed` stdin marker; it does
|
|
107
|
+
not verify the edge HMAC. Operating-system access capable of invoking Joomla CLI
|
|
108
|
+
is therefore a trusted administrative boundary and must be tightly restricted.
|
|
109
|
+
Production MCP writes must go through edge plan/apply.
|
|
110
|
+
|
|
111
|
+
## Stock Joomla CLI capability status
|
|
112
|
+
|
|
113
|
+
See [Joomla CLI integration](CLI.md) for the installed-registry discovery
|
|
114
|
+
contract and the command-by-command core mapping.
|
|
115
|
+
|
|
116
|
+
| Native command group | Structured semantic status |
|
|
117
|
+
|---|---|
|
|
118
|
+
| `cache:clean` | Selected-group clean and expired purge connected; live recovery pending |
|
|
119
|
+
| `config:get`, `config:set` | Strict safe read implemented; raw get prohibited; controlled writes API-only and gated |
|
|
120
|
+
| `site:down`, `site:up` | Native local adapter connected; live recovery pending |
|
|
121
|
+
| `site:create-public-folder` | Source-backed only; missing |
|
|
122
|
+
| `core:update:*`, `update:joomla:remove-old-files` | Status subset only; execution/channel/autoupdate/cleanup missing and gated |
|
|
123
|
+
| `update:extensions:check` | Native refresh adapter connected; live recovery pending |
|
|
124
|
+
| `extension:list` | Implemented through native model and API reads |
|
|
125
|
+
| `extension:enable`, `extension:disable` | Native model adapter connected; live recovery pending |
|
|
126
|
+
| `extension:discover`, `extension:discover:list` | Native refresh/list connected; discover-install remains missing |
|
|
127
|
+
| `extension:install`, `extension:remove`, `extension:discover:install` | Missing and recovery-gated |
|
|
128
|
+
| `user:list`, add/group/reset/delete commands | Entity CRUD exists through API/companion models; command-specific password/reset and recovery contracts incomplete |
|
|
129
|
+
| `scheduler:list` | Connected native list |
|
|
130
|
+
| `scheduler:state`, `scheduler:run` | Native single-task adapters connected and live/recovery-gated |
|
|
131
|
+
| `finder:index`, `maintenance:database` | Source-backed only; missing |
|
|
132
|
+
| `session:gc`, `session:metadata:gc` | Native adapters connected and live/recovery-gated |
|
|
133
|
+
| `database:export`, `database:import` | Source-backed only; missing and recovery-gated |
|
|
134
|
+
|
|
135
|
+
Generic stock-command execution is intentionally not planned. Each useful
|
|
136
|
+
command becomes a separate typed semantic action that retains Joomla's native
|
|
137
|
+
implementation and adds the missing authorization, schema, result, and recovery
|
|
138
|
+
contract.
|
|
139
|
+
|
|
140
|
+
## Known production gaps
|
|
141
|
+
|
|
142
|
+
- Every generic CRUD mutation has a reviewed field allowlist, but many field
|
|
143
|
+
value types and create-required combinations still rely on Joomla form/model
|
|
144
|
+
validation and need per-version live proof.
|
|
145
|
+
- Delete, state, history, media-path, language-override, password, and extension
|
|
146
|
+
lifecycle semantics need action-specific live postconditions.
|
|
147
|
+
- Special API routes do not all have useful or implemented local equivalents.
|
|
148
|
+
The goal is safe native availability, not artificial path parity.
|
|
149
|
+
- Extension install/remove, core update, database import/export/repair, public
|
|
150
|
+
folder creation, finder indexing, global check-in, password/reset workflows,
|
|
151
|
+
and other recovery-sensitive operations remain missing or gated.
|
|
152
|
+
- There is no completed MySQL/MariaDB and PostgreSQL fixture matrix, package
|
|
153
|
+
install/upgrade/rollback matrix, load/fuzz/failure-injection evidence, or
|
|
154
|
+
disaster-recovery evidence.
|
|
155
|
+
- A blocking JoomEngine `:6` lane proves a fresh Joomla 6.1.2/PHP 8.4/MariaDB
|
|
156
|
+
installation, exact companion package install/activation, catalogue describe,
|
|
157
|
+
`system.info` dispatch as `www-data`, all 153 installed command contracts via
|
|
158
|
+
bounded native list/help, fixed bootstrap CLI commands, and the unauthenticated
|
|
159
|
+
API boundary. It is a smoke gate, not family-level
|
|
160
|
+
live-verification or the required database/permission/recovery matrix.
|
|
161
|
+
- Permission requests, confirmation plans, principal-scoped idempotency
|
|
162
|
+
results, and per-site locks are shared across HTTP MCP sessions within one
|
|
163
|
+
process. Active permission grants may persist in the signed local grant
|
|
164
|
+
store, but coordination remains single-process; write-enabled deployment is
|
|
165
|
+
still single-replica.
|
|
166
|
+
|
|
167
|
+
The generated [Joomla API action reference](API_ACTIONS.md) lists all 236
|
|
168
|
+
semantic actions and is checked for drift in CI.
|
|
169
|
+
|
|
170
|
+
## Production release gate
|
|
171
|
+
|
|
172
|
+
1. Provision and retain resettable Joomla 6.1/6.2 fixtures as described in
|
|
173
|
+
[Fixtures](FIXTURES.md).
|
|
174
|
+
2. Prove every implemented family across API/local paths that Joomla actually
|
|
175
|
+
provides, including least-privilege denial, schema, native events,
|
|
176
|
+
postcondition, cleanup, and rollback.
|
|
177
|
+
3. Prove the connected native operations through their guarded MCP flows and
|
|
178
|
+
retain recovery evidence.
|
|
179
|
+
4. Complete resource-specific schemas and high-risk recovery contracts.
|
|
180
|
+
5. Add shared coordination before write-enabled horizontal scaling.
|
|
181
|
+
6. Pass database, packaging, upgrade/rollback, signed-release, load, fuzz,
|
|
182
|
+
failure-injection, and disaster-recovery matrices.
|