Skip to main content
Glama

AEP MCP Server

Zwei MCP-Server, die Claude (und jedem MCP-kompatiblen Client) natürlichen Sprachzugriff auf Adobe Experience Platform, Adobe Journey Optimizer und Real-Time CDP bieten.

Server

Datei

Tools

Beschreibung

AEP (benutzerdefiniert)

server.py

137+

Vollständige AEP/AJO-API-Abdeckung, erstellt mit FastMCP

RT-CDP (Adobe offizieller Proxy)

rtcdp_proxy.py

18

Proxyt Adobes offiziellen rtcdp-mcp.adobe.io-Server


Schnellstart

1. Das Setup-Skript ausführen

./setup.sh

Dies erstellt ein .venv, installiert alle Abhängigkeiten, installiert den Pre-Commit-Hook und gibt das genaue MCP-Konfigurations-JSON zum Einfügen aus – einschließlich des korrekten absoluten venv-Python-Pfads für Ihren Rechner.

Windows: Führen Sie die Schritte manuell aus – python3 -m venv .venv, .venv\Scripts\activate, pip install -r requirements.txt.

2. Anmeldeinformationen konfigurieren

Füllen Sie Ihre Anmeldeinformationen aus der Adobe Developer Console → Projekt → OAuth Server-to-Server aus:

# orgs.json was created by setup.sh — edit it now

Oder verwenden Sie Umgebungsvariablen (Single-Org-Fallback):

cp .env.example .env
# edit .env

3. Bei Claude Code registrieren

Fügen Sie das von setup.sh ausgegebene JSON in .claude/mcp_servers.json ein, zum Beispiel:

{
  "aep": {
    "command": "/path/to/aep-mcp-server/.venv/bin/python",
    "args": ["/path/to/aep-mcp-server/server.py"]
  }
}

Verwenden Sie immer den venv-Python-Pfad – MCP-Clients starten den Server außerhalb einer aktiven Shell, daher findet bloßes python3 die installierten Pakete nicht.

4. Ausführen

python3 server.py                        # AEP server, default org profile
AEP_PROFILE=MyClient python3 server.py  # start with a specific profile

Related MCP server: Fourth Brain Demo

Multi-Org-Konfiguration

orgs.json unterstützt mehrere benannte Profile – nützlich, wenn Sie mit verschiedenen Adobe-Organisationen oder Sandboxen arbeiten:

{
  "default": "ClientA",
  "profiles": {
    "ClientA": {
      "client_id": "...",
      "client_secret": "...",
      "api_key": "...",
      "org_id": "XXXX@AdobeOrg",
      "sandbox": "prod",
      "sandboxes": {
        "dev": "my-sandbox-dev",
        "prod": "my-sandbox-prod"
      }
    },
    "ClientB": {
      "client_id": "...",
      "client_secret": "...",
      "api_key": "...",
      "org_id": "YYYY@AdobeOrg",
      "sandbox": "prod"
    }
  }
}

Wechseln Sie die Organisation zur Laufzeit mit dem Tool switch_org_profile oder durch Setzen von AEP_PROFILE beim Start. Token-Caches werden pro Profil verwaltet.


Server 1 — AEP MCP (server.py)

Erstellt mit FastMCP. Alle Tools akzeptieren einen optionalen sandbox-Parameter; falls weggelassen, wird die Standardsandbox des aktiven Profils verwendet.

Datensätze und Batches

list_datasets · get_dataset · create_dataset · get_batch · list_batches · get_sandbox · list_sandboxes · reset_sandbox

XDM-Schema-Registry

list_schemas · get_schema · create_schema · enable_schema_for_profile · list_field_groups · get_field_group · create_field_group · list_classes · list_data_types · list_descriptors · create_descriptor

Echtzeit-Kundenprofil und Identität

get_profile_by_identity · get_identity_cluster · list_identity_namespaces · get_identity_namespace · list_merge_policies · list_profile_export_jobs · get_profile_export_job

Segmentierung / Zielgruppen

list_segments · get_segment · create_segment · delete_segment · list_segment_jobs · get_segment_job · create_segment_job · list_streaming_jobs

Abfragedienst

list_queries · get_query · run_query · cancel_query · list_query_runs · list_query_templates · get_query_template · create_query_template · list_scheduled_queries

AJO – Journeys und Kampagnen

list_journeys · get_journey · list_journey_versions · list_campaigns · get_campaign

AJO – Offer Decisioning

list_offers · get_offer · list_placements · list_collections · list_offer_activities · get_offer_activity · list_ranking_formulas · create_eligibility_rule

Flow Service (Quellen und Ziele)

list_connections · get_connection · list_connection_specs · get_connection_spec · list_dataflows · get_dataflow · list_flow_runs · get_flow_run · list_source_connections · get_source_connection · list_target_connections · get_target_connection

Observability Insights und Alarme

get_metrics · list_alert_subscriptions · get_alert_subscription · get_alerts_by_feature · list_alert_notifications · subscribe_alert

Datenhygiene

list_dataset_expirations · get_dataset_expiration · create_dataset_expiration · cancel_dataset_expiration · list_record_delete_orders · get_record_delete_order · create_record_delete_order · get_hygiene_quota

Datenvorbereitung (Mapping)

list_mapping_sets · get_mapping_set · create_mapping_set · preview_mapping_set · list_mappings · get_mapping · validate_mapping_expression · list_data_prep_functions

Berechnete Attribute

list_computed_attributes · get_computed_attribute · create_computed_attribute · update_computed_attribute

Zugriffskontrolle (ABAC)

