# aep

An MCP server with 61 tools that lets your agent create schemas, load batches and activate audiences in Adobe Experience Platform, not just read them.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI
- Author: Focus-GTS
- License: Apache-2.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/Focus-GTS/aep-mcp-server
- Updated: 2026-08-30
- HTML: https://affpapa.org/en/nevibecode/mcp/aep

## What it does

The server calls live Adobe APIs over OAuth Server-to-Server. Your agent gets tools for schemas, datasets, batch ingestion, segments and privacy erasure requests, and a single credential covers Experience Platform, Journey Optimizer and Customer Journey Analytics. The JO and CJA tools only read.

Writes stay off until you turn them on. The default `safe` posture allows changes only in a sandbox Adobe itself tags as `development`, and the server checks that tag through the Sandbox Management API before every write. If the type cannot be determined, the write is refused. An unrecognised `AEP_MODE` falls back to `safe` as well. A sandbox named `prod` is rejected before the mode is even resolved. On top of that, `AEP_ALLOW_MUTATIONS=true` is required, otherwise nothing changes at all.

Irreversible calls ask for a confirmation string tied to the target. Record deletion starts with `dryRun: true`, and real submission accepts only a phrase such as `DELETE RECORDS <datasetId> <identityDigest>`, where the digest matches the exact identity set. Segment and dataset deletion plus batch completion follow the same pattern. You need `AEP_CLIENT_ID`, `AEP_CLIENT_SECRET`, `AEP_ORG_ID` and a sandbox name to start.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `AEP_CLIENT_ID`, `AEP_CLIENT_SECRET`, `AEP_ORG_ID`, `AEP_SANDBOX_NAME`, `AEP_MODE`, `LOG_LEVEL` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add --env AEP_CLIENT_ID=<AEP_CLIENT_ID> --env AEP_CLIENT_SECRET=<AEP_CLIENT_SECRET> --env AEP_ORG_ID=<AEP_ORG_ID> --env AEP_SANDBOX_NAME=<AEP_SANDBOX_NAME> --env AEP_MODE=<AEP_MODE> --transport stdio aep -- npx -y @focusgts/aep-mcp-server
```
Replace <…> with your own values. 1 more environment variable is in the server README

### Codex

**Platform CLI**
```bash
codex mcp add aep --env AEP_CLIENT_ID=<AEP_CLIENT_ID> --env AEP_CLIENT_SECRET=<AEP_CLIENT_SECRET> --env AEP_ORG_ID=<AEP_ORG_ID> --env AEP_SANDBOX_NAME=<AEP_SANDBOX_NAME> --env AEP_MODE=<AEP_MODE> -- npx -y @focusgts/aep-mcp-server
```
Replace <…> with your own values. 1 more environment variable is in the server README

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "aep": {
            "command": "npx",
            "args": [
                "-y",
                "@focusgts/aep-mcp-server"
            ],
            "env": {
                "AEP_CLIENT_ID": "<AEP_CLIENT_ID>",
                "AEP_CLIENT_SECRET": "<AEP_CLIENT_SECRET>",
                "AEP_ORG_ID": "<AEP_ORG_ID>",
                "AEP_SANDBOX_NAME": "<AEP_SANDBOX_NAME>",
                "AEP_MODE": "<AEP_MODE>"
            }
        }
    }
}
```
Replace <…> with your own values. 1 more environment variable is in the server README

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "aep": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@focusgts/aep-mcp-server"
            ],
            "env": {
                "AEP_CLIENT_ID": "<AEP_CLIENT_ID>",
                "AEP_CLIENT_SECRET": "<AEP_CLIENT_SECRET>",
                "AEP_ORG_ID": "<AEP_ORG_ID>",
                "AEP_SANDBOX_NAME": "<AEP_SANDBOX_NAME>",
                "AEP_MODE": "<AEP_MODE>"
            }
        }
    }
}
```
Replace <…> with your own values. 1 more environment variable is in the server README

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e AEP_CLIENT_ID=<AEP_CLIENT_ID> -e AEP_CLIENT_SECRET=<AEP_CLIENT_SECRET> -e AEP_ORG_ID=<AEP_ORG_ID> -e AEP_SANDBOX_NAME=<AEP_SANDBOX_NAME> -e AEP_MODE=<AEP_MODE> aep npx -y @focusgts/aep-mcp-server
```
Replace <…> with your own values. 1 more environment variable is in the server README

## When to use it
- compose a schema from field groups and build a dataset on it
- upload an NDJSON file and follow the batch until it lands
- assemble a segment and push it to a destination
- handle a personal data erasure without touching extra records
- check how much data lifecycle quota is left

## Example prompts
- Create a schema with the Demographic Details field group and a dataset on top of it.
- Delete every record tied to this email address, dry run first.

## Similar
- [World Monitor](https://affpapa.org/en/nevibecode/mcp/world-monitor.md) — MCP server · ★ 89609
- [Scrapling MCP Server](https://affpapa.org/en/nevibecode/mcp/scrapling-mcp-server.md) — MCP server · ★ 89899
- [MCP Toolbox for Databases](https://affpapa.org/en/nevibecode/mcp/googleapis-mcp-toolbox-for-databases.md) — MCP server · ★ 16730
- [PostHog MCP Server](https://affpapa.org/en/nevibecode/mcp/posthog-mcp-server.md) — MCP server · ★ 40459
- [dbx](https://affpapa.org/en/nevibecode/mcp/dbx.md) — MCP server · ★ 27844
- [Metabase](https://affpapa.org/en/nevibecode/mcp/metabase.md) — MCP server · ★ 49863

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
