Summary
通过 MCP 将 Pinterest API 连接到 ChatGPT。使用 AnythingMCP 通过自然语言分析图钉、板块和广告表现。
使用 ChatGPT 分析你的 Pinterest
Pinterest 没有 MCP 连接器。使用 AnythingMCP,你可以将 Pinterest 的 REST API 转换为 MCP 服务器,让 ChatGPT 分析你的图钉、板块和受众洞察。
分步指南
第一步:部署 AnythingMCP
git clone https://github.com/HelpCode-ai/anythingmcp.git
cd anythingmcp && docker compose up -d
第二步:获取 Pinterest API 访问权限
在 https://developers.pinterest.com 创建一个应用。生成一个具有 boards:read、pins:read 和 user_accounts:read 范围的访问令牌。
第三步:创建 REST 连接器
创建一个基础 URL 为 https://api.pinterest.com/v5 的 REST 连接器。设置 Bearer 令牌身份验证。
第四步:暴露关键端点
GET /user_account— 你的个人资料GET /boards— 你的板块GET /boards/{board_id}/pins— 板块上的图钉GET /pins/{pin_id}— 图钉详情GET /user_account/analytics— 账户分析GET /pins/{pin_id}/analytics— 图钉分析
第五步:连接 ChatGPT
{
"mcpServers": {
"pinterest": {
"url": "http://localhost:4000/mcp"
}
}
}
第六步:获取洞察
- "这个月我的哪些图钉被保存最多?"
- "我最受欢迎的板块的参与趋势如何?"
- "我的图钉本周获得了多少次展示?"
- "哪个板块驱动了最多的外部点击?"
下一步
这份指南对你有帮助吗?