AEP MCP Server

AEP MCP Server

Two MCP servers that give Claude and any MCP-compatible client natural-language access to Adobe Experience Platform, Adobe Journey Optimizer, and Real-Time CDP.

Category
访问服务器

README

AEP MCP Server

Two MCP servers that give Claude (and any MCP-compatible client) natural-language access to Adobe Experience Platform, Adobe Journey Optimizer, and Real-Time CDP.

Server File Tools Description
AEP (custom-built) server.py 115+ Full AEP/AJO API coverage built with FastMCP
RT-CDP (Adobe official proxy) rtcdp_proxy.py 18 Proxies Adobe's official rtcdp-mcp.adobe.io server

Quick Start

1. Install dependencies

pip install -r requirements.txt

2. Configure credentials

Copy the example and fill in your credentials from Adobe Developer Console → Project → OAuth Server-to-Server:

cp orgs.example.json orgs.json
# edit orgs.json with your client_id, client_secret, org_id, sandbox

Or use environment variables (single-org fallback):

cp .env.example .env
# edit .env

3. Register with Claude Code

Copy .mcp.json.example to .mcp.json and update the paths:

cp .mcp.json.example .mcp.json
# edit .mcp.json — update /path/to/aep-mcp-server to your actual path

Or add manually to .claude/mcp_servers.json:

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

4. Install the pre-commit hook (recommended)

Blocks accidental credential commits:

python scripts/install_hooks.py

5. Run

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

Multi-Org Configuration

orgs.json supports multiple named profiles — useful when working across different Adobe orgs or sandboxes:

{
  "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"
    }
  }
}

Switch orgs at runtime with the switch_org_profile tool or by setting AEP_PROFILE at startup. Token caches are maintained per profile.


Server 1 — AEP MCP (server.py)

Built with FastMCP. All tools accept an optional sandbox parameter; if omitted, the active profile's default sandbox is used.

Datasets & 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

Real-Time Customer Profile & Identity

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

Segmentation / Audiences

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

Query Service

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 & Campaigns

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 (Sources & Destinations)

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 & Alerts

get_metrics · list_alert_subscriptions · get_alert_subscription · get_alerts_by_feature · list_alert_notifications · subscribe_alert

Data Hygiene

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

Data Prep (Mapping)

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

Computed Attributes

list_computed_attributes · get_computed_attribute · create_computed_attribute · update_computed_attribute

Access Control (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 use a Data View ID instead of a 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

Org & Multi-Org Management

list_org_profiles · get_current_org · switch_org_profile · switch_sandbox


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

A lightweight stdio→HTTPS proxy that forwards tool calls to Adobe's official Real-Time CDP MCP server at rtcdp-mcp.adobe.io. Auth headers are sourced from the active orgs.json profile, so switch_org_profile works across both servers.

Configure the upstream URL via .env (optional — defaults to Adobe's endpoint):

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

Note: Adobe's RT-CDP MCP server is a gated feature. Contact your Adobe representative for access.

Tools (proxied from Adobe)

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


Project Layout

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

Adding a New Tool Module

  1. Create tools/new_domain.py with a register(mcp) function
  2. Add to server.py: import it and call new_domain.register(mcp)
  3. Follow the tool pattern in CLAUDE.md

Auth Flow

auth.py checks orgs.json profiles first, then falls back to .env environment variables.

  • OAuth S2S (recommended): set client_id + client_secret — token auto-refreshes before expiry
  • Static token (dev/testing): set access_token — no auto-refresh

Requirements

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

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选