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.
# Add your Open Connector MCP server (per-user mcp_url)
$ claude mcp add --transport http \
open-connector <your mcp_url>
# Then ask: “open an issue for the launch checklist”// .cursor/mcp.json
{
"mcpServers": {
"open-connector": { "url": "<your mcp_url>" }
}
}const composio = new Composio({
apiKey: "oc_…",
baseURL: "https://connect.acme.com", // your host
});
await composio.tools.proxy({ … });{
"tool": "FACEBOOK_ADD_REACTION",
"arguments": { … }
}Real Facebook actions, managed and audited.
Your user connects Facebook once; your agent can then publish Page posts with photos or videos, reply to comments, and send Messenger messages — 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.
- Assign Page Task
- FACEBOOK_ASSIGN_PAGE_TASK
- Assigns tasks to a business-scoped user or system user for a Facebook Page.
- pagesroles
- Create Comment
- FACEBOOK_CREATE_COMMENT
- Creates a comment on a Facebook post or replies to an existing comment.
- commentswrite
- Create Photo Post
- FACEBOOK_CREATE_PHOTO_POST
- Creates a photo post on a Facebook Page from a provider-fetchable media URL.
- pagesphotoswrite
- Create Video Post
- FACEBOOK_CREATE_VIDEO_POST
- Creates a video post on a Facebook Page from a provider-fetchable video URL.
- pagesvideoswrite
- Get Comments
- FACEBOOK_GET_COMMENTS
- Retrieves comments from a Facebook post or replies from a comment.
- commentsread
- Get Conversation Messages
- FACEBOOK_GET_CONVERSATION_MESSAGES
- Retrieves messages from a Page conversation.
- messengerread
- Get Current User
- FACEBOOK_GET_CURRENT_USER
- Validates the access token and retrieves the authenticated user's profile through /me.
- profileread
- Get Message Details
- FACEBOOK_GET_MESSAGE_DETAILS
- Retrieves a specific Page conversation message.
- messengerread
- Get Page Conversations
- FACEBOOK_GET_PAGE_CONVERSATIONS
- Lists conversations between users and a Facebook Page.
- messengerread
- Get Page Insights
- FACEBOOK_GET_PAGE_INSIGHTS
- Retrieves analytics and insights for a Facebook Page.
- pagesinsights
- Get Page Tagged Posts
- FACEBOOK_GET_PAGE_TAGGED_POSTS
- Retrieves posts where a Facebook Page is tagged or mentioned.
- pagespostsread
- Get Post Insights
- FACEBOOK_GET_POST_INSIGHTS
- Retrieves analytics and insights for a Facebook post.
- postsinsights
- Get Post Reactions
- FACEBOOK_GET_POST_REACTIONS
- Retrieves reactions to a Facebook post or comment.
- reactionsread
- Get Scheduled Posts
- FACEBOOK_GET_SCHEDULED_POSTS
- Retrieves scheduled and unpublished posts for a Facebook Page.
- pagespostsscheduled
- List Managed Pages
- FACEBOOK_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
- FACEBOOK_MARK_MESSAGE_SEEN
- Marks a user's Messenger conversation as seen by the Page.
- messengerwrite
- Publish Scheduled Post
- FACEBOOK_PUBLISH_SCHEDULED_POST
- Publishes a scheduled or unpublished Facebook Page post immediately.
- postsscheduledwrite
- Remove Page Task
- FACEBOOK_REMOVE_PAGE_TASK
- Removes a user's assigned tasks from a Facebook Page.
- pagesrolesdelete
- Reschedule Post
- FACEBOOK_RESCHEDULE_POST
- Changes the scheduled publish time of an unpublished Facebook post.
- postsscheduledwrite
- Send Media Message
- FACEBOOK_SEND_MEDIA_MESSAGE
- Sends an image, video, audio, or file URL from a Facebook Page to a Messenger user.
- messengermediawrite
- Send Message
- FACEBOOK_SEND_MESSAGE
- Sends a text message from a Facebook Page to a Messenger user.
- messengerwrite
- Toggle Typing Indicator
- FACEBOOK_TOGGLE_TYPING_INDICATOR
- Shows or hides the Messenger typing indicator for a user.
- messengerwrite
- Unlike Post or Comment
- FACEBOOK_UNLIKE_POST_OR_COMMENT
- Removes the authenticated Page's like from a Facebook post or comment.
- reactionsdelete
- Update Page Settings
- FACEBOOK_UPDATE_PAGE_SETTINGS
- Updates settings for a Facebook Page.
- pagessettingswrite
- Upload Photos Batch
- FACEBOOK_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.