概要
AI から GoAffPro のアフィリエイトプログラムを運用できます。アフィリエイトとそのコードの検索、アフィリエイト経由の注文・報酬・トラフィック、未払い額と支払済み額の確認に加え、確認のうえでアフィリエイトやコミッションの承認、報酬の付与、支払いの記録ができます。
ガイド付きセットアップ
GoAffPro を Microsoft Copilot に 2 分で接続
AnythingMCP Cloud の無料トライアルを始め、ガイド付きセットアップで GoAffPro を接続して、MCP URL を Microsoft Copilot に追加します。コードもサーバーの運用も不要です。
クレジットカード不要 · 7日間の試用 · セルフホストの選択肢あり
こう聞いてみよう
GoAffPro のサンプルプロンプト
プロンプトをクリックでコピー。Claude / ChatGPT / Cursor / Gemini / Copilot / OpenClaw に貼り付けて、このコネクターで実行できます。
Claude は AI のため誤ることがあります。回答をご確認ください。
💡 インストール不要? cloud.anythingmcp.com を直接利用してください。 サインインし、Connectors → GoAffPro をクリック、認証情報を貼り付け、MCP API キーを発行すれば完了です。Docker も
git cloneもローカルサーバーも不要。
GoAffPro + Microsoft Copilot
AI から GoAffPro のアフィリエイトプログラムを運用できます。アフィリエイトとそのコードの検索、アフィリエイト経由の注文・報酬・トラフィック、未払い額と支払済み額の確認に加え、確認のうえでアフィリエイトやコミッションの承認、報酬の付与、支払いの記録ができます。
前提条件
完全なセットアップ手順はコネクタ自体に組み込まれています (ストアでコネクタを選択すると表示)。必要な環境変数:
GOAFFPRO_ACCESS_TOKEN
ステップ 1 — 認証情報を取得
設定は約 2 分です。ストアの GoAffPro アフィリエイトアプリへの管理者アクセスが必要です。
- Shopify、WooCommerce などのストアのアプリから、または
https://app.goaffpro.comで、ストアの GoAffPro 管理画面にサインインします。 - Settings → Advanced → API Keys を開き、アクセストークンを生成します。
GOAFFPRO_ACCESS_TOKENに貼り付けて、コネクターをインストールします。トークンは GoAffPro にのみ送信されます。
対応範囲: 紹介コード、クーポン、コミッション体系を含むアフィリエイト、アフィリエイトグループ(ランク)、コミッションと承認ステータス付きのアフィリエイト経由の注文、登録・紹介・目標達成ボーナスなどの報酬、すべての入金と出金の台帳、各アフィリエイトへの現在の未払い額、支払済みの支払いとアフィリエイトからの支払いリクエスト、そしてアフィリエイトがストアに送ったトラフィック。
まず確認: 書き込みは、アフィリエイトの収入と表示内容を変えます。AI は対象のアフィリエイトと金額やステータスを示し、あなたの承認を待ちます。アフィリエイトの作成、承認・却下、コミッション率・クーポン・紹介コードの変更、クーポンの割り当て、トラッキング漏れの注文の計上、コミッションの承認・却下、報酬の付与、支払いの記録、支払いリクエストの更新ができます。goaffpro_record_payout は、銀行振込や PayPal などほかの方法で行った支払いを記録するだけで、送金は一切行いません。goaffpro_delete_affiliate と goaffpro_delete_order はインストール時はオフです。アフィリエイトや注文を却下すれば履歴は残ります。
フィールド: ほとんどの一覧は、指定したフィールドだけを返します。コネクターは便利な標準セットを要求し、質問に必要なときは AI が追加で要求します。
プライバシー: アフィリエイト、注文、トラフィックには名前、メールアドレス、支払い情報、訪問者の IP が含まれます。AI は質問に必要なフィールドだけを要求します。
よくあるエラー: 403 x-goaffpro-access-token missing from the headers: トークンが間違っている場合や削除された場合も GoAffPro はこう返します。Settings → Advanced → API Keys で新しいトークンを生成してください。400 または error テキスト: 必須パラメーターが不足しているか、値が無効です。
このコネクターは、マルチレベル構造でのアフィリエイトの移動、グループ・特別コミッション率・クリエイティブ・ストア設定の編集、Webhook の管理、アフィリエイト側のエンドポイントの利用には対応していません。
ステップ 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 — Microsoft Copilot にコネクタを追加
サーバーURL: AnythingMCP で MCP Servers を開き、このコネクタがあるサーバーを選んで URL(
https://cloud.anythingmcp.com/mcp/…)をコピーします。このガイドでYOUR_SERVER_IDと表示されている箇所に使ってください。
Microsoft Copilot は、Copilot Studio で作成したエージェントを通じて MCP サーバーを使います。AnythingMCP をツールとしてエージェントに追加し、そのエージェントを Microsoft 365 Copilot と Teams に公開します。Copilot Studio は Microsoft のクラウドから Streamable HTTP で接続し、AnythingMCP はこれに対応しています。
- Copilot Studio でエージェントを開き(または新規作成し)、Tools で Add a tool → New tool → Model Context Protocol を選びます。
- Server name(例:
AnythingMCP)、コネクタでできることを説明する Server description、Server URLhttps://cloud.anythingmcp.com/mcp/YOUR_SERVER_IDを入力します。Copilot Studio はこの説明をもとに、いつサーバーを呼び出すかを判断します。 - 認証で API key を選び、Type を Header、ヘッダー名を
X-API-Keyにして Create を選びます。 - Add tool で Create a new connection を選び、AnythingMCP の MCP API キー(MCP Servers → 対象のサーバー → API keys)を貼り付けて Add to agent を選びます。
- エージェントの Test ウィンドウで試します。
GoAffProのツールが必要になる依頼をしてみましょう。 - Publish を選び、Channels → Microsoft 365 and Microsoft Teams で Make agent available in Microsoft Copilot を選択したまま Add channel を選びます。See agent in Teams で自分用にインストールされます。Microsoft 365 Copilot では @ を入力してエージェントを選びます。
ユーザーごとにサインインさせたい場合は、API キーの代わりに OAuth 2.0 → Dynamic discovery を選びます。各ユーザーは、エージェントが初めて呼び出すときに AnythingMCP にサインインします。
セルフホストの場合は、https://cloud.anythingmcp.com の代わりにインスタンスの公開 HTTPS アドレスを使ってください。Copilot Studio は Microsoft のクラウドから接続するため、localhost は使えません。
利用可能なツール
| Tool | What it does |
|---|---|
goaffpro_list_affiliates | List the store's affiliates with the fields you ask for (default id, name, e-mail, referral code, coupon, status, created) |
goaffpro_search_affiliates | Find affiliates by part of their name, e-mail or referral code (starts with, contains or ends with a keyword) |
goaffpro_get_affiliate_commissions | Get the commission structure that applies to one affiliate: standard rate, special product or collection rates and royalties |
goaffpro_list_affiliate_coupons | List the coupon codes assigned to one affiliate with discount type and value |
goaffpro_list_affiliate_referral_codes | List the referral codes of one affiliate (the codes in their tracking links) |
goaffpro_list_orders | List the orders credited to affiliates with total, subtotal (the commission base), commission, affiliate and approval status |
goaffpro_list_rewards | List rewards credited to affiliates outside of order commissions: sign-up, recruitment and target bonuses and upline sale commissions, with… |
goaffpro_list_payouts | List the payouts already made to affiliates (payment history) with amount, method, notes and date |
goaffpro_list_pending_payouts | Show how much is owed to each affiliate right now (approved commissions and rewards not yet paid), optionally only up to a date |
goaffpro_list_payout_requests | List the payout requests affiliates sent from their dashboard, with amount, note, invoice and status (in_progress, paid, rejected) |
goaffpro_list_transactions | List the affiliate ledger: every credit and debit from orders, rewards and payouts with amount, currency, paid flag and running balance |
goaffpro_list_traffic | List visits that affiliates sent to the store, with affiliate, referring page, landing page and time, to see which affiliates drive traffic |
goaffpro_list_coupons | List the coupon codes assigned in the affiliate app with discount type and value, affiliate and type (referral or personal) |
goaffpro_list_groups | List the affiliate groups (tiers) with their names and commission structures |
goaffpro_create_affiliate | Create an affiliate account, approved or pending, optionally with a referral code, a coupon, contact data and a parent affiliate for… |
goaffpro_update_affiliate | Change an affiliate: approve or reject (status), personal commission rate, coupon, referral code, contact data or notes |
goaffpro_delete_affiliate | Delete an affiliate account |
goaffpro_add_affiliate_coupon | Assign a coupon code to an affiliate |
goaffpro_add_order | Credit an order to an affiliate by hand, e.g. a sale the tracking missed, by affiliate id or referral code |
goaffpro_update_order | Change an affiliate order: approve or reject it, correct the commission or subtotal, or add a merchant adjustment |
goaffpro_delete_order | Delete an order and its commission from the affiliate's account |
goaffpro_give_reward | Credit a reward to an affiliate: a sign-up, recruitment or target bonus, or an upline sale commission for an order |
goaffpro_record_payout | Record that an affiliate was paid (money sent outside GoAffPro, e.g. by bank transfer or PayPal), which lowers what the store owes them |
goaffpro_update_payout_request | Set the status of an affiliate's payout request to in_progress, paid or rejected |
プロンプトの例
- 「先月、承認済みの注文売上がいちばん多かったアフィリエイト 10 人は誰ですか?」
- 「現在、各アフィリエイトにいくら支払う必要がありますか?金額順に並べてください。」
- 「今週登録してまだ承認待ちのアフィリエイトを表示して、そのあと私が選んだ人を承認してください。」
- 「[email protected] への 9 月分として、PayPal での 250 EUR の支払いを記録してください。」
- 「Marco さんが 10 月の目標を達成したので、50 EUR のボーナスを付与してください。」
FAQ
どの Copilot が対象ですか? 職場で使う Microsoft 365 Copilot で、Copilot Studio のエージェントを通じて利用します。個人アカウント向けの Microsoft Copilot アプリでは、独自の MCP サーバーを追加できません。
何が必要ですか? エージェントを作成するために、Copilot Studio を利用できる職場アカウント(ライセンスまたは試用版)が必要です。Microsoft 365 Copilot や Teams でエージェントを使う人には、エージェントへのアクセス権が必要です。共有するか、管理者に組織向けに公開してもらってください。組織が Power Platform コネクタにデータ ポリシーを適用している場合は、MCP サーバーにも適用されます。
エージェントがツールを呼び出しません。 ヘッダー名が正確に X-API-Key であること、キーが URL と同じ MCP サーバーのものであることを確認し、Server description を具体的に書いてください。Copilot Studio はこの説明をもとにサーバーを呼び出すかどうかを判断します。変更のたびにエージェントを再公開し、開いているチャットでは "start over" と入力すると新しいバージョンになります。
次のステップ
このガイドは役に立ちましたか?