登录开始免费试用
easyCoexistence 官方 API

面向 Claude 和 ChatGPT 的 Instagram MCP 服务器

Instagram MCP 服务器让 Claude、ChatGPT 或其他 MCP 客户端能够调用适用于 Instagram 专业账户的工具。easyCoexistence 在 https://easycoexistence.com/api/mcp 运行了一个这样的服务器:完成一次 OAuth 登录后,AI 助手即可发布和定时发布照片、轮播图、Reels 和 Stories,回复评论和私信,设置评论转私信规则,并查看数据洞察,所有操作均通过 Meta 官方的 Instagram API 完成。

35+ tools

easyCoexistence 的单一 MCP 连接器背后共有 15 个工具用于 Instagram,4 个用于其定时发布的帖子,另有 7 个用于其自动化功能。

100 posts

通过 API 发布的帖子:Instagram 账户在滚动的 24 小时内可发布的数量,轮播图计为 1 条。

24 hours

大多数用户操作的标准私信回复时限;对方必须先发来消息。

1 per comment

Meta 允许对每条评论发送一次私密回复,限于评论发出后 7 天内;后续消息需等待对方回复。

Instagram MCP 服务器能做什么?

它可以把 Instagram 专业账户变成 AI 助手能够调用的工具。MCP(Model Context Protocol,模型上下文协议)是 Claude、ChatGPT 等助手用来访问其自身不运行的系统的开放标准:您只需添加一次连接器,用日常语言提问,助手就会选择相应工具并发起调用。

easyCoexistence 的服务器为远程运行,因此无需在您的电脑上运行任何程序,助手通过 OAuth 登录,而不是粘贴密钥。每次调用都通过 Meta 的 Instagram API 完成,并使用 Instagram 登录方式连接 Business 或 Creator 账户。连接全天候受到监控:访问凭证会在过期前续期,账户每 6 小时检查一次。

它有哪些 Instagram 工具?

15 个工具服务于 Instagram,另有 4 个工具管理其定时帖子,7 个工具运行其自动化功能:list_automations、create_automation、update_automation、delete_automation、test_automation、list_automation_runs 和 get_automation_run。应先调用 list_social_accounts,因为执行账户操作的工具需要它返回的 account_id。Instagram API 在这些工具之外提供的功能,例如回复他人帖子中的提及或读取个人资料字段,则不在支持范围内。

list_social_accountsConnected accounts and their health, with the account_id the other tools take
get_social_connect_linkThe dashboard link and steps for connecting another account
publish_instagram_postA photo, a carousel of 2 to 10 items, a Reel or a Story, with its caption
list_social_postsRecent posts with captions and counts, 1 to 100 at a time
list_social_commentsThe comments on one post, with their replies
reply_to_commentA public reply, or with private set to true, one DM to the commenter
hide_commentHides a comment, or shows it again
send_social_dmA DM to someone who wrote to the account in the last 24 hours
get_social_insightsAccount or post metrics such as reach, views, likes, saves and shares
create_comment_ruleKeywords in a comment send a DM and an optional public reply
list_comment_rules, update_comment_ruleRules with how many comments each replied to; pause, resume or delete one
set_social_webhook_destinationComments, mentions and DMs forwarded to your HTTPS endpoint, signed
get_social_credentialsThe account's ID and API base; the token is not handed out

如何将其添加到 Claude 或 ChatGPT?

粘贴一个地址并登录即可。在 Claude 中,打开 Customize,然后进入 Connectors,点击 + Add,选择 Add custom connector,再输入下方地址。在网页版 ChatGPT 中,打开 Plugins,选择加号按钮,点击 Add custom MCP server,填入相同地址,并使用 OAuth。在 Claude Code 中,运行 claude mcp add --transport http easycoexistence 并附上地址,然后输入 /mcp 完成登录。

The connector address
https://easycoexistence.com/api/mcp

工具调用是什么样的?

工具调用由工具名称及其参数组成。对于 Reel,publish_instagram_post 会创建容器并返回状态 processing 及 post_id;Meta 处理完视频后,easyCoexistence 会立即发布该 Reel,随后 list_scheduled_posts 会提供其 network_post_id 和 permalink。照片通常在同一次调用内完成发布。

A tools/call request that publishes a Reel
{
  "jsonrpc": "2.0",
  "id": 7,
  "method": "tools/call",
  "params": {
    "name": "publish_instagram_post",
    "arguments": {
      "account_id": "<from list_social_accounts>",
      "type": "REELS",
      "video_url": "https://cdn.example.com/autumn-menu.mp4",
      "caption": "Our autumn menu starts Monday."
    }
  }
}

