インストール不要。2分以内に動きます。
cloud.anythingmcp.com で無料トライアルを開始し、Customer.io をワンクリックで追加して、AI クライアント(Claude、ChatGPT、Copilot、Cursor)を生成された MCP エンドポイントに向けるだけ。Docker も git clone も、開発経験も不要です。
概要
AI から Customer.io を操作できます。顧客の属性、セグメント、アクティビティ、メッセージの確認、オートメーション、ブロードキャスト、単発配信とその指標の分析に加え、あなたの確認後にトランザクションメールの送信やブロードキャストの実行もできます。
こう聞いてみよう
Customer.io のサンプルプロンプト
プロンプトをクリックでコピー。Claude / ChatGPT / Cursor / Gemini / Copilot / OpenClaw に貼り付けて、このコネクターで実行できます。
Claude は AI のため誤ることがあります。回答をご確認ください。
💡 インストール不要? cloud.anythingmcp.com を直接利用してください。 サインインし、Connectors → Customer.io をクリック、認証情報を貼り付け、MCP API キーを発行すれば完了です。Docker も
git cloneもローカルサーバーも不要。
Customer.io + ChatGPT
AI から Customer.io を操作できます。顧客の属性、セグメント、アクティビティ、メッセージの確認、オートメーション、ブロードキャスト、単発配信とその指標の分析に加え、あなたの確認後にトランザクションメールの送信やブロードキャストの実行もできます。
前提条件
完全なセットアップ手順はコネクタ自体に組み込まれています (ストアでコネクタを選択すると表示)。必要な環境変数:
CUSTOMERIO_API_URL, CUSTOMERIO_APP_API_KEY
ステップ 1 — 認証情報を取得
設定は 3 分ほどで終わります。App API キーを作成できる Customer.io ユーザーと、アカウントが米国と EU のどちらでホストされているかの情報が必要です。
- Customer.io で Settings → Account Settings → API Credentials → App API Keys(fly.customer.io/settings/api_credentials)を開き、Create App API Key をクリックします。ワークスペースとキーの権限を選びます。フルアクセスか、AI に読み取りと送信だけを許すなら読み取り専用と送信の組み合わせです。
- キーはすぐにコピーしてください。Customer.io は一度しか表示しません。表示されたまま、Bearer を付けずに
CUSTOMERIO_APP_API_KEYに貼り付けます。これは App API キーで、Track API キーではありません。 CUSTOMERIO_API_URLにアカウントのデータセンターを設定します。米国のアカウントはhttps://api.customer.io、EU のアカウントはhttps://api-eu.customer.ioで、/v1などのパスは付けません。リージョンはアカウント作成時に決まります。- コネクタをインストールし、まず
customer_io_list_workspacesを実行します。キーを確認し、ワークスペースの顧客数とメッセージ数を表示します。
ワークスペース全体で 1 つのキー: App API キーは個人ではなくワークスペースとして動作します。このコネクタを使う人は、キーが読めるすべての顧客、セグメント、メッセージを見られます。MCP サーバーは、それを見てよい人とだけ共有してください。
対応範囲: 顧客(メールアドレスで検索、またはセグメントの所属や属性値で検索)、その属性、セグメント、直近 30 日のアクティビティ、送信済みメッセージ。セグメントの条件、現在の人数、メンバー。オートメーション(Customer.io の API では campaigns と呼ばれます)とメッセージ指標。API で実行するブロードキャストと単発配信(API では newsletters)とその指標。ワークスペース全体の配信とアクティビティ。トランザクションメッセージのテンプレート。
送信はあなたの承認後: 送信するツールは 2 つだけで、他はすべて読み取り専用です。
customer_io_send_transactional_emailは実際のメール(領収書、パスワードリセット、通知)を to、cc、bcc 合わせて最大 15 件のアドレスに送ります。トランザクションテンプレートを使うか、件名と本文を自分で指定します。AI は先に宛先、件名、内容を見せます。customer_io_trigger_broadcastは多くの人に一度に送信します。AI はまずブロードキャスト、配信対象の人数(customer_io_get_segment_customer_count)、データを示し、「yes, send」とはっきり答えた後にだけ実行します。その後customer_io_get_broadcast_triggerで進行状況を追います。
Track API は含まれません: 顧客の識別、イベントの記録、顧客の削除は Customer.io の Track API で行い、別の認証情報(Site ID と Track API キー)を使います。このコネクタは Track API を使わないため、プロフィールの変更や削除はできません。
制限: App API は 1 秒あたり約 10 リクエストまでです。トランザクション送信は 3 秒あたり 3,000 リクエストの目安の上限を共有し、ブロードキャストの実行は 10 秒に 1 回までです。長いリストはページ単位で返り、AI は最後のページまで読み進めます。タイムスタンプは Unix 秒です。
よくあるエラー: 401 は App API キーが間違っているか削除された、またはアカウントが別のリージョンにあることを示します。CUSTOMERIO_API_URL を確認してください。403: キーの権限にこの操作が含まれていません(例: 読み取り専用キーで送信しようとした)。404: その ID はこのワークスペースにありません。400 または 422: パラメータか検索フィルターが無効です。エラーに該当箇所が示されます。429: レート制限に達しました。少し待って再試行してください。
このコネクタは Track API や Pipelines API を使わず、エクスポートやインポート、collections、snippets、レポート用 Webhook、ESP の抑制リストを扱わず、オートメーションやブロードキャストの内容も変更しません。
ステップ 2 — アダプターをインストール
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
ステップ 3 — ChatGPT にコネクタを追加
サーバーURL: AnythingMCP で MCP Servers を開き、このコネクタがあるサーバーを選んで URL(
https://cloud.anythingmcp.com/mcp/…)をコピーします。このガイドでYOUR_SERVER_IDと表示されている箇所に使ってください。
ChatGPT では、Web 版の Plugins ページから MCP サーバーをプラグインとして追加します。有料プランで利用でき、開発者モードはもう必要ありません。Business ワークスペースで追加できるのは管理者とオーナーだけです。Enterprise・Edu では、管理者が Create plugins with MCPs 権限を付与できます。
- chatgpt.com/plugins を開き、+ をクリックして Add custom MCP server を選びます。
- 名前を入力します(例: Name:
Customer.io)。 - Connection の Server URL に
https://cloud.anythingmcp.com/mcp/YOUR_SERVER_IDを入力し、Authentication は OAuth のままにします。 - I understand and want to continue を選び、Create as a plugin をクリックします。ChatGPT に求められたら AnythingMCP にサインインし、アクセスを許可します。
- 個人用プラグインから新しいプラグインをインストールし、チャットで @ を入力して選択します。
利用可能なツール
| Tool | What it does |
|---|---|
customer_io_list_workspaces | List the workspaces of the Customer.io account with their id, name and counts of people, objects and messages sent in the billing period… |
customer_io_find_customers_by_email | Find the people in the workspace with an email address: returns their id, email and cio_id |
customer_io_search_customers | Search people in the workspace with a filter on segment membership and attribute values, up to 1000 per page; returns their identifiers… |
customer_io_get_customer_attributes | Get a person's profile: all attributes (stored as strings), identifiers, subscription preferences, timestamps and devices |
customer_io_get_customer_segments | List the segments a person currently belongs to (id, name, description) |
customer_io_list_customer_activities | List what happened to a person in the last 30 days or more: events, attribute changes, messages attempted, sent, opened, clicked, bounced… |
customer_io_list_customer_messages | List the deliveries sent to a person (newest six months unless start_ts and end_ts are given): message id, automation, broadcast or… |
customer_io_list_campaigns | List the automations (campaigns) of the workspace: id, name, type of trigger, state, active flag, created and updated times, trigger and… |
customer_io_get_campaign | Get one automation (campaign) with its trigger, segments, state, tags and actions (messages, delays, branches) |
customer_io_get_campaign_metrics | Get an automation's message metrics over a window: series of attempted, sent, delivered, opened, clicked, converted, bounced, spammed… |
customer_io_list_broadcasts | List the API-triggered broadcasts of the workspace: id, name, active flag, created and updated times, tags and actions |
customer_io_get_broadcast | Get one API-triggered broadcast: name, state, active flag, created, updated and first started times, tags and actions |
customer_io_get_broadcast_metrics | Get a broadcast's message metrics per period: series of attempted, sent, delivered, opened, clicked, converted, bounced, unsubscribed… |
customer_io_get_broadcast_trigger | Get the status of one broadcast trigger (as returned by customer_io_trigger_broadcast): created, processed and cancelled times, schedule… |
customer_io_list_newsletters | List the one-time sends (newsletters) of the workspace: id, name, type, sent and created times, recipient segments, tags and variant… |
customer_io_get_newsletter_metrics | Get a one-time send's message metrics per period: series of attempted, sent, delivered, opened, clicked, converted, bounced, unsubscribed… |
customer_io_list_segments | List the segments of the workspace (not archived ones): id, name, description, type (data-driven or manual), state, progress and tags |
customer_io_get_segment | Get one segment with its conditions (for data-driven segments), type, state and tags |
customer_io_get_segment_customer_count | Count the people currently in a segment, for example to size a broadcast audience before sending |
customer_io_list_segment_members | List the people in a segment, page by page: their identifiers (id, email, cio_id) |
customer_io_list_messages | List deliveries across the workspace, newest first, filtered by message type, metric (sent, delivered, opened, clicked, bounced… |
customer_io_get_message | Get one delivery by id: recipient, parent automation, broadcast, one-time send or transactional message, subject, template, created, sent… |
customer_io_list_activities | List activities across the workspace, newest first: events, attribute changes and message activity, optionally for one person, one type or… |
customer_io_list_transactional_messages | List the transactional message templates of the workspace (id, name, description, link tracking, body retention) |
customer_io_send_transactional_email | Send one transactional email (receipts, password resets, notifications) to up to 15 addresses in to, cc and bcc, from a transactional… |
customer_io_trigger_broadcast | Trigger an API-triggered broadcast: send it to its default audience set in Customer.io, or to listed emails or ids, per-person data, or… |
プロンプトの例
- 「Customer.io で [email protected] を探して、属性、所属セグメント、最近送ったメールを見せて。」
- 「Onboarding オートメーションの直近 30 日の成果は?送信、配信、開封、クリック、配信停止の数を教えて。」
- 「Trial ending セグメントには今何人いる?そのうち pro プランの人は誰?」
- 「Product update ブロードキャストを実行して。ただし送信前に、誰に届くのか、何人なのかを見せて。」
FAQ
ChatGPT の無料プランでカスタム MCP サーバーは使えますか? OpenAI がカスタム MCP サーバーを案内しているのは有料プランだけで、Free プランは対象に含まれていません。
次のステップ
このガイドは役に立ちましたか?