登入開始免費試用
easyCoexistence 官方 API

供 Claude 與 ChatGPT 使用的 Instagram MCP 伺服器

Instagram MCP 伺服器讓 Claude、ChatGPT 或其他 MCP 用戶端,能使用可操作 Instagram 專業帳戶的工具。easyCoexistence 在 https://easycoexistence.com/api/mcp 提供一個:完成一次 OAuth 登入後,助理即可透過 Meta 官方的 Instagram API,發布和排程相片、輪播、Reels 與 Stories,回覆留言和私訊,設定留言轉私訊規則,並查看數據分析。

35+ tools

在 easyCoexistence 的單一 MCP 連接器內,其中 15 個供 Instagram 使用,4 個供其排程貼文使用,7 個供其自動化功能使用。

100 posts

Instagram 帳戶在滾動的 24 小時內,可透過 API 發布的貼文數量;輪播計作一則。

24 hours

回覆對方私訊的標準時限(適用於大多數用戶操作);對方必須先發出訊息。

1 per comment

Meta 允許每則留言一次私人回覆,須於留言後 7 天內;後續訊息須等待對方回覆。

Instagram MCP 伺服器有什麼作用?

它將 Instagram 專業帳戶轉化為 AI 助理可呼叫的工具。MCP,即模型情境協定(Model Context Protocol),是 Claude、ChatGPT 及其他助理用來存取其自身不運行之系統的開放標準:您只需新增一次連接器,以平常的語言提問,助理便會選擇工具並進行呼叫。

easyCoexistence 的伺服器為遠端伺服器,因此無需在您的電腦上運行任何程式,助理以 OAuth 登入,而非貼上金鑰。每次呼叫均透過 Meta 的 Instagram API,使用 Instagram Login 連接商業或創作者帳戶,連接狀態全天候監察:存取權杖會在到期前續期,帳戶每 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 及其說明文字,或發布 Stories,可即時發布,也可按您設定的時間發布。

它使用 Instagram 的官方 API 嗎?

是。它透過 Meta 的 Instagram API,使用 Instagram Login 連接商業或創作者帳戶,因此不依賴任何共用密碼或非官方的工作階段。

它可與其他 MCP 用戶端配合使用嗎?

可以。它是採用 OAuth 登入、透過 HTTP 運行的遠端 MCP 伺服器,因此 Claude Code、Cursor 及其他接受遠端伺服器的用戶端,均可使用相同地址。

費用是多少?

每個連接每月 US$ 9 起,最低降至 US$ 0.75,視乎帳戶的連接數目而定,連接器已包含在內。每個 Instagram 帳戶計作一個連接,前 3 天免費。

繼續閱讀

兩分鐘內連接您的第一個頻道。

無需等待平台審核。連接 WhatsApp、Instagram、TikTok 或其他頻道,然後請您的 AI 發佈貼文、回覆訊息或匯報數據,並看着它運作。

  • 免費試用 3 天
  • 隨時取消
  • 只用官方 API
  • 24/7 監察

驗證日期