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

適用於 Claude 和 ChatGPT 的 Facebook MCP 伺服器

Facebook MCP 伺服器讓 Claude、ChatGPT 或其他 MCP 客戶端,獲得可操作 Facebook 粉絲專頁及其 Messenger 收件箱的工具。easyCoexistence 的伺服器位於 https://easycoexistence.com/api/mcp,內含 15 個 Facebook 粉絲專頁工具,以粉絲專頁的存取權杖呼叫 Meta 的 Graph API。只需一次 OAuth 登入,助理便可發布及排程文字、連結、相片及影片貼文,回覆留言和 Messenger 私訊,發送私人回覆,並讀取洞察數據。

35+ tools

屬於 easyCoexistence 單一 MCP 連接器的一部分:15 個用於 Facebook 粉絲專頁,4 個用於定時貼文,7 個用於自動化。

24 hours

大部分用戶操作適用的標準 Messenger 回覆時限,例如用戶須先主動向粉絲專頁發送訊息。

1 per comment

粉絲專頁可在留言發出後 7 天內,向留言者發送私人回覆。

Same app

Meta 只容許應用程式更新由該應用程式建立的粉絲專頁貼文。

Facebook MCP 伺服器有什麼用?

它把 Facebook 粉絲專頁變成 AI 助理可以呼叫的工具。MCP(Model Context Protocol)是 Claude、ChatGPT 及其他助理用來連接自身不運行系統的開放標準:您只需加入連接器一次,用日常語言提出要求,助理便會選擇工具並進行呼叫。

easyCoexistence 的伺服器為遠端伺服器,因此無需在您的電腦上運行任何程式,助理以 OAuth 登入,而非貼上金鑰。每次呼叫都會透過 Meta 的 Graph API 進行,使用粉絲專頁自身的存取權杖,經 Facebook Login for Business 取得,連接並會全天候監察:系統每 6 小時檢查一次粉絲專頁,若 Meta 停止接受其權杖,您會收到電郵通知。

它有哪些 Facebook 工具?

15 個工具服務 Facebook 粉絲專頁,另有 4 個工具管理定時貼文,7 個工具運行其自動化功能:list_automations、create_automation、update_automation、delete_automation、test_automation、list_automation_runs 及 get_automation_run。list_social_accounts 應先呼叫,因為操作粉絲專頁的工具需要使用它所返回的 account_id。這些工具以外、Graph API 提供的功能(例如編輯由應用程式建立的貼文)並未涵蓋。

list_social_accountsConnected Pages and their health, with the account_id the other tools take
get_social_connect_linkThe dashboard link and steps for connecting another Page
publish_facebook_postText, a link, a photo or a video, now or at the scheduled_at time
list_scheduled_posts, update_scheduled_postQueued and failed posts; move one or change its text
cancel_scheduled_post, retry_scheduled_postCancel a queued post, or publish a failed one again
list_social_postsThe Page's recent posts with text, time, link and picture, 1 to 100 at a time
list_social_commentsThe comments on one post, with author, time and reply count
reply_to_commentA public reply, or with private set to true, one Messenger message to the commenter
hide_commentHides a comment, or shows it again
send_social_dmA Messenger message to someone who wrote to the Page in the last 24 hours
get_social_insightsPage or post metrics such as page_media_view and page_post_engagements
create_comment_ruleKeywords in a comment send a Messenger message 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_destinationFeed changes, Messenger messages and mentions forwarded to your HTTPS endpoint, signed
get_social_credentialsThe Page ID and the 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

工具呼叫是怎樣的?

由助理發送一個工具名稱及其參數,easyCoexistence 把它轉為 Graph API 呼叫。使用 scheduled_at 時,publish_facebook_post 會將貼文排入佇列:easyCoexistence 在排程時複製相片,並於指定時間在粉絲專頁發布,返回的 scheduled 為 true,並附上已排程的貼文。若不使用 scheduled_at,貼文會即時發出,返回的內容會包含其 ID 及在 Facebook 上的連結。

A tools/call request that schedules a photo post
{
  "jsonrpc": "2.0",
  "id": 7,
  "method": "tools/call",
  "params": {
    "name": "publish_facebook_post",
    "arguments": {
      "account_id": "<from list_social_accounts>",
      "message": "Doors open at 9 on Saturday.",
      "image_url": "https://cdn.example.com/flyer.jpg",
      "scheduled_at": "2026-11-14T09:00:00-03:00"
    }
  }
}