您可以让它做什么?

工具所涵盖的任何事情,都可以用您与同事交流时的措辞提出;如果有多个账户,请说明账户名称。定时发布的方式是指定日期和时间:Instagram API 没有定时发布参数,因此 easyCoexistence 会将帖子保存在自身队列中,并在指定时间发布。以下是几个可以开始的请求示例:

  • “周五上午 9 点发布这个轮播图,并使用这段文案。”
  • “回复我上一条 Reel 的新评论。”
  • “当有人评论 PRICE 时,通过私信把价目表发给他。”
  • “我的帖子这周表现如何?”
  • “关闭昨天那条帖子的评论功能。”

助手需要遵守哪些 Instagram 规则?

这些是 Meta 的规则,无论哪个助手发出指令,都对 API 上的每个应用具有约束力。工具说明中包含这些规则,因此助手在调用前即已知晓:

  • 私信只能发送给先发消息的用户,并且只能在其最新消息之后的标准 24 小时时限内发送。
  • 每条评论只能通过私信获得一次私密回复,且须在评论发出后 7 天内。
  • 一个账户在滚动的 24 小时内,通过 API 大约可发布 100 条帖子,其中轮播图计为一条。

助手会自动回复 Instagram 私信和评论吗?

只有在您提出要求时它才会行动,因为 MCP 是请求与响应的模式:凌晨 3 点到达的私信不会唤醒 Claude 或 ChatGPT。自动发出的回复来自 easyCoexistence 的自动化功能和评论转私信规则,这些功能全天候运行,无需打开聊天窗口;助手可以为您创建、测试和暂停这些功能。

设置方法

  1. Connect the Instagram accountIn the easyCoexistence dashboard, choose New connection, then Instagram, and log in with the Business or Creator account.
  2. Add the connectorAdd https://easycoexistence.com/api/mcp in Claude as a custom connector, or in ChatGPT as a custom MCP server, and approve the sign-in.
  3. AskSay what should happen on the account and when; the assistant chooses the tool and calls Meta's API.

常见错误

  • 在聊天中附加文件。publish_instagram_post 只接受来自公开 HTTPS URL 的媒体,因此请先托管图片或视频,再将链接提供给助手。
  • 发送 PNG 图片。Instagram API 只发布 JPEG 图片,因此在要求发布帖子前请先转换格式。
  • 在连接账户之前添加连接器。list_social_accounts 只返回已连接的账户,因此请先在控制台中连接 Instagram。
  • 未开启“Allow access to messages”。在 Instagram 应用的“Connected tools”下开启该选项之前,通过 API 发送私信都会失败。
使用 EasyCoexistence 完成这些操作

easyCoexistence 是面向 AI 代理的 Instagram MCP 服务器和 API:通过一个连接器,Claude、ChatGPT 或您自己的代理即可借助 Meta 官方 API 发布和定时发布帖子、Reels 和 Stories,回复评论和私信,运行评论转私信规则和自动化功能,并查看数据洞察,每个连接均全天候监控。每个连接每月 US$ 9 起,连接越多越便宜,最低降至 US$ 0.75,并提供 3 天免费试用。

常见问题

Claude 或 ChatGPT 能在 Instagram 上发帖吗?

可以。添加 easyCoexistence 连接器并连接一次账户,然后提出请求:助手即可发布照片、轮播图或 Reel 及其文案,也可以发布 Story,立即发布或在您设定的时间发布。

它使用 Instagram 官方 API 吗?

是的。它调用 Meta 的 Instagram API,并使用 Instagram 登录方式连接 Business 或 Creator 账户,因此不依赖共享密码或非官方会话。

它能与其他 MCP 客户端配合使用吗?

可以。它是一个通过 HTTP 提供的远程 MCP 服务器,支持 OAuth 登录,因此 Claude Code、Cursor 以及其他支持远程服务器的客户端都可以使用相同地址。

价格是多少?

每个连接每月 US$ 9 起,最低降至 US$ 0.75,具体取决于账户拥有的连接数,连接器包含在内。每个 Instagram 账户计为一个连接,前 3 天免费试用。

继续阅读

两分钟连接您的第一个渠道。

无需等待平台审核。连接 WhatsApp、Instagram、TikTok 或其他渠道,然后让您的 AI 发布、回复或生成报告,看它如何运作。

  • 免费试用 3 天
  • 随时取消
  • 仅使用官方 API
  • 全天候 24/7 监控

验证时间