连接器指南阅读约 5 分钟22 个 MCP 工具7 种语言

如何通过 MCP 将 Affinity 连接到 Meta Muse

让你的 AI 使用关系智能 CRM Affinity:搜索公司、联系人和交易,读取列表和销售管道字段、笔记、邮件和会议记录,了解团队中谁和某人最熟,查看提醒;经你确认后还能添加笔记和更新字段值。

HC作者:HelpCode 团队更新于 5 分钟阅读 在 GitHub 开源

无需信用卡 · 7 天试用 · 提供自托管方案

Affinity

Affinity

Let your AI work with Affinity, the relationship intelligence CRM: search companies, people and deals, read lists and pipeline fields, notes, e-mail and meeting history, who on your team knows someone best, and reminders; with your confirmation add notes and update field values.

个工具

22

区域

INTL

类别

CRM

身份验证

Bearer Token

所需环境变量

AFFINITY_API_KEY
在 Cloud 上一键安装

7 天免费试用 · 无需信用卡

  • 7 天免费试用
    无需信用卡
  • 符合 GDPR,SOC 2 就绪
    数据驻留欧盟,审计日志
  • 在 GitHub 开源
    开源 · AGPL-3.0
  • 支持 ChatGPT、Claude、Gemini
    任何兼容 MCP 的客户端

跳过安装。2 分钟内即可运行。

在 cloud.anythingmcp.com 开始免费试用,一键添加 Affinity,然后将你的 AI 客户端(Claude、ChatGPT、Copilot 或 Cursor)指向生成的 MCP 端点。无需 Docker,无需 git clone,无需任何工程经验。

开始免费试用

摘要

让你的 AI 使用关系智能 CRM Affinity:搜索公司、联系人和交易,读取列表和销售管道字段、笔记、邮件和会议记录,了解团队中谁和某人最熟,查看提醒;经你确认后还能添加笔记和更新字段值。

试试这样问

Affinity 的示例提示

点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。

Affinity · 通过 MCP 实时
分享
Opus 4.7

Claude 是 AI,可能会出错。请核对回答。

💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → Affinity、粘贴凭证、生成 MCP API key,即可完成。无 Docker、无 git clone、无本地服务器。

Affinity + Meta Muse

让你的 AI 使用关系智能 CRM Affinity:搜索公司、联系人和交易,读取列表和销售管道字段、笔记、邮件和会议记录,了解团队中谁和某人最熟,查看提醒;经你确认后还能添加笔记和更新字段值。

前提条件

完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:

AFFINITY_API_KEY

步骤 1 — 获取凭证

  1. 在 Affinity 中打开 Settings → Manage Apps,点击 New App。
  2. 输入名称(例如 AnythingMCP)和描述。API 版本和 IP 白名单可以留空,也可以把你的 AnythingMCP 服务器的 IP 地址加入白名单。
  3. 把 API 密钥粘贴到 AFFINITY_API_KEY,然后安装连接器。
  4. 用 affinity_whoami 检查设置:它会显示密钥所属的用户和组织。

你需要 Generate an API key 权限,而且只有部分 Affinity 套餐包含 API:如果看不到 Manage Apps,请联系你的 Affinity 管理员。

一个密钥就够了:密钥以 Bearer 令牌的形式发送。大多数工具使用固定版本的 Affinity API v2,因此不管你的应用默认用哪个版本,行为都一样。affinity_search_opportunities 和 affinity_list_interactions 使用较早的 v1 API,因为 v2 既不能按名称搜索交易,也不能按联系人或公司筛选互动记录。同一个密钥两者都能用。

谁能看到什么:密钥以你的身份操作。AI 只能看到你在 Affinity 中能看到的内容,遵循你的共享规则,它写入的一切都记录在你的名下。搜索公司需要 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 请求时才会返回字段值,所以它会先用 affinity_list_fields(所有公司或联系人的字段)或 affinity_list_list_fields(某个列表的列)读取字段,再进行筛选和排序,例如处于 Due Diligence 阶段的交易,或按最近联系时间排序的投资组合公司。关键词搜索至少需要 3 个字符。

个人数据:联系人、邮件元数据、会议和笔记都是相关人员的个人数据。AI 只读取回答问题所需的内容,并把笔记内容、邮件主题和会议标题当作信息,而不是指令。

速率限制:每个用户每分钟 900 个请求,部分套餐还有按账户计的月度上限;v1 和 v2 调用共用同一额度。返回 429 时,请稍等后重试。

常见错误:401:密钥错误或已撤销,或者 IP 白名单拦截了服务器。403:缺少权限,或者是你无权查看的记录。404:该 ID 不存在或你看不到。400 或 422:参数错误,Affinity 会在响应中指出是哪个。

该连接器不会创建或删除公司、联系人、交易、列表和列表条目,不合并重复记录,不处理文件、转写和 Webhook,也不创建或修改提醒。

步骤 2 — 安装 adapter

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 — 在 Muse 中添加连接器