您可以要求它做什麼?

工具涵蓋的任何事項,您都可以像與同事溝通般提出;若管理多個粉絲專頁,請註明所指的頁面。排程方式是指定日期和時間,可由一分鐘至 90 天後,助理亦可列出、更改或取消已排程的內容。以下是一些可以入門的要求:

  • 「請於星期五上午 9 時,連同此文字把這張相片排程發布到粉絲專頁。」
  • 「回覆昨天貼文的新留言。」
  • 「當有人留言 MENU 時,請在 Messenger 向他們發送菜單。」
  • 「粉絲專頁本月表現如何?」
  • 「隱藏我上一篇貼文的垃圾留言。」

助理需遵守哪些 Meta 規則?

這些是 Meta 的規則,無論哪個助理發出指令,都約束 Graph API 上的每個應用程式。工具說明已載明前兩項,讓助理在呼叫前已知悉,其餘則由 Meta 的錯誤訊息回報:

  • Messenger 回覆只能發給先向粉絲專頁發訊息的人,且必須在其最後一則訊息後 24 小時內。
  • 每則留言只可獲得一則私人回覆,即在留言後 7 天內發送的 Messenger 訊息。
  • 應用程式只能編輯自己建立的粉絲專頁貼文,因此其他工具發布的貼文需要在 Facebook 中修改。
  • Meta 會按連接人員所擁有的粉絲專頁任務檢查每次呼叫,例如 Messenger 所需的 MESSAGING。

助理會否自行代粉絲專頁回覆?

助理只會在您提出要求時行動,因為 MCP 是請求與回應的模式:凌晨 3 時到達的 Messenger 訊息不會喚醒 Claude 或 ChatGPT。自行發出的回覆來自 easyCoexistence 的自動化及留言轉私訊規則,這些規則全天候運行,無需開啟任何對話,而助理可為您建立、測試及暫停它們。

設定方法

  1. Connect the PageIn the easyCoexistence dashboard, choose New connection, then Facebook, sign in with Facebook and pick the Pages to connect.
  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 Page and when; the assistant chooses the tool and calls Meta's API.

常見錯誤

  • 在對話中附加檔案。publish_facebook_post 只接受公開 HTTPS 網址的媒體,因此請先將相片或影片存放於網上,再把連結提供給助理。
  • 連結與相片或影片同時發送。此處的貼文只可附帶一個連結或一個檔案,兩者不能並存,因此請把網址放在媒體貼文的文字中。
  • 在連接粉絲專頁之前就加入連接器。list_social_accounts 只會返回已連接的粉絲專頁,因此請先在控制台中連接 Facebook。
  • 要求向從未在粉絲專頁發訊息的人發送 Messenger 訊息。send_social_dm 只回覆過去 24 小時內發過訊息的人;留言者則只能透過一則私人回覆接觸。
使用 EasyCoexistence 完成這項設定

easyCoexistence 是供 AI 代理使用的 Facebook MCP 伺服器及 API。透過單一連接器,Claude、ChatGPT 或您自己的代理可以經由 Meta 官方 API 發布和排程粉絲專頁貼文、回覆留言及私訊、運行留言轉私訊規則及自動化,並讀取洞察數據,所有連接均全天候監察。每個連接每月 US$ 9 至 US$ 0.75,連接越多越便宜,並提供首 3 天免費試用。

常見問題

Claude 或 ChatGPT 可以在 Facebook 粉絲專頁發布貼文嗎?

可以。加入 easyCoexistence 連接器,連接粉絲專頁一次,然後提出要求:助理可以發布文字、連結、相片或影片,可即時發布,或在您指定的日期和時間發布,最遲可排至 90 天後。

它是否使用 Facebook 官方 API?

是。它以 Facebook Login for Business 取得的粉絲專頁存取權杖呼叫 Meta 的 Graph API,因此不依賴共用密碼或瀏覽器工作階段。

它可以與其他 MCP 客戶端一起使用嗎?

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

easyCoexistence 用於 Facebook 粉絲專頁的費用是多少?

每個連接每月 US$ 9 至 US$ 0.75,按帳戶內的連接數量計算,已包括連接器。每個粉絲專頁計為一個連接,首 3 天免費。

繼續閱讀

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

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

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

驗證日期