接続の確立
The CData Code Assist MCP for Adobe Target defines each connection to Adobe Target as a named configuration that an MCP Client (such as Claude Desktop) can use when sending natural language queries.
You create and manage these configurations using the CData Code Assist MCP Configuration Tool. The tool automatically handles formatting, storage, and registration with MCP clients.
Understanding Connection Configurations
Each connection configuration is stored in a .mcp file. This file includes the details needed to initialize the connector when an MCP Client starts a session.
- On Windows, configuration files are stored in "~/AppData/Roaming/CData/Adobe Target Data Provider/".
- On macOS, configuration files are stored in "~/Library/Application Support/CData/Adobe Target Data Provider/".
The .mcp file is a text file that contains a list of connection properties and a timestamp. For example:
#Tue May 20 15:48:40 EDT 2025 AuthScheme=Basic User=myUser Password=myPassword Security Token=myToken
The configuration tool handles these settings automatically. Each saved configuration enables an MCP client to launch a dedicated MCP server instance with the correct connector and options. Manual file editing is not required.
Adobe Target への接続
Adobe Target に接続するには、Tenant プロパティと以下に示す必要な認証パラメータを指定する必要があります。他の接続プロパティは処理の挙動に影響を与えますが、 接続機能には影響しないことに注意してください。
Tenant 名を決定するには:
- Adobe Experience にログインします。URL は次のようなものになります:"https://experience.adobe.com/#/@mycompanyname/preferences/general-section"。
- "/#/@" の後ろの値を抽出します。この例では、"mycompanyname" です。
- Tenant 接続プロパティをこの値に設定します。
Adobe Target への認証
Adobe Target はOAuth 認証標準を利用しています。OAuth(Server-to-Server)統合を使用して認証できます。
ユーザーアカウント(OAuth)
すべてのユーザーアカウントフローでAuthScheme をOAuthClient に設定する必要があります。
Note:OAuth 経由のAdobe 認証では、2週間ごとにトークンを更新する必要があります。
すべてのアプリケーション
CData は、OAuth 認証を簡略化する埋め込みOAuth アプリケーションを提供します。代わりに、カスタムOAuth アプリケーションを作成することも可能です。詳しくはカスタムOAuth アプリの作成 を参照してください。OAuth アクセストークンの取得
接続するには次のプロパティを設定します。
- InitiateOAuth:GETANDREFRESH に設定すると、OAuth 交換が自動で実行され、必要に応じてOAuthAccessToken が更新されます。
- OAuthClientId:アプリの登録時に割り当てられたクライアントId に設定。
- OAuthClientSecret:アプリの登録時に割り当てられたクライアントシークレットに設定。
- CallbackURL:アプリの登録時に定義されたリダイレクトURI に設定。例: https://localhost:3333
以上の設定により、プロバイダーはAdobe Target からアクセストークンを取得し、それを使ってデータをリクエストします。 OAuth 値はOAuthSettingsLocation で指定された場所に保存され、接続間で永続化されるようにします。