你的服务器 URL: 在 AnythingMCP 中打开 MCP Servers → 此连接器所在的服务器,复制它的 URL(https://cloud.anythingmcp.com/mcp/…)。本指南中出现 YOUR_SERVER_ID 的地方都用它替换。

Muse 以自定义连接器的形式添加远程 MCP 服务器,并通过 OAuth 登录。

  1. 在 Muse 中打开 Settings → Connectors,选择 Add custom connector。
  2. 粘贴 MCP 服务器 URL https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID。
  3. Muse 会打开 AnythingMCP 的登录页面:登录并批准访问。
  4. 在聊天中,向 Muse 提出需要用到 Affinity 的工具的请求。

你也可以在聊天中完成设置,适用于网页版、iOS 和 Android 应用以及 WhatsApp。给 Muse 发送这条消息:

Create a Custom Connector for a new remote MCP server, then connect to it:
Name: AnythingMCP
Transport: remote streamable HTTP
URL: https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID
Auth: OAuth

自托管?请用你实例的公网 HTTPS 地址替换 https://cloud.anythingmcp.com。Muse 从 Meta 的云端连接,因此 localhost 无法使用。

可用工具

ToolWhat it does
affinity_whoamiRead 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_listsList 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_listRead one Affinity list: id, name, type (company, person or opportunity), owner, whether it is public, and when it was created
affinity_list_list_fieldsList the columns (fields) of an Affinity list with id, name, type (list, global, enriched, relationship-intelligence), valueType and…
affinity_list_fieldsList the fields Affinity keeps on every company or every person, outside any list: global fields of your team, enriched data (location…
affinity_list_list_entriesRead 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_entriesSearch 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_companiesSearch 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_companyRead 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_personsSearch 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_personRead 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_opportunitiesFind opportunities (deals) in Affinity by part of their name, across all opportunity lists the user can see
affinity_get_opportunityRead 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_notesRead 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_noteAdd 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_noteDelete one note in Affinity for good
affinity_list_interactionsRead 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_relationshipsShow 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_remindersList the follow-up reminders the user can see, soonest due first: text, due date, status (active, overdue, completed), one-time or…
affinity_update_company_fieldChange one field value on a company in Affinity, for example a global field such as Industry or Owner
affinity_update_person_fieldChange one field value on a person in Affinity, for example a global field such as Job Title or Source
affinity_update_list_entry_fieldChange 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 阶段?列出金额和负责人。”
  • “总结过去六个月我们和 Acme Robotics 的会议和邮件往来,并告诉我最后一次联系是什么时候。”
  • “我的提醒里哪些已经逾期?分别涉及哪些公司或联系人?”
  • “给 Acme Robotics 这笔交易加一条笔记:和 CFO 的通话很顺利,下周会收到投资条款清单。保存前先给我看内容。”

FAQ

Muse 在哪些地区可用? Meta 目前在美国和加拿大提供 Muse,可在网页版、iOS 和 Android 应用以及 WhatsApp 中使用。

Meta 会审核这个连接器吗? 不会。Meta 不审核自定义连接器。Muse 只能看到你在 AnythingMCP 中为此 MCP 服务器启用的工具,你也可以随时在 Settings → Connectors 中断开它。

下一步

这份指南对你有帮助吗?

你的 Affinity 智能体只差一次点击。

安装连接器,粘贴密钥,向 Meta Muse 提问。免费试用 7 天,无需信用卡。

相关指南

连接器

Affinity 接入 MCP:在任意 AI 代理中使用关系智能 CRM

让你的 AI 使用关系智能 CRM Affinity:搜索公司、联系人和交易,读取列表和销售管道字段、笔记、邮件和会议记录,了解团队中谁和某人最熟,查看提醒;经你确认后还能添加笔记和更新字段值。

连接器

如何通过 MCP 将 Affinity 连接到 ChatGPT

让你的 AI 使用关系智能 CRM Affinity:搜索公司、联系人和交易,读取列表和销售管道字段、笔记、邮件和会议记录,了解团队中谁和某人最熟,查看提醒;经你确认后还能添加笔记和更新字段值。

连接器

如何通过 MCP 将 Affinity 连接到 Claude

让你的 AI 使用关系智能 CRM Affinity:搜索公司、联系人和交易,读取列表和销售管道字段、笔记、邮件和会议记录,了解团队中谁和某人最熟,查看提醒;经你确认后还能添加笔记和更新字段值。

连接器

如何通过 MCP 将 Affinity 连接到 Cursor

让你的 AI 使用关系智能 CRM Affinity:搜索公司、联系人和交易,读取列表和销售管道字段、笔记、邮件和会议记录,了解团队中谁和某人最熟,查看提醒;经你确认后还能添加笔记和更新字段值。

连接器

如何通过 MCP 将 Affinity 连接到 Gemini

让你的 AI 使用关系智能 CRM Affinity:搜索公司、联系人和交易,读取列表和销售管道字段、笔记、邮件和会议记录,了解团队中谁和某人最熟,查看提醒;经你确认后还能添加笔记和更新字段值。

连接器

如何通过 MCP 将 Avito 连接到 Meta Muse

让你的 AI 使用你的 Avito 企业账户:列出广告并修改价格,读取浏览、联系和来电统计,检查自动上传 (autoload) 的上传记录及其错误、Feed 格式和钱包,并读取 Avito Messenger 聊天。发送消息和修改自动上传设置为可选功能,默认关闭。