Facebook
for AI agents.
Facebook integration for AI agents with secure authentication and server-side credential injection. Open Connector runs the OAuth, seals the token in an encrypted vault, and serves Facebook tools to your agent over MCP or a typed API — credentials injected server-side, every call audited, nothing leaving your infrastructure. Open source (AGPL-3.0) and self-hostable.
Real Facebook actions, managed and audited.
Your user connects Facebook once; your agent can then read Facebook profile and manage Page feed, media, and comments through Graph API — scoped to the OAuth permissions you grant and the tool allowlist you configure. Every action is least-privilege and written to a tamper-evident audit trail.
- 01Connect
Your user grants Facebook access once (OAuth) — the token lands in the vault.
- 02Call
Your agent calls a tool over MCP or the typed API; Open Connector injects the credential server-side.
- 03Audit
Every routed call appends a hash-chained audit record — nothing leaves your infra.
Supported Facebook tools.
Browse 39 tools in the Facebook catalog. Each action uses your configured authentication and tool allowlist.
Showing 39 tools.
- Add Reaction
- Adds a LIKE reaction to a Facebook post or comment.
- reactionswrite
- Assign Page Task
- Assigns tasks to a business-scoped user or system user for a Facebook Page.
- pagesroles
- Create Comment
- Creates a comment on a Facebook post or replies to an existing comment.
- commentswrite
- Create Photo Album
- Creates a photo album on a Facebook Page.
- pagesalbums
- Create Photo Post
- Creates a photo post on a Facebook Page from a provider-fetchable media URL.
- pagesphotoswrite
- Create Post
- Creates a text or link post on a Facebook Page.
- pagespostswrite
- Create Video Post
- Creates a video post on a Facebook Page from a provider-fetchable video URL.
- pagesvideoswrite
- Delete Comment
- Deletes a Facebook comment.
- commentsdelete
- Delete Post
- Permanently deletes a Facebook Page post.
- postsdelete
- Get Comment
- Retrieves a specific Facebook comment.
- commentsread
- Get Comments
- Retrieves comments from a Facebook post or replies from a comment.
- commentsread
- Get Conversation Messages
- Retrieves messages from a Page conversation.
- messengerread
- Get Current User
- Validates the access token and retrieves the authenticated user's profile through /me.
- profileread
- Get Message Details
- Retrieves a specific Page conversation message.
- messengerread
- Get Page Conversations
- Lists conversations between users and a Facebook Page.
- messengerread
- Get Page Details
- Fetches details about a Facebook Page.
- pagesread
- Get Page Insights
- Retrieves analytics and insights for a Facebook Page.
- pagesinsights
- Get Page Photos
- Retrieves photos from a Facebook Page.
- pagesphotosread
- Get Page Posts
- Retrieves posts published by a Facebook Page.
- pagespostsread
- Get Page Roles
- Lists people and their tasks on a Facebook Page.
- pagesrolesread
- Get Page Tagged Posts
- Retrieves posts where a Facebook Page is tagged or mentioned.
- pagespostsread
- Get Page Videos
- Retrieves videos from a Facebook Page.
- pagesvideosread
- Get Post
- Retrieves a specific Facebook post.
- postsread
- Get Post Insights
- Retrieves analytics and insights for a Facebook post.
- postsinsights
- Get Post Reactions
- Retrieves reactions to a Facebook post or comment.
- reactionsread
- Get Scheduled Posts
- Retrieves scheduled and unpublished posts for a Facebook Page.
- pagespostsscheduled
- List Managed Pages
- Lists Facebook Pages managed by the authenticated user, including Page details and assigned tasks. Access tokens are intentionally not returned.
- pagesread
- Mark Message Seen
- Marks a user's Messenger conversation as seen by the Page.
- messengerwrite
- Publish Scheduled Post
- Publishes a scheduled or unpublished Facebook Page post immediately.
- postsscheduledwrite
- Remove Page Task
- Removes a user's assigned tasks from a Facebook Page.
- pagesrolesdelete
- Reschedule Post
- Changes the scheduled publish time of an unpublished Facebook post.
- postsscheduledwrite
- Send Media Message
- Sends an image, video, audio, or file URL from a Facebook Page to a Messenger user.
- messengermediawrite
- Send Message
- Sends a text message from a Facebook Page to a Messenger user.
- messengerwrite
- Toggle Typing Indicator
- Shows or hides the Messenger typing indicator for a user.
- messengerwrite
- Unlike Post or Comment
- Removes the authenticated Page's like from a Facebook post or comment.
- reactionsdelete
- Update Comment
- Updates an existing Facebook comment.
- commentswrite
- Update Page Settings
- Updates settings for a Facebook Page.
- pagessettingswrite
- Update Post
- Updates the message of an existing Facebook Page post.
- postswrite
- Upload Photos Batch
- Uploads multiple photo URLs to a Facebook Page or album as unpublished photos and returns every provider result.
- pagesphotosbatchwrite
Facebook integration, answered
- How do AI agents use Facebook through Open Connector?
- Your user connects Facebook once with one of its cataloged authentication methods. Open Connector stores the credential in an encrypted vault and exposes Facebook tools to your agent over MCP or a typed API, with credentials injected server-side on each call.
- Is this a Facebook MCP server?
- Yes. Open Connector can serve Facebook as a named MCP server with a scoped allowlist and a per-user connection URL, so any MCP client can call Facebook actions with credentials injected server-side.
- Where do Facebook credentials live?
- In your own infrastructure. Open Connector keeps credentials in its own vault and injects them at call time, so they never leave your environment.
Give your agents Facebook — keep the keys.
Open source, self-hostable, with Facebook credentials that never leave your infrastructure. Run it from source today.