list_roles · get_role · list_role_subjects · list_role_policies · list_policies · get_policy · get_effective_policies · list_available_permissions · list_users · get_user_roles

Customer Journey Analytics (CJA)

CJA-Tools verwenden eine Datenansichts-ID anstelle einer Sandbox.

cja_list_connections · cja_get_connection · cja_list_data_views · cja_get_data_view · cja_list_dimensions · cja_list_metrics · cja_list_projects · cja_get_project · cja_create_project · cja_update_project · cja_delete_project · cja_list_filters · cja_get_filter · cja_create_filter · cja_update_filter · cja_delete_filter · cja_list_calculated_metrics · cja_get_calculated_metric · cja_create_calculated_metric · cja_update_calculated_metric · cja_delete_calculated_metric · cja_list_annotations · cja_create_annotation · cja_delete_annotation · cja_run_report

Organisations- und Multi-Org-Verwaltung

list_org_profiles · get_current_org · switch_org_profile · switch_sandbox


Server 2 – RT-CDP-Proxy (rtcdp_proxy.py)

Ein leichtgewichtiger stdio→HTTPS-Proxy, der Tool-Aufrufe an Adobes offiziellen Real-Time CDP MCP-Server unter rtcdp-mcp.adobe.io weiterleitet. Authentifizierungsheader stammen aus dem aktiven orgs.json-Profil, sodass switch_org_profile über beide Server hinweg funktioniert.

Konfigurieren Sie die Upstream-URL über .env (optional – standardmäßig wird Adobes Endpunkt verwendet):

RTCDP_MCP_URL=https://rtcdp-mcp.adobe.io/mcp

Hinweis: Adobes RT-CDP MCP-Server ist eine gesperrte Funktion. Wenden Sie sich an Ihren Adobe-Vertreter, um Zugang zu erhalten.

Tools (von Adobe weitergeleitet)

search_audiences · preview_audience_membership · inspect_audience_evaluation_jobs · inspect_audience_export_jobs · search_destination_connectors · search_destination_accounts · search_destination_flows · search_destination_input_connections · search_destination_output_connections · search_source_connectors · search_source_accounts · search_source_flows · search_source_input_connections · search_source_output_connections · search_identity_namespaces · search_merge_policies · search_organizations · inspect_flow_runs


Projektstruktur

server.py                  # AEP FastMCP entrypoint
rtcdp_proxy.py             # RT-CDP stdio→HTTPS proxy
auth.py                    # Auth + HTTP helpers; multi-org profile state
orgs.json                  # Your credentials — GITIGNORED, never commit
orgs.example.json          # Template for orgs.json
.env / .env.example        # Fallback single-org config
requirements.txt
hooks/pre-commit           # Blocks credential commits
scripts/install_hooks.py   # Installs the pre-commit hook
tools/
  datasets.py              # Catalog Service: datasets, batches, sandboxes
  schemas.py               # Schema Registry: XDM schemas, classes, field groups
  profiles.py              # Real-Time Customer Profile, identity, merge policies
  segments.py              # Segmentation: definitions, jobs, streaming
  query.py                 # Query Service: ad-hoc SQL, templates, scheduled
  ajo.py                   # AJO: journeys, campaigns, offers, eligibility rules
  cja.py                   # Customer Journey Analytics
  flows.py                 # Flow Service: connections, dataflows, flow runs
  observability.py         # Observability Insights: metrics, alerts
  data_hygiene.py          # Data Hygiene: dataset TTL, record deletes
  data_prep.py             # Data Prep: mapping sets, expression validation
  computed_attributes.py   # Computed Attributes
  access_control.py        # ABAC: roles, permissions, effective policies
  orgs.py                  # Multi-org: list/switch profiles and sandboxes
  usage_logger.py          # @track decorator — logs tool calls to CSV

Hinzufügen eines neuen Tool-Moduls

  1. Erstellen Sie tools/new_domain.py mit einer register(mcp)-Funktion

  2. Fügen Sie es zu server.py hinzu: Importieren Sie es und rufen Sie new_domain.register(mcp) auf

  3. Befolgen Sie das Tool-Muster in CLAUDE.md

Authentifizierungsablauf

auth.py überprüft zuerst orgs.json-Profile und fällt dann auf .env-Umgebungsvariablen zurück.

  • OAuth S2S (empfohlen): Setzen Sie client_id + client_secret – Token wird vor Ablauf automatisch erneuert

  • Statischer Token (Entwicklung/Test): Setzen Sie access_token – keine automatische Erneuerung

Voraussetzungen

mcp[cli]>=1.3.0
httpx>=0.27.0
python-dotenv>=1.0.0

Related MCP Connectors

Related MCP Servers

  • F
    license
    C
    quality
    Not graded
    maintenance
    An MCP server that gives Claude access to Ogury's campaign reporting API, enabling retrieval of campaign performance metrics and reports through natural language queries.
    2
    -
  • F
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that connects Claude.ai to a Notion-based marketing knowledge base, enabling search and retrieval across specialized domains like enterprise platforms and competitive positioning. It provides tools for RAG-style Q\&A and content browsing to assist with drafting RFPs and value propositions.
    1
    -
  • A
    license
    A
    quality
    D
    maintenance
    MCP server for Adobe Customer Journey Analytics, enabling AI-powered analytics queries including reports, breakdowns, trends, and dimension searches through Claude and other MCP clients.
    16
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    MCP server that enables AI agents (Claude Code) to manage Criteo campaigns, ad sets, creatives, audiences, and reports via natural language.
    -