跳过安装。2 分钟内即可运行。
在 cloud.anythingmcp.com 开始免费试用,一键添加 Pancake,然后将你的 AI 客户端(Claude、ChatGPT、Copilot 或 Cursor)指向生成的 MCP 端点。无需 Docker,无需 git clone,无需任何工程经验。
摘要
用你的 AI 处理 Pancake 社交电商收件箱:列出并读取某个页面在 Facebook、Instagram、Zalo、WhatsApp 和 TikTok 上的会话,为会话打标签和分配负责人,标记为已读,查找客户,添加备注,列出帖子和员工,并查看页面、员工和标签统计。回复功能在安装时处于关闭状态。
试试这样问
Pancake 的示例提示
点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。
Claude 是 AI,可能会出错。请核对回答。
💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → Pancake、粘贴凭证、生成 MCP API key,即可完成。无 Docker、无
git clone、无本地服务器。
Pancake + Gemini
用你的 AI 处理 Pancake 社交电商收件箱:列出并读取某个页面在 Facebook、Instagram、Zalo、WhatsApp 和 TikTok 上的会话,为会话打标签和分配负责人,标记为已读,查找客户,添加备注,列出帖子和员工,并查看页面、员工和标签统计。回复功能在安装时处于关闭状态。
前提条件
完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:
PANCAKE_PAGE_ID, PANCAKE_PAGE_ACCESS_TOKEN
步骤 1 — 获取凭证
设置大约需要 2 分钟。你需要一个能访问目标页面的 Pancake 账号:连接器使用页面 ID 和该页面的 Page Access Token。
- 登录 https://pages.fm,打开要连接的页面。
- 进入 Settings → Tools(越南语界面为 Cài đặt → Công cụ),把 Page Access Token 复制到
PANCAKE_PAGE_ACCESS_TOKEN。只粘贴令牌本身,前面不要带page_access_token=。 - 把页面 ID 填入
PANCAKE_PAGE_ID:即页面地址中 pages.fm/ 后面的部分,例如256469571178082。其他渠道的页面保留前缀,例如waba_102952029333366。 - 安装连接器并运行
pancake_list_tags:它会列出页面的标签,并确认令牌和页面 ID 是匹配的。
每个页面安装一次:Pancake 把一个页面的 Facebook、Instagram、Zalo、WhatsApp、TikTok 等渠道汇集到同一个收件箱,但在 Pancake 中连接的每个页面都有自己的 ID 和令牌。要处理多个页面,请为每个页面分别安装一次连接器。令牌在 Pancake 中被重新生成之前一直有效;它以查询参数 page_access_token 发送(这是 Pancake 唯一接受的方式),且只发往 pages.fm。
可读取的内容:页面的会话,每次 60 条,最近更新的在前:私信、帖子下的评论和直播评论,包含摘要、已读状态、客户、标签、负责员工和电话号码。此外还有单个会话的消息(每次 30 条,含附件);页面的标签;员工及其在线状态;客户的姓名、性别、生日、电话、邮箱和备注;帖子的评论数、点赞数和收集到的电话号码;以及页面(按小时)、员工和标签的统计。
始终需要时间范围:客户、帖子、页面统计和标签统计都按带起止时间的范围读取(since 和 until),部分接口一次最多只接受大约一个月。你只需说本周或九月,AI 会自动算出时间范围。员工统计使用页面所在时区的日期范围(越南的页面为 UTC+7);回答中的时间以 UTC 返回。
修改客户资料前会询问:在调用 pancake_update_customer(姓名、性别、生日或电话号码;新的号码列表会替换旧列表)之前,AI 会先展示要修改的内容,等你同意后再执行。pancake_tag_conversation、pancake_assign_conversation、pancake_mark_conversation_read、pancake_mark_conversation_unread 和 pancake_add_customer_note 只改动共享收件箱:客户看不到标签、分配、已读状态和备注,AI 会在你提出要求时使用它们。
安装时关闭:pancake_send_message、pancake_reply_comment 和 pancake_send_private_reply。它们会直接写给客户:收件箱里的消息、评论下所有看到帖子的人都能读到的公开回复,或在评论后 7 天内通过 Messenger 发给评论作者的私信。管理员需要有意识地开启它们,即便开启后,AI 也会先展示确切文本并等你同意。各渠道的规则同样适用:Facebook 和 Instagram 只允许在客户最后一条消息后的 24 小时内自由回复。
限制:Pancake 每个页面每秒最多 5 次请求。出现 429 时,放慢速度,稍等片刻再试。
常见错误:Pancake 对大多数错误返回 HTTP 200 和 success false;连接器会把它们转换为错误。Invalid access_token(错误 102)表示令牌错误、已被重新生成,或属于 PANCAKE_PAGE_ID 以外的其他页面。403 表示你在该页面的角色不允许此操作;查看统计需要有查看报表权限的角色。
该连接器不会列出你的页面或生成页面令牌,不上传媒体或发送图片,不发送 WhatsApp 模板消息,不编辑或删除备注,不修改轮流分配(round-robin)设置,也不处理广告、通话记录、数据导出、聊天插件、Webhook 或 Pancake POS(订单、商品和库存)。
步骤 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 — 在 Gemini 中添加连接器
你的服务器 URL: 在 AnythingMCP 中打开 MCP Servers → 此连接器所在的服务器,复制它的 URL(
https://cloud.anythingmcp.com/mcp/…)。本指南中出现YOUR_SERVER_ID的地方都用它替换。
Gemini CLI 从 ~/.gemini/settings.json(Windows 上为 %USERPROFILE%\.gemini\settings.json)读取 MCP 服务器。添加:
{
"mcpServers": {
"anythingmcp": {
"httpUrl": "https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID",
"headers": { "X-API-Key": "YOUR_MCP_API_KEY" }
}
}
}
- 在 AnythingMCP 的 MCP Servers → 你的服务器 → API keys 中创建 MCP API 密钥,并用它替换
YOUR_MCP_API_KEY。 - 保存文件并重启
gemini。 - 在 Gemini CLI 中运行
/mcp(或在终端运行gemini mcp list),anythingmcp应显示为已连接。 - 开始输入提示,Gemini CLI 现在可以调用
Pancake的工具。
可用工具
| Tool | What it does |
|---|---|
pancake_list_conversations | List the page's conversations, 60 at a time, most recently updated first: id, channel type (INBOX, COMMENT, LIVESTREAM), snippet, seen… |
pancake_get_messages | Read the messages of one conversation, 30 at a time, newest first: id, type, text, sender (customer or staff name), time, attachments and… |
pancake_tag_conversation | Add a tag to a conversation or remove it, the way staff label threads in the Pancake inbox |
pancake_assign_conversation | Assign a conversation to one or more staff members, replacing the current assignment, so it shows in their Pancake inbox |
pancake_mark_conversation_read | Mark a conversation as read in the Pancake inbox, for example after the AI has handled it |
pancake_mark_conversation_unread | Mark a conversation as unread in the Pancake inbox so staff pick it up again |
pancake_send_message | Send a text message to the customer in an inbox conversation (Messenger, Instagram, Zalo, WhatsApp, TikTok and other channels of the page) |
pancake_reply_comment | Reply publicly under a customer's comment on one of the page's posts |
pancake_send_private_reply | Send a private message to the author of a comment (Facebook private reply), allowed up to 7 days after the comment |
pancake_list_tags | List the tags set up on the page: numeric id, text and colour |
pancake_list_staff | List the page's staff: id (UUID), name, availability status, whether they are online and their status on the page, plus the round-robin… |
pancake_list_customers | List the page's customers created or updated in a time window, newest first, page by page: id, name, page-scoped id (psid), gender… |
pancake_update_customer | Change a page customer's name, gender, birthday or phone numbers in Pancake |
pancake_add_customer_note | Add a text note to a page customer, visible to the page's staff in Pancake and not to the customer |
pancake_list_posts | List the page's posts published in a time window: id, type, text, time, comment count, phone numbers collected and likes |
pancake_page_statistics | Page activity per hour in a time window: new customers, new inbox threads, customer and page inbox messages and comments, phone numbers… |
pancake_staff_statistics | Staff performance on the page in a date range: the page totals and the figures per staff member that Pancake's staff report shows… |
pancake_tag_statistics | How often each tag was used on the page in a time window, as a series per tag, plus today's counts and the tag list (id and text) to read… |
示例提示
- “列出今天收件箱里的未读会话,并总结一下客户都在问什么。”
- “把今天上午所有询问运费的会话打上 运费 标签,并分配给小林。”
- “上周哪位员工处理的会话最多?团队整体表现怎么样?”
- “给客户王丽添加备注:要 M 码,货到付款。然后把她的电话改成 138 0013 8000,修改前先给我看。”
- “本周页面每天新增了多少客户、收集了多少电话号码?哪条帖子的评论最多?”
FAQ
Gemini CLI 从哪里读取 MCP 服务器? 用户级配置位于 ~/.gemini/settings.json,项目级配置位于项目内的 .gemini/settings.json。gemini mcp list 会列出每个服务器及其连接状态。
下一步
这份指南对你有帮助吗?