
Aep
com.focusgts由 focusgts.com 發布v0.11.1更新於 Oct 27, 2026
Full-CRUD server for AEP, Journey Optimizer and CJA. 61 tools from one OAuth credential.
概覽
自架式 MCP 伺服器,用一組 OAuth 憑證為助理提供 61 個讀寫工具,涵蓋 Adobe Experience Platform、Journey Optimizer 與 Customer Journey Analytics。
- 可以做什麼
- 列出、檢視、建立與更新結構描述和資料集
- 建立批次、上傳檔案、完成、中止或還原批次,並查詢擷取狀態
- 執行 Query Service 查詢,檢視來源與資料流
- 查詢設定檔與身分,建立並估算區段,將受眾啟用到目的地
- 提交隱私權工作與資料衛生工單,包括記錄刪除與資料集到期設定
- 讀取 Journey Optimizer 行銷活動並執行 Customer Journey Analytics 報表
- 適用情境
- 當希望助理在 Adobe Experience Platform 租用戶中實際執行工作——建立資料模型、送進批次、建立並啟用受眾或處理刪除請求——而不只是做唯讀查詢時使用。評估階段建議指向開發沙箱。
- 執行需求
- 透過 npx 以 stdio 在本機執行,需要 Node.js。需要 Adobe Developer Console 的 OAuth Server-to-Server 憑證:AEP_CLIENT_ID、AEP_CLIENT_SECRET 與 AEP_ORG_ID,以及用來限定呼叫範圍的 AEP_SANDBOX_NAME。寫入另需設定 AEP_ALLOW_MUTATIONS=true。各組織的產品授權不同;CJA 工具需在同一個專案中加入 CJA API。
安裝
README
[npm] [installs] [MCP Registry] [tests] [license]
Adobe's MCP lets your agent read Experience Platform. This one lets it work.
61 tools across 14 categories. Full read AND write. Self-hosted, Apache-2.0, no invitation required. Experience Platform, Journey Optimizer and Customer Journey Analytics — from one OAuth credential.
Ingest a batch → compose a schema → activate an audience → honour an erasure. Every mutation gated by a fail-closed write guard that asks Adobe what kind of sandbox it's in.
⚡ Do it in three lines
Then just ask your agent:
"Create a schema with the Demographic Details field group, then a dataset on it." "Ingest this NDJSON file and tell me when the batch lands." "Build an audience of customers who bought twice this quarter and activate it." "Delete every record for this email address — dry run first."
Writes are off until you ask for them, and safe mode only unlocks sandboxes Adobe classifies as development.
The loop that makes it different
Adobe's first-party gateway can tell you what's in your Experience Platform tenant. It cannot create a dataset, land a batch, activate an audience, or submit an erasure. This does — and does it behind a guard that fails closed.
🧠 How it works
The agent calls tools; the server talks to live Adobe APIs over OAuth Server-to-Server. The write guard sits in the HTTP client, not in each tool, so all 61 inherit it and none can forget it. Blocked calls never reach Adobe.
🛡️ Safe by default
Three postures. Reads are never restricted in any mode.
How
safedecides — and why it's not the sandbox name. A production sandbox can be called anything, and a sandbox calledprodmight not be production. Only Adobe'stypefield from the Sandbox Management API decides.It fails closed. If the type can't be determined — the credential can't read sandbox metadata, the API errors, startup hasn't finished — writes are blocked. A credential must not earn write access by being less capable. An unrecognised
AEP_MODEfalls back tosafe, so a typo can never grant production writes.A sandbox literally named
prodis refused unconditionally, before mode resolution — soAEP_MODE=productiondoes not lift it. Override withAEP_I_UNDERSTAND_THIS_WRITES_TO_PROD=trueonly if that really is your sandbox's name. The inference is deliberately asymmetric: trusting a name to allow a write is unsafe, trusting one to deny a write is safe, because the worst case is a refusal you can override on purpose.Mutations are off entirely unless
AEP_ALLOW_MUTATIONS=true. That is separate fromAEP_MODEon purpose: choosing a write mode should not also mean "yes, you may change my data".
Startup always states the active posture:
Per-tool confirmation gates
Writes are not uniformly gated — uniform gating makes an agent useless. Gates sit where an action is irreversible and wide-reaching, and every one is checked before any network call:
Confirmations name their target. A phrase carrying the dataset id — and for record delete, a hash of the identities too — cannot be copied from one call to another. A generic "I understand this is irreversible" approves any deletion once you've typed it once.
Identity values never leave the process.
aep_create_record_deletereturns a count, the namespace names, and a digest — never the email addresses or device IDs you passed it. A record-delete request is by nature a list of real people; a tool that echoes them copies them into every transcript and log sink it touches.Batch creation and file upload are ungated on purpose: those writes are additive and recoverable. An unwanted batch can be left uncompleted, and data that did land can be removed with the Data Hygiene tools.
Tool annotations
Every tool ships MCP annotations — readOnlyHint, destructiveHint, idempotentHint, openWorldHint — derived from the same metadata that builds its description, so the two cannot drift.
These are hints for the client, not enforcement — the guards above enforce. Their value is that a client like Claude Desktop uses destructiveHint to decide when to interrupt and ask a human. Without them aep_delete_profile looks identical to aep_list_schemas. A test asserts the destructive list exactly, so a ninth is a deliberate act rather than an oversight.
🛠️ The 61 tools
All prefixed aep_, verb_noun naming. 🔒 changes state · 🔥 destructive.
Data modelling & ingestion
Profiles, audiences & activation
Governance — privacy, lifecycle & event routing
Workflows these unlock
Ingest end to end —
create_schema→create_dataset→create_batch→upload_batch_file→complete_batch→get_batch_statusBuild and activate an audience —
create_segment→estimate_segment_size→list_destinations→create_destination_connection→activate_segmentHonour an erasure request —
get_profile_by_identity→create_record_delete→get_work_order_statusRetire data on a schedule —
create_dataset_expiration→list_dataset_expirations→update_dataset_expiration→cancel_dataset_expiration
What's actually been run against a live tenant is recorded per tool in docs/VALIDATION-MATRIX.md — including the surfaces that are documented-and-mocked but deliberately never executed, and why.
Adobe Journey Optimizer (2)
AJO is a separate Adobe product, licensed separately — hence the ajo_ prefix, so an entitlement failure reads as one.
Writes are absent on purpose. The routes exist, but shipping an unvalidated write path into a product that sends messages to real people is not a trade worth making.
📊 AEC-Bench — does your agent actually work?
Every MCP server in this space is described by its tool count. That measures surface area, not competence: fifty tools that 404 score higher than ten that work.
bench/ is an agentic benchmark that measures the other thing — given a real task and a live tenant, does the agent finish it, and can you prove it?
Current: tier 1 5/5, tier 2 2/2, zero residue. Tier 3 (irreversible) is defined and deliberately empty — its tasks are non-cancellable and can take 30 days, and a benchmark is not a good reason to run one.
We expect to score badly on tasks we haven't built for. That's the intended use.
📈 Customer Journey Analytics (10)
One OAuth credential now serves three Adobe services. Add the Customer Journey Analytics API to the same Developer Console project that owns AEP_CLIENT_ID, and the cja_* tools light up — no second secret, no separate auth.
The AEP sandbox and the CJA company are not the same thing
The CJA client never sends x-sandbox-name. CJA has no sandbox concept, and attaching one would be meaningless at best and misleading in a trace.
Company discovery, and why it may not work
Adobe's documented discovery endpoint is GET https://analytics.adobe.io/discovery/me. That host belongs to Adobe Analytics — a different product from CJA. A credential entitled to CJA but not Analytics gets 403003 Api Key is invalid there: the key is fine, it simply has no Analytics entitlement. CJA exposes no discovery of its own.
In practice this blocks nothing: CJA answers every resource with x-gw-ims-org-id alone, so the company id is optional.
cja_list_companies reports which context is in use and whether discovery is reachable. If discovery ever returns several companies and no override is set, it refuses to pick one — silently choosing the first would point every subsequent report at the wrong company.
Running the probes and the live tests
The live tests are skipped unless CJA_LIVE_TESTS=1, so npm test stays hermetic. They are read-only and never print credentials or full Adobe responses.
Current limitations, honestly
- No mutation tools. This slice is read-only by design.
- Discovery is unavailable on a CJA-only credential, as above. Not a defect in the tools.
cja_get_connectionis unvalidated — the validation tenant has zero connections, and an id is never fabricated to manufacture a pass.- Paging on dimensions and metrics is inert. CJA wraps them in a
contentenvelope that looks pageable, butlimitandpageare ignored — verified live, all 38 dimensions returned regardless.search,limitandoffsetare applied client-side, and the output says so.
🥊 vs Adobe's first-party Experience Platform tools
Adobe ships first-party tools through CX Coworker Gateway. It's a genuinely good product, and if all you need is to ask questions about your tenant, use it.
On Journey Optimizer and CJA: Adobe ships separate first-party MCP servers for both, so the rows above deliberately do not claim they are "not covered" — that would be false. What this server adds is a single credential spanning all three, and a write path on the AEP side that Adobe's gateway does not offer. The AJO and CJA tools here are read-only.
Audiences and destinations do appear, but in a separate Real-Time CDP tool set on the same gateway — and Adobe is explicit that creating, activating, updating, or deleting audiences, destinations, and dataflows isn't supported there either. The read-only boundary holds across the whole gateway.
They're complementary, not competing: pair Adobe's gateway for governed reads with this server for the write path.
Adobe's figures were read from their Experience Platform tools page (last updated 17 July 2026):
search_datasets,search_class_relations,search_data_access,search_data_lake,search_dule,search_query_service,search_audit,search_allowed_ip_ranges. It's a Beta surface and will change — check their docs for the current figure. The read/write split is the durable difference, not the count.
🔌 Add it to your tool
Claude Code — one command
Claude Desktop — claude_desktop_config.json
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
Cursor — .cursor/mcp.json
VS Code (GitHub Copilot) — .vscode/mcp.json
🔐 Credentials
Get them at developer.adobe.com/console: create a project → add Experience Platform API → OAuth Server-to-Server.
AEP_SANDBOX_NAMEhas no default, deliberately. It used to fall back toprod, which meant a config file missing one line silently pointed every request — reads included — at production, with no warning. There is no safe default: a wrong guess is indistinguishable from a correct one until something is read or written in the wrong environment. Setting it explicitly toprodis allowed; that's a visible, deliberate choice, and mutations there are still refused by the write guard.Sandbox scoping. Every tool sends
x-sandbox-name, and Query Service derives its database as<AEP_SANDBOX_NAME>:all.
🧾 Entitlements
Not every Adobe org licenses every AEP product. A tool returning AEP_403 usually means a missing entitlement rather than a bad credential.
🏗️ Architecture
TypeScript strict end-to-end, @modelcontextprotocol/sdk + zod, stdio transport, stateless per request.
OAuth Server-to-Server with a deduped token cache, structured pino logging with PII redaction, exponential-backoff retries, automatic 401 re-auth, working cursor pagination, structured AEP_{status} error codes, and a graceful-shutdown lifecycle. All logs go to stderr — stdout is reserved for the MCP JSON-RPC stream.
🧪 Development
npm run test:live runs a read-only smoke suite against a real IMS org and sandbox to verify credentials, entitlements, and sandbox scoping end to end. It invokes no destructive tool and requires AEP_SANDBOX_NAME to point at a non-production sandbox.
🧩 Part of the Focus GTS Adobe suite
Built by Focus GTS — Adobe Silver Solution Partner · Apache-2.0
Bug reports and PRs welcome at Focus-GTS/aep-mcp-server · [email protected]
Not affiliated with or endorsed by Adobe Inc. or Anthropic, PBC.
來源:README.md,提交 531520b
工具
0版本歷史
1- v0.11.1最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分