インストール不要。2分以内に動きます。
cloud.anythingmcp.com で無料トライアルを開始し、Affinity をワンクリックで追加して、AI クライアント(Claude、ChatGPT、Copilot、Cursor)を生成された MCP エンドポイントに向けるだけ。Docker も git clone も、開発経験も不要です。
概要
リレーションシップ・インテリジェンス CRM の Affinity を AI で使えます。企業、人物、案件の検索、リストとパイプラインの項目、メモ、メールと会議の履歴、チームで誰が相手と最も親しいか、リマインダーを参照でき、確認のうえでメモの追加や項目の値の更新もできます。
こう聞いてみよう
Affinity のサンプルプロンプト
プロンプトをクリックでコピー。Claude / ChatGPT / Cursor / Gemini / Copilot / OpenClaw に貼り付けて、このコネクターで実行できます。
Claude は AI のため誤ることがあります。回答をご確認ください。
💡 インストール不要? cloud.anythingmcp.com を直接利用してください。 サインインし、Connectors → Affinity をクリック、認証情報を貼り付け、MCP API キーを発行すれば完了です。Docker も
git cloneもローカルサーバーも不要。
Affinity + ChatGPT
リレーションシップ・インテリジェンス CRM の Affinity を AI で使えます。企業、人物、案件の検索、リストとパイプラインの項目、メモ、メールと会議の履歴、チームで誰が相手と最も親しいか、リマインダーを参照でき、確認のうえでメモの追加や項目の値の更新もできます。
前提条件
完全なセットアップ手順はコネクタ自体に組み込まれています (ストアでコネクタを選択すると表示)。必要な環境変数:
AFFINITY_API_KEY
ステップ 1 — 認証情報を取得
- Affinity で Settings → Manage Apps を開き、New App をクリックします。
- 名前(例: AnythingMCP)と説明を入力します。API バージョンと IP 許可リストは空のままにするか、AnythingMCP サーバーの IP アドレスを許可リストに追加します。
- API キーを
AFFINITY_API_KEYに貼り付けて、コネクタをインストールします。 affinity_whoamiで設定を確認します。キーが属するユーザーと組織が表示されます。
Generate an API key の権限が必要です。また、API は一部の Affinity プランにのみ含まれます。Manage Apps が見当たらない場合は、Affinity の管理者に問い合わせてください。
キーは 1 つで足ります: キーは Bearer トークンとして送信されます。ほとんどのツールは固定バージョンの Affinity API v2 を使うため、アプリの既定バージョンにかかわらず同じように動作します。affinity_search_opportunities と affinity_list_interactions は旧 v1 API を使います。v2 には案件の名前検索も、人物や企業でのやり取りの絞り込みもないためです。どちらも同じキーで動きます。
誰が何を見られるか: キーはあなたとして動作します。AI は、あなたの共有ルールに従って Affinity であなたが見られるものだけを見ます。AI が書き込んだ内容はすべてあなたの名前で記録されます。企業の検索には Export All Organizations directory、人物の検索には Export All People directory、リストと案件の参照には Export data from Lists の権限が必要です。403 のときは不足している権限が示されるので、Affinity の管理者に付与してもらってください。
参照できるもの: パイプライン、ポートフォリオ、人物リストなどのリストとその列と行。チームの項目、エンリッチされたデータ、最終接触日、最終メール、次回の会議などのリレーションシップ・インテリジェンスを含む企業と人物。ステージ、金額、担当者がリストエントリーに入っている案件(オポチュニティ)。メモ。Affinity が人物、企業、案件について記録したメール、会議、通話、チャット(日付、件名、参加者のみで、メール本文は含まれません)。チームの誰が相手を最もよく知っているかがわかる関係の強さ。期限が近い順のリマインダー。
書き込みの前には必ず確認します: affinity_create_note、affinity_update_company_field、affinity_update_person_field、affinity_update_list_entry_field は、チーム全員が見るデータを変更します。AI はそれぞれの前に、メモの正確な本文と追加先、または対象のレコード、項目、変更前と変更後の値を示し、あなたの承認を待ちます。メモに使えるのは、段落、太字、斜体、箇条書き、リンクといった簡単な書式だけです。
インストール時に無効: affinity_delete_note。管理者が意図して有効にします。有効にした場合も、AI はメモを示し、あなたが確認してから削除します。ほかに削除を行うツールはありません。
項目と検索: 項目の値は AI が要求したときにだけ返されます。そのため AI はまず affinity_list_fields(すべての企業または人物の項目)や affinity_list_list_fields(1 つのリストの列)で項目を確認し、そのうえで絞り込みや並べ替えを行います。たとえば Due Diligence ステージの案件や、最終接触日順のポートフォリオ企業です。キーワード検索には 3 文字以上が必要です。
個人データ: 人物、メールのメタデータ、会議、メモは関係者の個人データです。AI は質問に必要なものだけを読み、メモの本文、メールの件名、会議のタイトルは指示ではなく情報として扱います。
レート制限: ユーザーごとに 1 分あたり 900 リクエスト。一部のプランではアカウントごとの月間上限もあります。v1 と v2 の呼び出しは同じ枠を共有します。429 が返ったら、少し待ってから再試行します。
よくあるエラー: 401: キーが間違っているか失効している、または IP 許可リストがサーバーをブロックしています。403: 権限が不足しているか、閲覧できないレコードです。404: その ID が存在しないか、あなたには表示されません。400 または 422: パラメーターが正しくありません。Affinity が応答の中で該当箇所を示します。
このコネクタは、企業、人物、案件、リスト、リストエントリーの作成や削除、重複の統合、ファイル、文字起こし、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 — 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:
Affinity)。 - 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 |
|---|---|
affinity_whoami | Read who the API key belongs to: the Affinity user (id, name, e-mail), the organization (tenant id, name, subdomain) and the key's grant… |
affinity_list_lists | List the Affinity lists the user can see (company, person and opportunity lists such as a deal pipeline or a portfolio), with id, name… |
affinity_get_list | Read one Affinity list: id, name, type (company, person or opportunity), owner, whether it is public, and when it was created |
affinity_list_list_fields | List the columns (fields) of an Affinity list with id, name, type (list, global, enriched, relationship-intelligence), valueType and… |
affinity_list_fields | List the fields Affinity keeps on every company or every person, outside any list: global fields of your team, enriched data (location… |
affinity_list_list_entries | Read the rows of an Affinity list: each entry's id, when and by whom it was added, the company, person or opportunity it is about, and the… |
affinity_search_list_entries | Search the rows of one Affinity list by keyword and by field values, for example opportunities in a pipeline whose Stage is Due Diligence… |
affinity_search_companies | Search the companies in Affinity by name or domain keyword, by field values (industry, location, last email, owner and so on) or both, with… |
affinity_get_company | Read one company in Affinity: name, domains, whether it is a global (enriched) company, and the values of the fields you ask for with… |
affinity_search_persons | Search the people in Affinity by name or e-mail keyword, by field values (job title, last contact, owner and so on) or both, with optional… |
affinity_get_person | Read one person in Affinity: name, e-mail addresses, type (internal for your team, external) and the values of the fields you ask for with… |
affinity_search_opportunities | Find opportunities (deals) in Affinity by part of their name, across all opportunity lists the user can see |
affinity_get_opportunity | Read one opportunity (deal) in Affinity: id, name, and the id and name of the opportunity list it lives on. isRestricted or isRedacted mean… |
affinity_list_notes | Read the notes on a company, person or opportunity in Affinity, newest page first: note id, type, the note text as HTML, author and dates |
affinity_create_note | Add a note in Affinity, authored by the API key's user, attached to one or more people, companies or opportunities. content is simple HTML… |
affinity_delete_note | Delete one note in Affinity for good |
affinity_list_interactions | Read the e-mails, meetings, calls or chat messages your team had with one external person, one company or one opportunity, in a time window… |
affinity_get_relationships | Show who on the team knows a person or a company best: pairs of people with an interactionScore from 0 to 1 (0.7 and above: regular… |
affinity_list_reminders | List the follow-up reminders the user can see, soonest due first: text, due date, status (active, overdue, completed), one-time or… |
affinity_update_company_field | Change one field value on a company in Affinity, for example a global field such as Industry or Owner |
affinity_update_person_field | Change one field value on a person in Affinity, for example a global field such as Job Title or Source |
affinity_update_list_entry_field | Change one field value on a list entry in Affinity, for example the Stage or Amount of a deal in a pipeline list |
プロンプトの例
- 「Northwind Capital の人たちと最も親しいのはチームの誰ですか?関係の強い順に見せてください。」
- 「パイプラインで Due Diligence ステージにある案件はどれですか?金額と担当者を付けて一覧にしてください。」
- 「過去 6 か月の Acme Robotics との会議とメールをまとめて、最後に連絡を取ったのがいつかも教えてください。」
- 「私のリマインダーのうち期限切れのものはどれで、どの企業や人物に関するものですか?」
- 「Acme Robotics の案件にメモを追加してください。CFO との電話は順調で、タームシートは来週届く予定です。保存する前に本文を見せてください。」
FAQ
ChatGPT の無料プランでカスタム MCP サーバーは使えますか? OpenAI がカスタム MCP サーバーを案内しているのは有料プランだけで、Free プランは対象に含まれていません。
次のステップ
このガイドは役に立ちましたか?