Jahia MCP Community Server
OfficialAllows interaction with Jahia's GraphQL API, enabling AI assistants to query and mutate Jahia content directly.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Jahia MCP Community Server
GitHub: https://github.com/Jahia/jahia-mcp-community-server
An extension of Jahia's mcp-server module. It contributes
administrator-only GraphQL tools and JCR-stored skills to the
Model Context Protocol (MCP) endpoint that mcp-server exposes.
The GraphQL tool can reach any Jahia GraphQL operation, not only the curated site.*, page.* and
content.* tools, but it is read-only by default: queries run, except the privileged admin
namespace, and mutations and subscriptions are refused until an administrator allows them in the whitelist.
2.0 is a breaking change. Versions 1.x ran their own MCP endpoint at
/modules/community-mcp. From 2.0 that endpoint is gone: the tools are served bymcp-serverat/modules/mcp, under new names. See Migrating from 1.x and CHANGELOG.md.
Contents
Related MCP server: mcp-graphql-tools
How it works
MCP client (Claude Code, Claude Desktop, Cursor…)
│ POST /modules/mcp (mcp-server: authentication, JSON-RPC, tool catalog)
│ Authorization: APIToken <token>
▼
mcp-server ToolRegistry ──► community.graphql.execute ──[admin gate]──[whitelist]──► OsgiGraphQLHttpServlet
├─► community.graphql.introspect (in-process, as the caller)
├─► community.skill.list / community.skill.get ──► JCR skills
└─► site.* page.* content.* … (built-in mcp-server tools)Each tool is an OSGi Declarative Services component implementing mcp-server's public
org.jahia.modules.mcp.spi.tool.JahiaMcpTool SPI; mcp-server discovers it automatically. GraphQL
documents are dispatched in-process to graphql-dxm-provider, under the identity of the
administrator who called the tool, so JCR ACLs apply normally.
Requirements
Component | Version | Notes |
Jahia | 8.2+ | Built against the Jahia 8.2.2.1 parent POM |
| 3.9.0 or later, below 4.0 ( | Built against 3.9.1; the build version sets the bundle's |
| 0.5.x ( | Provides the tool SPI. The SPI is pre-1.0, so the import range is kept tight |
Declarative Services | 1.4 (Felix SCR 2.1 or later) | Required for the configuration-driven components |
| optional | Only needed for API-token authentication |
Java | 17 |
mcp-server must be deployed first. The 2.0.0 build targets mcp-server 0.5.0-SNAPSHOT; a release
of this module must be built against a released mcp-server 0.5.x.
Installation
Deploy mcp-server first, then this bundle (Module Manager, or drop the JAR into $JAHIA_HOME/modules/).
The bundle ships org.jahia.community.mcp.cfg (the whitelist, empty by default). Keep that
configuration in place: without it the whitelist-gated tool and the settings API stay unavailable
(see Troubleshooting).
On every activation the module seeds its default skills into JCR under
/sites/systemsite/contents/mcp-skills/, creating each one only when it is absent.
Authentication and access
Authentication is handled by mcp-server: send a personal API token (or HTTP Basic credentials) to
/modules/mcp. The community tools require an explicit Authorization header: a call authenticated
only by a Jahia session cookie is refused with forbidden, so a web page visited by a logged-in
administrator cannot make the browser drive them (cross-site request forgery).
Authorization: APIToken <your-token>mcp-server admits authenticated, non-guest users. The community tools add their own gate: the
caller must hold the admin permission on the repository root (a server administrator). Other users
still see the community tools in tools/list, but every call returns a forbidden error. The
built-in mcp-server tools are unaffected.
The gate uses the caller that mcp-server binds to the request thread: the same user and realm. The
Authorization header is never forwarded to the GraphQL servlet, so a GraphQL call runs as exactly
that user.
This binding is a behaviour of
mcp-server, not part of its tool SPI. If a latermcp-serverstops binding the caller this way, the community tools refuse every call (they fail closed) until this module is updated.
Why not an API scope? Tools run on MCP worker threads where Jahia's security-filter scope context is not bound, and
PermissionService.hasPermission(...)returnstruein that state. The gate is therefore a JCR permission check on the caller's own session, which is reliable on any thread.
MCP client setup (Claude Code)
{
"mcpServers": {
"jahia": {
"type": "http",
"url": "http://localhost:8080/modules/mcp",
"headers": {
"authorization": "APIToken <your-token>"
}
}
}
}Tools
Tool | Safety | Tags | Purpose |
| destructive |
| Run a GraphQL query or mutation, subject to the whitelist |
| read-only |
| Discover the GraphQL schema: type list and root types, or specific types (bounded) |
| read-only |
| List skills: |
| read-only |
| Read one skill's full Markdown content |
reads-ugc marks tools whose output is stored content, which may contain instructions. Treat it as data.
Results follow mcp-server's contract: a JSON text block on success, and
{"error":{"code","message","hint"}} with isError: true on failure. Codes used by the community
tools: forbidden, validation, not_found, unavailable and internal.
community.graphql.execute
Field | Type | Required | Description |
| string | yes | GraphQL query or mutation document |
| object | no | Variables map for the operation |
On success the result is the GraphQL response JSON (
data/errors). GraphQL-level errors arrive inside that payload with HTTP 200, so clients must checkerrorseven when the call succeeds.A document refused by the whitelist returns
forbiddenwith the reason (see Access control).An HTTP-level failure of the GraphQL servlet is reported as an error: 400 becomes
validation, 401 and 403 becomeforbidden, anything else becomesinternal.A response larger than 5 MB is refused with
validationand a hint to narrow the query: select fewer fields, paginate or query a narrower path. Retrying the same document cannot succeed.The tool is announced as destructive because it can run any allowed mutation, so well-behaved clients ask for confirmation before calling it.
community.graphql.introspect
Field | Type | Required | Description |
| string[] | no | 1–25 GraphQL type names to describe in full |
No arguments: returns
schema(root type names and every type'sname+kind) and the full details of the rootQueryandMutationtypes.typeNames: returns the full details (fields, arguments, input fields, enum values) of those types only.
Every answer also carries skippedTypes (unknown, or the request failed) and truncatedTypes
(not fetched because the result reached its 100,000-character budget; ask for them in a further
call). Each type is fetched in its own request, so Jahia's bad-faith introspection guard (which rejects
documents with more than one __Type.fields selection) never trips. Type names are passed as GraphQL
variables, never formatted into the document.
The schema lists every operation Jahia offers, including ones the whitelist refuses. A listed operation
is not necessarily allowed in community.graphql.execute.
community.skill.list / community.skill.get
community.skill.list returns {"skills":[{"name","mcpName","description"}]}. Each name is the
path relative to the skills root (for example default/hello-jahia). Pass it unchanged to
community.skill.get, which returns {"name","mcpName","description","content"}. An unknown name
returns not_found.
Skills
Skills are Markdown documents stored as mcp:skill JCR nodes under
/sites/systemsite/contents/mcp-skills/ (a jnt:contentList, with jnt:contentList sub-folders). They
deliver Jahia-specific knowledge and instructions to any MCP client session. Skills are hidden from the
editors' content-creation pickers (jmix:hiddenType), and editing is restricted by the container's ACL
(see Security notes).
A skill's key is its path relative to the skills root (default/hello-jahia). The same key is
returned by skills { name }, accepted by saveSkill, deleteSkill and community.skill.get.
Default skills
Default skills are .md files under src/main/resources/skills/ and are seeded into JCR on module
activation, only when the node does not already exist. Consequences:
Editing a bundled file does not update an existing installation. To refresh a default skill, update it with
saveSkill(GraphQL), or delete its node under/sites/systemsite/contents/mcp-skills/and restart the module.A default skill that an administrator deletes is seeded again the next time the module activates.
The bundle ships these skills:
Key | Purpose |
| Smoke-test skill: answers "Hello Jahian" to "Hello Jahia". It is used by the integration tests. Deleting it lasts only until the next module activation |
| Quick guide to configuring Jahia 8.2 through |
| Reference of all Jahia 8.2 properties, grouped by category |
Managing skills and settings via GraphQL
The module's GraphQL operations are grouped under one communityMcp namespace on Query and
Mutation (types CommunityMcpQuery and CommunityMcpMutation). Every operation requires the
admin permission and is an administrator-only entry point.
# List all skills (name = key, relative to the skills root)
query {
communityMcp {
skills { name mcpName description content }
}
}
# Create or update a skill. Intermediate folders are created for nested keys.
mutation {
communityMcp {
saveSkill(
name: "team/my-skill",
mcpName: "My Skill Display Name",
description: "What this skill does",
content: "# My Skill\n\nInstructions for Claude..."
)
}
}
# Delete a skill by key
mutation {
communityMcp {
deleteSkill(name: "team/my-skill")
}
}
# Read / write the whitelist
query { communityMcp { settings { whitelist clustered } } }
mutation { communityMcp { saveSettings(whitelist: ["query:currentUser", "query:jcr"]) } }Rules for saveSkill and deleteSkill:
namemust match[A-Za-z0-9_-]segments separated by single/. Leading or trailing slashes, empty segments and.or..are refused.Missing intermediate folders are created. A segment that is already a skill cannot become a folder.
An existing node at the key must be an
mcp:skillnode. Anything else is refused.contentholds at most 200,000 characters.Both return
trueon success. A refused call fails with a GraphQL error (in theerrorsarray, with anullresult) whose message gives the reason:Invalid skill name: …,The skill content is too long: …,The skill could not be saved: …(a segment of the key is an existing skill, a folder or another node uses the key, or the repository failed) orThe skill was not deleted: …(no skill with that key). The key is never echoed back; details are in the server log.
Adding a bundled default skill
Drop a .md file with frontmatter into src/main/resources/skills/<subfolder>/:
---
mcpName: My Skill Display Name
description: Short description of what this skill does
---
Full Markdown instructions here...The file name (without .md) becomes the JCR node name. The folder hierarchy mirrors the JCR
sub-folder structure under mcp-skills/. The bundled file is seeded only on a fresh install (see
Default skills).
Access control: the whitelist
The whitelist controls which GraphQL operations community.graphql.execute may run. The other
community tools are not affected by it.
Read-only default
Whitelist | Effect |
Empty (default) | Every query is allowed, except the queries under |
Non-empty | Only the listed operations, and the fields below them, are allowed. Mutations and queries are allowed only when listed |
An empty list is therefore not "allow everything". Saving an empty list (for example with Clear the
allow list in the UI, or saveSettings(whitelist: [])) restores this read-only default.
The admin query namespace needs an explicit entry. Queries under admin expose server state,
including the raw values of every OSGi configuration (admin.jahia.configuration(pid: …)), which can hold
passwords and keys. The read-only default refuses them, with a reason that names query:admin. To allow
them, add an explicit entry such as query:admin.jahia.isAlive, or query:admin for the whole namespace.
"Read-only" protects against writes, not against disclosure. Every other query still returns whatever
the calling administrator can read, and the result goes to the AI client and its model provider. That
includes settings stored in JCR, such as the mail server configuration under /settings, the user nodes
and their profile data, and the query namespaces of other modules. Text planted in content the AI client
reads can ask it to run such a query. In production, set an explicit allow list of the queries the AI
client needs (for example query:jcr.nodeByPath and query:currentUser) instead of relying on the empty
default, and keep the admin entries as narrow as the task allows.
The first entry ends the read-only default. As soon as the list holds one entry, only the listed
operations are allowed, on both sides. Adding a single mutation: entry to an empty list therefore
refuses every query until you add query: entries for the queries you need, for example query:jcr and
query:currentUser.
Upgrades from 1.x: an installation keeps its existing org.jahia.community.mcp.cfg (the shipped file
is a default configuration and is never overwritten). That file may still carry the 1.x comment
"If empty, all operations are allowed". The comment is stale. An empty whitelist is the read-only default
described above, and it no longer allows mutations. Unprefixed 1.x entries are read as query-only, so
review the list after the upgrade (see Migrating from 1.x).
A non-empty list that contains only malformed entries denies every operation. Malformed entries are
refused by saveSettings, so this state can only come from outside saveSettings: the .cfg file,
provisioning, the Karaf config:edit command, or Jahia's generic OSGi configuration API (for example the
admin.jahia.configuration GraphQL mutation called directly on /modules/graphql).
Entry syntax
Each entry names an operation type and a dot-separated field path that mirrors the GraphQL selection hierarchy:
Entry | Covers |
| Every query under |
| Only that query field |
| Every mutation under |
| Only that mutation |
Allowing a query never allows the mutation of the same name:
query:jcrdoes not permitmutation { jcr { … } }.A document is allowed only if every operation it contains is allowed, so a mutation cannot hide behind an allowed query in the same document.
A prefix entry grants everything below it.
mutation:jcrallows every mutation underjcr. Prefer exact paths for mutations.A deeper mutation entry also runs the intermediate mutation fields above it. GraphQL cannot run
mutation { jcr { addNode { mutateProperty } } }without runningaddNode, so the entrymutation:jcr.addNode.mutatePropertyalso letsaddNodecreate a node. Intermediate fields are not checked on their own. Choose entries whose intermediate fields may run, and prefer the leaf operations you need.Other operation types (for example
subscription:) and malformed paths grant nothing.mutation:communityMcpandmutation:admin.jahia.configuration(each with everything under it) are always refused, whatever the whitelist says, including under a broader entry such asmutation:admin. The data plane cannot rewrite its own guard: the second path is the generic OSGi configuration mutation, which could rewrite this module's configuration.saveSettingsrefuses entries for these paths too.Privilege-granting mutations are always refused too, at any depth and under any entry: role grants and revocations (
grantRoles,revokeRoles, for example undermutation:jcr.mutateNode) and personal API token management (admin.personalApiTokens). A session steered by injected text could otherwise make a user an administrator or mint a token that outlives it. Make these changes in Jahia yourself.The operation prefix is case-insensitive (
MUTATION:jcrismutation:jcr); field names are case-sensitive.
Legacy entries
An entry without a prefix (jcr, as written by 1.x) is accepted and treated as query-only. A
WARN lists such entries when the configuration loads, and the admin UI shows them as query:
entries, ready to save in the new form. Malformed entries are dropped from the enforced set, and each
one is logged at WARN.
Where the whitelist is stored
The entries are the whitelist key of the OSGi configuration org.jahia.community.mcp:
whitelist=query:jcr,query:currentUser,mutation:jcr.deleteNodesaveSettings validates the list before storing it. A malformed or refused entry makes the call fail
with a GraphQL error that names the entry, and nothing is stored.
If a configuration update cannot be read at all (for example a hand-edited .cfg with a value of the
wrong type), the module logs an ERROR and keeps enforcing the previous whitelist. If the configuration
cannot be read when the module starts, every operation is refused until it is fixed.
Clusters. saveSettings writes the OSGi configuration on the node that served the request only. In a
cluster, set the whitelist on every node: through the administration UI or saveSettings on each node, or
through provisioning or the .cfg file. Until then the other nodes keep their previous list.
communityMcp { settings { clustered } } reports whether Jahia runs as a cluster, and the administration UI
then warns that saving affects this node only.
Rules applied to each document
A document that cannot be parsed is refused, in every state of the whitelist. The message gives the line and column of the syntax error.
A named fragment spread (
...Name) is refused in every state, the read-only default included, because the gate does not expand it and so cannot check what it selects. Inline fragments (... on Type { … }) are supported.Introspection fields (
__schema,__type,__typename) always pass.
Logging
Every refused operation is logged at WARN. A policy denial shows the operation path, the reason,
the user and the client IP. Its shape is:
WARN ... MCP operation blocked: path='mutation:jcr.deleteNode', reason='...', user='john', ip='10.0.0.5'A document that cannot be parsed, or that contains a named fragment spread, is logged with the user and IP and the reason, but without a path.
Administration UI
Administration → MCP Server (in the server configuration section of the administration) edits the
whitelist. The page writes the same whitelist entries
through communityMcp { saveSettings }.
Two groups. Queries and mutations are listed separately, each with bulk actions: allow all, clear. Allow all queries checks every query root except
admin, which exposes configuration values, secrets included: checkadminyourself only if the AI client needs it. Checkingquery:admin, or a field under it, asks for confirmation every time. The operation tree is loaded lazily, one type at a time.Keyboard. The tree follows the WAI-ARIA tree pattern: Up and Down move between items, Home and End go to the first and last item, Right expands or enters the children, Left collapses or moves to the parent, Space or Enter checks or unchecks an item.
Confirmations. Any edit that empties a non-empty list asks for confirmation first, because an empty list restores the read-only default, which allows every query outside
admin: Clear, Clear queries or Clear mutations, unchecking the last checked item, and removing the last entry. Clearing queries while mutations remain, allowing all mutations, and checking anadminquery are confirmed too. Discard changes is never confirmed: it restores the saved list. While a confirmation dialog is open, the rest of the page is inert: it cannot be focused or used.Locked operations. The never-allowed paths are shown but cannot be checked:
mutation:communityMcp,mutation:admin.jahia.configuration,mutation:admin.personalApiTokens, and every mutation path with agrantRolesorrevokeRolessegment.Entries that need your attention. Entries whose root operation is missing from the current schema, entries that are locked, and entries the server ignores (another operation type such as
subscription:, or a malformed entry) are kept in the list and shown there as such, each with a Remove action. They are never dropped silently. When the list only holds ignored entries, the policy banner says that every operation is refused.Save. Save is refused, with a message naming the entries, while invalid or locked entries remain: the server would reject them. Remove them first.
Filter. Matches the names and paths of all root operations and of fields already loaded.
Unsaved changes. The page shows an indicator and warns when you reload or close the page with unsaved changes. Moving to another administration page does not warn, so save first. Discard changes restores the saved list. The save bar sits at the end of the panel and is not sticky, so it never covers the focused control.
Focus. Focus never gets lost. After a confirmed edit whose control disappears, it goes to the allow-list heading; after Discard changes or Dismiss, to Save; after Remove, to the next entry of the same list (the previous one at the end), else to the list summary or the allow-list heading.
Policy banner. The banner states the policy the list gives. With unsaved changes it shows both the policy in force now and the policy that applies after you save.
Clusters. On a cluster, the page warns that saving changes the allow list of the node that serves the page only, and the success message after a save repeats that the other nodes are unchanged.
Messages. Status messages never time out. A success or info message clears on the next edit; an error stays until it is dismissed or the save is retried. A failed save shows the server's reason.
Expired session. If the Jahia session has expired (HTTP 401 or 403) when the page saves or loads, it says so instead of showing a generic error. Unsaved changes are kept in the browser tab (
sessionStorage). After you log in again and reload the page, they are restored only if the saved list on the server has not changed in the meantime; otherwise they are dropped and the server's list is shown.The UI targets WCAG 2.2 Level AAA.
Security notes
Read-only by default. With an empty whitelist, queries are allowed to administrators, except the queries under
admin, and mutations and subscriptions are refused. Allowing a mutation requires an explicitmutation:entry, and allowing anadminquery requires an explicitquery:admin…entry. Read-only does not mean non-sensitive: any allowed query returns what the administrator can read, JCR-stored settings (such as the mail server configuration) and user data included, and that result is sent to the AI client. Use an explicit allow list in production. See Read-only default.Explicit
Authorizationheader. The community tools refuse calls authenticated only by a session cookie, so a cross-site form post cannot drive them. The built-inmcp-servertools are outside this module: whether they accept a cookie-only call, and so whether a cross-site request can reach them, is decided bymcp-server.Privilege-granting mutations (role grants and revocations, personal API tokens) can never be run through
community.graphql.execute, whatever the whitelist says.Administrator gate. Every community tool and every
communityMcpoperation checks theadminpermission on the repository root with the caller's own session. A failure to determine the caller denies the call.Caller identity. The GraphQL call runs as the bound caller. No
Authorizationheader is forwarded to the in-process servlet.Accepted risk: API scopes. The API scopes of
graphql-dxm-provider(security-filter) are not applied to in-process calls, because no scope context exists on MCP worker threads. JCR ACLs and the administrator gate are the boundary. Do not broaden the gate without revisiting this.Accepted risk: prefix entries. A prefix entry grants everything below it, such as
mutation:jcr. Use exact paths unless a whole namespace is intended.Accepted risk: a deny list. Self-protection is a deny list:
mutation:communityMcp,mutation:admin.jahia.configurationand the privilege-granting mutations. Any other mutation that changes server state, such as a module, bundle or provisioning mutation contributed by another module, including one installed later, is protected only by your choice of entries. Do not whitelistmutation:adminor other broad mutation roots unless you mean it.Accepted risk: skills and generic JCR mutations. The never-allowed paths block
communityMcp.saveSkill, but amutation:jcrentry reaches the skill nodes under/sites/systemsite/contents/mcp-skillsthrough the generic JCR mutations. The container ACL stops ordinary users, notroot, which bypasses ACLs. Withmutation:jcrwhitelisted and aroottoken, a prompt-injected session could rewrite skills. Use a token of a non-root administrator and exactmutation:jcr.…entries.Skills use a system session. Skill reads and writes run as the system session, so they bypass per-node ACLs and the whitelist. This is deliberate: skills are shared instruction documents that every MCP client may read, and the only write paths are the administrator-gated
saveSkillanddeleteSkilloperations and the module's own seeding. The skills container has its ACL inheritance broken, so no ordinary role can write skills through generic JCR paths. This also applies to a container created by a 1.x install: on the next activation its inheritance is broken and the local role grants (ACL entries) on the container and on every folder and skill below it are removed. Skills that already exist are kept as they are, so review the skills of an upgraded 1.x install (see Migrating from 1.x). The skill type carriesjmix:hiddenType, so skills are hidden from the editors' content-creation pickers. Revisit this if the gate is broadened beyond administrators or deny ACLs are added to skill nodes.Named fragment spreads and unparseable documents are refused in every state, including the read-only default. Inline fragments are supported.
Never-allowed paths.
mutation:communityMcp,mutation:admin.jahia.configurationand the privilege-granting mutations are refused whatever the whitelist says. Intermediate mutation fields of a deeper entry do run (see Entry syntax), so keep mutation entries as narrow as the task allows.Cluster. The whitelist is stored per node; set it on every node (see Where the whitelist is stored).
Response size and cost. In-process GraphQL responses are capped at 5 MB; a larger response is refused with
validation. The cap applies after the servlet has run the query and serialized its result in memory, and there is no timeout or complexity limit. An expensive query (for example a JCR query over the whole repository) runs to completion on themcp-serverworker thread. The tool is administrator-only; this is accepted.Introspection is bounded to 25 types per call and 100,000 characters of output.
Client IP in audit lines is the TCP peer (
getRemoteAddr()).X-Forwarded-Foris ignored. Configure Tomcat'sRemoteIpValvebehind a trusted proxy.Request size and transport limits are those of
mcp-server, which reads the request body without a size cap in 0.5.Dependencies on
mcp-server. Two behaviours this module relies on are not guaranteed by themcp-servertool SPI: the caller bound on the worker thread (the administrator gate and the GraphQL call use it), and the SPI package version, which follows themcp-serverbundle version. The import range is therefore[0.5,0.6):mcp-server0.6 leaves this bundle unresolved (the tools, the settings API, the UI and the skills all stop) until a release of this module supports it.Audit. Every call records an audit event
tool.execute.okortool.execute.errorwithtool,userand, on error,code.community.graphql.executeaddsqueryHash(SHA-256 of the document). The document text and variables are never logged.
Troubleshooting
Symptom or message | Cause | Fix |
| The caller does not hold | Use an administrator's token, or use the built-in |
A | The call was authenticated only by a session cookie (for example sent from a browser) | Send |
| Read-only default: the whitelist is empty and the call is a mutation | Add the mutation as |
| Read-only default: the whitelist is empty, and the | Add an explicit entry, for example |
| The operation is not covered by an entry | Add an exact |
Every query refused after adding one | The list is no longer empty, so the read-only default no longer applies: only listed operations run | Add |
A denial saying the operation can never be run through | The operation is a never-allowed path: | Not allowed; by design. Make the change yourself in Jahia (the UI, the OSGi configuration or provisioning) |
A message saying the GraphQL document could not be parsed, with a line and column | Syntax error in the document | Fix the document at that position; check names with |
A denial that mentions a named fragment | The document contains a | Inline the fields, or use |
| A subscription was sent while the whitelist is empty (read-only default) | Subscriptions are not available through this tool. With a whitelist, the message is |
|
| Correct the entry; |
| The entry names a never-allowed path ( | Not allowed; by design |
| The GraphQL servlet of | Check that |
| The GraphQL servlet returned no schema | Check that |
| The servlet failed | Check the Jahia log |
A | The query selects too much | Do not retry the same document: select fewer fields, paginate, or query a narrower path |
|
| For 400, fix the document; for 401 or 403, check the caller's permissions; otherwise check the Jahia log |
| Invalid | Pass the document in |
| Invalid | Pass 1 to 25 names exactly as listed in |
| ConfigurationAdmin failed to store the list | Check the Jahia log and the write permissions on |
| The skill component is not active | Check the bundle state and the Jahia log |
| The | Restore |
| The whitelist configuration is missing | Restore the configuration |
ERROR: | The updated | Correct the |
| The caller is not bound on the thread, or the bound user differs from the request user. Usually a version mismatch with | Use |
| The key breaks the name rules | Use |
|
| Split the skill |
| A segment is an existing skill, the key holds a folder or another non-skill node, or the repository failed | Choose another key; check the server log |
| No skill has that key, or the key names a folder | Use the |
| Wrong key | Use the |
Edit to a bundled | Default skills are seeded only when absent | Update with |
A deleted default skill came back | Default skills are re-seeded on module activation | Delete it again after the restart, or remove the bundled file |
WARN: | Legacy entries | Rewrite them as |
Mutations refused after upgrading from 1.x, although the | The 1.x comment in the kept | Add the mutation entries you need, see Migrating from 1.x |
Whitelist change works on one node but not another |
| Set the whitelist on every node, see Where the whitelist is stored |
WARN: | Malformed entry in the | Correct or remove the entry |
UI: a warning that saving affects this node only | Jahia runs as a cluster, and the allow list is stored per node | Save on every node, or set the list through provisioning or the |
UI: | The entry's root operation is not in the schema, it is locked, or the server ignores it (malformed, or another operation type such as | Remove it, unless it is expected to come back. Locked and ignored entries block Save |
UI: | The server rejected the list | Read the reason and correct the entry |
UI: browser warning when reloading or closing the page | The list changed and was not saved | Save, or use Discard changes. Moving to another administration page does not warn |
UI: a message that the Jahia session has expired | The session ended before a save or load | Log in again, then save again or reload the page. Unsaved changes are restored unless the server's list changed meanwhile |
Migrating from 1.x
1.x | 2.0 |
Endpoint |
|
|
|
|
|
|
|
|
|
Token scopes | Any token accepted by |
| Removed. Use MCP |
GraphQL namespace |
|
Errors as |
|
Whitelist entry |
|
Empty whitelist allowed everything | Empty whitelist is read-only: queries only, and not the queries under |
A session cookie could authenticate calls | The community tools need an |
Whitelist entries as dot-paths |
|
Skill list names were node names | Skill key is the relative path (for example |
Update your MCP client URL and any tool names hard-coded in prompts or skills. Review your whitelist:
an entry that was meant to allow mutations needs an explicit mutation: entry, and an empty whitelist
no longer allows mutations.
An upgraded installation keeps its existing org.jahia.community.mcp.cfg in karaf/etc. Its comments
are stale: the "If empty, all operations are allowed" line from 1.x no longer applies. Update the
whitelist key (or the UI) rather than relying on the comments. In a cluster, do this on every node.
Named fragment spreads are refused in every state, and mutation:admin.jahia.configuration is always
refused. Update any client that sends named fragment spreads to use inline fragments. With an empty
whitelist, queries under admin need an explicit query:admin… entry.
karaf/etc/org.jahia.modules.PersonalApiToken-community-mcp.cfg, shipped by 1.0.4 for the removed
community-mcp scope, is no longer used. Delete it if it is still present.
Review the skills. In 1.x, editors could be granted roles on the skills container, its folders or its
skill nodes, and could write skills that every administrator's AI client reads. On activation, 2.0 breaks
the container's ACL inheritance and removes the local role grants on the container and everything below
it. It does not change the content of existing skills. After the upgrade, read every skill under
/sites/systemsite/contents/mcp-skills (or list them with community.skill.list) and delete or correct any
skill you did not write. If a role grant there was intended, it has to be replaced: from 2.0 skills are
written only through the administrator-gated saveSkill and deleteSkill operations.
Testing
mvn clean install # Java unit tests + JaCoCo check + React (webpack) build + bundle
yarn test # Jest tests of the administration UI: not run by MavenCoverage is enforced. mvn verify (and so install) fails when JaCoCo line coverage of the bundle is
below 90%. yarn test fails below the Jest thresholds set in jest.config.js (95% of statements, lines
and functions, 90% of branches).
Docker-based Cypress integration tests live in tests/. They provision mcp-server 0.5.0-SNAPSHOT. The
suite needs a Jahia instance of its own: the whitelist is one server-wide configuration, and the token,
skill and probe names are fixed, so two runs against the same instance interfere. Every spec starts from
the read-only default.
cd tests
cp .env.example .env # fill JAHIA_IMAGE and JAHIA_LICENSE
yarn install
./ci.build.sh # build the Cypress Docker image
./ci.startup.sh # start Jahia, run the tests and collect resultsSpec | What is tested |
| Settings GraphQL API: read, write, round-trip, the |
|
|
| Skills GraphQL API, |
| Tools listed in the |
| Gating per tool: a narrow whitelist does not affect introspection or skills; bounded introspection (default, |
| Fail-closed guards: named fragment spreads (refused under the read-only default too, and the hidden mutation does not run), |
| GraphQL runs as the calling user ( |
| Administration UI smoke test only: loads at the admin route, shows the Queries and Mutations groups, persists a checked entry when saved, Allow all queries leaves |
| A cookie-only call is refused and its mutation does not run, while the same call with a token works; role grants, revocations and API token creation can never be run (nothing is granted, no token is created); a response over 5 MB is a |
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Build and run AI workflows, agents, data tables and 1000+ API integrations from any MCP client.
Connect e-commerce and marketing data to AI assistants via MCP.
MCP server that lets AI assistants use all OneSchema features exposed via the public API.
Zero-setup MCP gateway securely connecting AI to your tools with authentication and workflows
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with Optimizely CMS via its GraphQL and Content Management APIs, supporting dynamic content discovery, retrieval, and management.12 npm6MIT
- AlicenseBqualityDmaintenanceEnables AI assistants to execute GraphQL queries and retrieve schema information from any GraphQL endpoint.229 npm8MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with Drupal sites through MCP tools, with automatic discovery, OAuth-based authentication, and scope validation.66 npm5MIT
- AlicenseAqualityDmaintenanceConnects any MCP-compatible AI assistant to Strapi CMS for content management, media handling, internationalization, and more through natural language.201MIT