PLATFORM SECURITY / 023
MCP for AEM: Useful Integration or Too Much Access?
A security-first guide to AEM MCP: identity, permissions, prompt injection, approval-gated changes and practical architecture trade-offs.

SYSTEM OVERVIEW
The model proposes; trusted components decide
The author’s conceptual model for a custom adapter: what can go wrong once an agent may call AEM (dashed), and the boundary that must decide outside the model (solid). Not an Adobe reference deployment; no deployment or test is claimed.
- Agent tool request
- Untrusted by default
- Model inputs
- Prompt injection in content
- Tool poisoning in schemas or output
- Identity
- Confused deputy with broad rights
- Credential exposure in prompts or logs
- Blast radius
- Exfiltration through a read
- Cross-environment action
- Unauthorized publication
- Model inputs
- Trusted decision
- Who is asking
- Per-user authorization before AEM
- Scoped service identity, secrets server-side
- Read path
- Allowlisted tools, roots and environments
- AEM ACL checked per resource
- Bounded, minimal, approved destination
- Write path
- Human approval bound to exact action
- Identity and revision rechecked
- Publishing as a separate authority
- Evidence
- Redacted, access-controlled audit
- Named owner of residual risk
- Who is asking
- Untrusted by default
THIS ARTICLE EXPLORES
- Identity propagation, AEM ACLs and confused-deputy risks.
- Adobe-hosted, local Quickstart and community server boundaries.
- A read-only design, illustrative tools and defensive test cases.
- Human approval, publication controls and audit evidence.
01 / BOUNDARY
The decision is authorization, not connectivity
An agent that can find a Content Fragment can also be asked to summarize it, copy it, share it, change it or publish it. Those are different decisions. A user being allowed to read something in AEM does not automatically mean it is appropriate to send it to every model provider or expose it to every connected tool.
This article asks: how can a team expose useful AEM operations to an agent while constraining identities, data flows and side effects? The answer is an architecture and security review, not a claim that any particular deployment is safe. The examples describe a proposed custom integration, not an Adobe product configuration.
The existing AEM + MCP overview introduces the broader agent/content architecture. This article owns the security decision: permission boundaries, tool design, threat modeling and authorization at execution. None of the examples was connected to AEM or executed against a real service.
Adobe’s AEM MCP overview, updated 9 October 2026, states that the hosted AEM as a Cloud Service server supports read-only and read-write content operations under the signed-in AEM user’s permissions. That is an important foundation—not proof that the client, model provider, downstream tool or proposed autonomous workflow is appropriately constrained.
02 / MCP BRIEF
MCP in one request
MCP is a protocol for exposing tools, resources and prompts to an AI application. In a typical flow the host connects an MCP client to a server; a model proposes a tool call; the host and server enforce their controls; the server invokes an AEM capability or other backend and returns a result. MCP is not the AEM API, an identity provider or a security policy engine.
The MCP 2026-07-28 specification release describes a stateless revision and changed discovery and transport details. Older clients and servers may implement earlier revisions. Confirm the negotiated or supported revision and client/server behavior for the actual integration; the JSON examples below deliberately show message bodies, not a complete wire-level implementation.
A tool schema tells a client how to construct a request. It does not confer permission. A tool marked read-only may still disclose sensitive content, and descriptive annotations are not a substitute for enforcing authorization. The OWASP MCP security guidance discusses untrusted descriptions, server installation, prompt injection and data exfiltration.
The trust path
Illustrative architecture; not a diagram of Adobe’s deployed infrastructure.
Request
- Human
- Agent host
- MCP client
- Policy gate
- AEM
Controls
- Identity
- Tool allowlist
- Data scope
- ACL decision
- Audit
03 / PRODUCT SCOPE
Official Adobe services are not interchangeable
Adobe documents its unified hosted AEM MCP Server for AEM as a Cloud Service: pages and Content Fragment create/read/update/delete, asset import, search and management, plus Experience Governance capabilities with licensing conditions. Availability, permissions, enabled tools and licensing must be checked in the actual tenant; discovering a tool is not permission to use it.
Adobe’s Cloud Manager documentation says Cloud Manager is not yet part of the unified AEM server and requires separate registration. Cloud Manager may expose pipeline actions as well as inspection, so treat it as a separate authority and risk domain. Do not assume access to AEM content grants pipeline administration.
The Adobe Quickstart MCP project is a separate local development integration. Its README lists AEM 6.5 LTS and particular Cloud SDK ranges with release-specific caveats. That is not evidence that the hosted AEM Cloud MCP endpoint supports every AEM 6.5 installation. For 6.5, check Adobe’s documentation and the exact service pack; otherwise assess a separate community or custom adapter.
The Netcentric community repository describes support for cloud and self-hosted instances and a wide operation surface including write and replication features. These are maintainer claims, not Adobe support or an independent security audit. Review its exact version, license, dependencies, credential model, network exposure and tool permissions before any use. Never reuse repository example credentials outside an isolated test environment.
| Option | Documented scope | Security question |
|---|---|---|
| Adobe unified AEM MCP | AEM as a Cloud Service content and governance; user permissions apply | Which tools and data destinations are enabled for this user and tenant? |
| Adobe Cloud Manager MCP | Separate registration for Cloud Manager | Which pipeline operations can this principal invoke? |
| Adobe Quickstart MCP | Local development; README lists 6.5 LTS and specific SDK versions | Which version and local permissions apply? |
| Community or custom server | Depends on project and deployed AEM APIs | Who maintains, authenticates, authorizes and audits each operation? |
| AEM 6.5 | No blanket hosted-server compatibility assumed | Which adapter and APIs are supported in this exact environment? |
04 / IDENTITIES
Identity propagation and least privilege
There are at least four identities to reason about: the human, the agent application, the MCP server and the AEM-side principal. They may not be the same. Record which component authenticates the human, how a delegated identity is established, and which principal AEM sees for every operation. A valid MCP token alone does not prove authorization to read a particular AEM path.
For a custom remote integration, validate issuer, audience, expiration and applicable scopes at the MCP resource server. Follow the current MCP authorization specification; do not blindly pass a token issued for the MCP server to an AEM API. Use the downstream API’s supported authentication and audience. A service credential, if necessary, must be kept server-side and separately scoped.
AEM groups and repository ACLs are distinct from the agent’s tool allowlist. Evaluate both: a tool call can be permitted by the host but denied by AEM, or a broadly privileged service user can accidentally read content the initiating human could not. This latter confused-deputy case requires enforced identity delegation or an independent policy decision tied to the user and requested resource. Never assume service-user permissions automatically represent human permissions.
If a service identity is unavoidable, scope it to the smallest content roots and operations; prevent its credentials from reaching the model; maintain attribution to the requesting user and purpose; and enforce a separate per-user authorization check before calling AEM. If reliable user-specific authorization cannot be established, do not expose sensitive content through that workflow.
Local stdio avoids opening a remote listener but does not sandbox the process. Restrict filesystem access, network egress and environment secrets with operating-system or container controls. For remote HTTP, use TLS, validate tokens and request origins as appropriate, and apply resource limits. These are proposed controls; their availability varies by client and server.
| Actor | Allowed operation | Enforcement / boundary |
|---|---|---|
| Content analyst | Read permitted published metadata | Identity, path ACL, classification and model-destination policy |
| Author | Review own permitted draft | AEM ACL plus tenant and content-state checks |
| Approver | Approve an exact proposed change | Independent approval identity and immutable request binding |
| MCP service | Call one approved AEM read capability | Scoped service credentials and server-side per-user policy |
| Agent model | Suggest arguments only | No direct credentials; untrusted output validated |
| Release operator | Execute approved publish action | Separate role, fresh authorization and change controls |
05 / THREATS
Threat model: what can go wrong?
An author-controlled field, asset metadata or retrieved web page may contain instructions directed at the model. If the agent treats that content as authority, it could select another tool or disclose data. Structured output and prompt instructions help organize data, but they cannot reliably remove every malicious instruction. The control must be outside the model: policy checks, isolated capabilities and authorization of the next action.
Tool poisoning targets the tool definition or response: a description can try to redirect the model, or a previously reviewed server can change behavior. Maintain an allowlist of server identity and reviewed tool schemas; alert on changes and review package and runtime provenance. A schema hash can detect a changed definition, but cannot prove unchanged server code is benign.
Token leakage can occur through prompt text, logs, model requests, crash reports or unauthorized destinations. Confused-deputy exposure occurs when the server acts with its own broader rights and skips the initiating user’s constraints. Unauthorized publication is a separate integrity risk even when the author legitimately owns a draft. An agent’s statement that it received approval is not evidence of approval.
| Threat | Example | Control and limitation |
|---|---|---|
| Prompt injection | A fragment tells the agent to export unrelated drafts | Treat content as data; enforce each downstream call and egress policy |
| Tool poisoning | A schema or response instructs use of another server | Review server and schema changes; isolate servers; hashes do not attest runtime behavior |
| Confused deputy | Service identity reads a restricted asset for an unauthorized user | Per-user authorization before backend access; scoped service identity |
| Credential exposure | A bearer token appears in a prompt or audit record | Server-side secret store, token audience checks, redaction and retention limits |
| Unauthorized publication | Agent promotes a proposed draft without review | Separate publish authority; explicit approval bound to exact action and revision |
| Cross-environment action | A staging request targets production | Server-side environment allowlist, separate identities and deny by default |
| Exfiltration through a read | Sensitive text sent to an external model | Data classification, approved destination, minimization and egress policy |
06 / READONLY
A safe read-only starting architecture
The following is an illustrative design for a narrowly scoped custom server. It is not an Adobe deployment, does not invent an Adobe endpoint and has not been tested against AEM. Begin in a non-production environment with synthetic content. Expose only a lookup operation; block mutation tools at both the MCP layer and the AEM identity.
An authorized analyst asks for metadata for one permitted fragment. The host forwards a request with user identity established through a supported mechanism. The policy service checks user, tenant, environment, allowed root, content classification and purpose. The adapter uses the appropriate version-specific AEM API with a separately authorized downstream identity. It returns only selected fields; the model receives no credential.
Perform the backend ACL check for each resource, not only the search endpoint. Check referenced assets individually rather than assuming a permitted parent implies access to every referenced object. Bound result count and size; rate-limit enumeration. A read-only operation can still extract a complete content repository if search, pagination and downstream destinations are unconstrained.
Log the decision and relevant identifiers according to a data-minimization policy. Redact secrets and avoid full fragment content, prompts and sensitive paths unless explicitly required and protected. An audit trail should help a reviewer explain who requested what, why it was allowed and which backend identity was used without becoming a second copy of the content.
Proposed read sequence
Conceptual sequence with enforcement at every trust boundary.
Read
- User request
- Host identity
- Policy check
- AEM ACL
- Minimal response
Control
- Allowlist
- Scope and limits
- Destination check
- Redacted audit
ILLUSTRATIVE CUSTOM TOOL DEFINITION — not an Adobe tool
json{
"name": "read_fragment_metadata",
"description": "Read approved metadata for one authorized content fragment.",
"inputSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"path": {
"type": "string",
"maxLength": 512
},
"locale": {
"type": "string",
"enum": [
"en",
"fr"
]
}
},
"required": [
"path",
"locale"
]
},
"annotations": {
"readOnlyHint": true
}
}ILLUSTRATIVE REQUEST — synthetic values; not an HTTP transcript
json{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "read_fragment_metadata",
"arguments": {
"path": "/content/dam/example/fragments/sample",
"locale": "en"
}
}
}ILLUSTRATIVE RESPONSE — example data, not captured output
json{
"jsonrpc": "2.0",
"id": 1,
"result": {
"content": [
{
"type": "text",
"text": "{\"title\":\"Example fragment\",\"locale\":\"en\",\"revision\":\"example-revision\"}"
}
]
}
}07 / VALIDATION
What must validate before an AEM read
The schema above constrains the shape, not authorization. A production adapter must canonicalize and validate the path using a trusted path parser, reject malformed encodings, traversal and ambiguous separators, then compare segment boundaries against server-controlled allowlisted roots. A naive string prefix check is not a security boundary; neither is a path provided by the model.
Validate content type, locale, tenant, environment and access at the resource boundary. Apply bounded pagination and query cost controls; inspect Oak indexing and query plans for the actual AEM version rather than assuming a search will be efficient. Limit output fields and protect against excessive retries. If access or policy is unavailable, fail closed and record an appropriately redacted denial.
The sample request and response use a fictional tool and synthetic content. They illustrate the JSON-RPC body only: transport headers, authentication, protocol-version details, negotiation and server behavior depend on the client/server implementation. Do not send this as a presumed Adobe API call.
| Test | Input / condition | Expected security behavior |
|---|---|---|
| Cross-tenant read | User A requests tenant B content | Deny; no backend data returned |
| Path traversal | Encoded traversal or sibling prefix | Reject canonicalization or scope validation |
| Unauthorized reference | Allowed fragment references restricted asset | Do not return the asset without a separate authorization decision |
| Token audience | MCP token presented to downstream AEM API | Reject; use independently authorized downstream credential |
| Tool change | Unreviewed schema or server version | Block or require renewed review |
| Model destination | Restricted content and unapproved external model | Deny transfer before data leaves boundary |
| Pagination | Repeated broad searches | Enforce quotas, limits and alert thresholds |
| Policy outage | Authorization service unavailable | Fail closed; preserve redacted denial evidence |
08 / MUTATIONS
A write is a separate authority
An agent can prepare a proposed change without being granted publication authority. For example, it may draft a metadata update based on an authorized read. The application presents the full intended change, exact AEM environment, content identifier, revision, affected fields and consequences to a qualified human. That approval must be recorded outside model-generated text.
Before execution, verify the approver is authorized, the approval is unexpired and single-use, and the request is bound to the exact environment, action, target, payload and source revision. Recheck AEM authorization and revision at execution time. If any argument or revision changes, invalidate the approval and request a fresh decision. Use optimistic concurrency where the underlying API supports it; do not invent endpoint or API semantics.
Publishing is a distinct operation with additional blast radius. Separate content editing from publishing authority and review downstream delivery and rollback implications. A successful write must not be represented as a successful publication, and a human approval should not allow a model to substitute a different target or publish to production.
Approval-gated mutation — proposed
A human decision is bound to the exact operation; authorization and revision are checked again at execution.
Proposal
- Read
- Propose change
- Show diff
- Human review
Execution
- Bind approval
- Recheck identity
- Recheck revision
- Execute
- Audit
ILLUSTRATIVE APPROVAL RECORD — synthetic data
json{
"approvalId": "example-approval-01",
"requester": "user-example",
"approver": "reviewer-example",
"environment": "stage",
"action": "update-metadata",
"resourceId": "example-fragment",
"sourceRevision": "example-revision",
"payloadDigest": "sha256:<digest-of-canonical-payload>",
"expiresAt": "<expiry>",
"singleUse": true
}ILLUSTRATIVE REDACTED AUDIT EVENT
json{
"event": "mcp.tool.decision",
"correlationId": "example-correlation",
"actor": "user-example",
"servicePrincipal": "scoped-service-example",
"environment": "stage",
"tool": "read_fragment_metadata",
"resourceRef": "pseudonymous-resource-id",
"decision": "allow",
"policyVersion": "example-v1",
"timestamp": "<UTC timestamp>",
"dataClassification": "internal"
}09 / AEM TROUBLESHOOTING
Troubleshooting realistic AEM cases
Case 1 — the agent finds a fragment but cannot read its metadata. First compare the user’s AEM access, the MCP tool policy and the backend principal. Check author versus publish and the selected environment. Avoid treating a denial as proof that the content does not exist: some integrations intentionally avoid revealing resource existence.
Case 2 — a search returns too many assets or times out. Confirm the allowed root, selected fields, pagination, query cost and index behavior in that exact AEM environment. A model-generated broad search should not bypass query limits. Do not invent an explain plan or assume Elasticsearch and Oak share indexing behavior.
Case 3 — a proposed metadata update passes review but the fragment changes before execution. Reject the stale proposal and request review of the new revision and diff. Approval for the old state is not approval for an updated payload.
Case 4 — Cloud Manager tools are missing from the unified AEM tool list. Adobe documents a separate Cloud Manager registration. Check the actual entitlement and principal before changing setup; missing tools are not a reason to grant an administrator role.
Case 5 — an agent includes a restricted asset reference in its answer. Determine whether the backend, adapter, host or model destination returned or disclosed it. Correlate redacted decision records and test resource-level authorization; do not paste the asset or token into the incident ticket.
10 / ALTERNATIVES
MCP, direct APIs or traditional automation?
MCP can be useful when an interactive agent must select among carefully bounded tools, inspect context and ask a human to resolve ambiguity. Standardizing the tool interface can reduce client-specific integration code; it does not remove backend authorization or make arbitrary server implementations interchangeable.
For a deterministic nightly synchronization, a conventional service using supported AEM APIs, fixed identities, versioned configuration and normal monitoring is often simpler to reason about. For a single frontend retrieving published structured content, a direct supported API may be more appropriate. For bulk publishing or privileged production administration, avoid autonomous agent execution unless a specific need justifies stronger, tested controls and accountable human decisions.
| Approach | Good fit | Trade-off |
|---|---|---|
| MCP with bounded tools | Interactive exploration across approved capabilities | More tool, identity and prompt-injection surfaces |
| Direct AEM API | Known client and predictable request contract | Client owns integration and version compatibility |
| Traditional automation | Repeatable, deterministic workflow | Less flexible for open-ended investigation |
| Avoid autonomous action | High-impact publication or unclear authorization | Human workflow may be slower but retains explicit authority |
11 / CHECKLIST
Production security review
This checklist is a review aid, not a certification or proof of deployment. Test it with the actual AEM version, client, authorization provider and intended content classification. Adobe documentation, MCP revisions and project capabilities can change; pin a reviewed version and revisit it.
Before enabling any agent access
- Inventory approved MCP servers, versions, owners, transports and tool definitions.
- Record human, application, server and AEM-side identities; verify audience and downstream authorization.
- Allow only required operations, environments, content roots and data destinations.
- Prove user-specific resource authorization; do not rely on a broad service identity alone.
- Protect credentials outside prompts and logs; rotate and revoke them.
- Treat retrieved content and tool output as untrusted; prevent unapproved cross-tool data flow.
- Enforce request validation, pagination, rate limits and cost limits.
- Require independent, exact-argument human approval for sensitive changes and publication.
- Recheck authorization and revision at execution; reject stale or replayed approvals.
- Use redacted, access-controlled audit records and incident response ownership.
- Exercise denial, prompt-injection, cross-tenant, stale-approval and outage cases in isolated fixtures.
- Document remaining gaps, rollback procedures and the owner who accepts residual risk.
12 / CONCLUSION
A protocol is not permission to act
MCP can make AEM capabilities easier to discover and connect to an agent. The security question remains: who requested the action, what content and destination are allowed, which identity reaches AEM, and who can authorize the consequences?
Start with the smallest useful read-only task and prove the identity and data boundaries. Add mutation only when a real workflow justifies it, with an independently enforced approval and a separate publication authority. Protocol support and existing AEM permissions alone do not guarantee safe agent autonomy.
REFERENCE DESK
Sources & further verification
Documentation and repositories reviewed 26 October 2026. Vendor capabilities and protocol revisions may change. Diagrams, tool definitions, messages, audit records and validation cases are illustrative; no AEM connection, deployment, security test or captured output is claimed.
Official AEM documentation
Adobe, MCP and security sources
- Adobe — Quickstart MCP Server repository (external, opens in a new tab)
- MCP — 2026-07-28 specification release (external, opens in a new tab)
- MCP — authorization (external, opens in a new tab)
- MCP — security best practices (external, opens in a new tab)
- OWASP — MCP Security Cheat Sheet (external, opens in a new tab)
- Netcentric — AEM MCP Server repository (external, opens in a new tab)