# Facebook MCP server

> Connect Claude, ChatGPT or Cursor to your Facebook Page. Your agent posts photos, Reels and Stories, answers Messenger and comments and reads insights.

Canonical: https://omnisocials.com/facebook-mcp | Channel page: https://omnisocials.com/facebook.md | Facebook API: https://omnisocials.com/facebook-api.md | Pricing: https://omnisocials.com/pricing.md | 14-day free trial: https://app.omnisocials.com/signup

This is the machine-readable version of [omnisocials.com/facebook-mcp](https://omnisocials.com/facebook-mcp), maintained for AI agents. Facts checked against the OmniSocials app on October 16, 2026.

- **Server URL:** https://mcp.omnisocials.com
- **Auth:** OAuth sign-in, or an API key for agents that run on their own
- **Discovery file:** https://omnisocials.com/.well-known/mcp.json
- **Docs:** https://docs.omnisocials.com/mcp-server

- **With your AI agent:** Connect Claude, ChatGPT or any MCP client to your Facebook Page with the OmniSocials MCP server. Your agent posts, Reels and Stories included, answers Messenger and comments and reads your numbers, through Facebook's official API.
- **With your coding agent:** Claude Code and Codex add the OmniSocials MCP server with one command, and agents that run on their own use an API key. Or call the Facebook API from your own code.

## What your agent does

Ask in plain words. Your agent picks the MCP server's tools and works as your Page.

- **Posts with a first comment.** On posts and Reels, a comment from your Page goes up as soon as it is live. (`create_post`, `upload_media`)
- **Answer Messenger and comments.** As your Page. A Messenger reply can be a photo, a video or a file. (`reply_to_inbox`, `get_next_unanswered`)
- **Hide the spam.** Hide a comment and show it again later, or delete it for good. (`hide_inbox_comment`, `delete_inbox_comment`)
- **Know what worked.** Reactions and shares on every post, and the best time for the next one. (`get_recent_platform_posts`, `get_best_times`)

## Setup

Connected in a minute. One URL and one sign-in. No API key for chat apps.

1. **Connect your Page in OmniSocials.** Sign in with Facebook once and pick the Page. One Page per workspace.
2. **Add the server to your agent.** Paste one URL as a custom connector, or run one command.
3. **Sign in and pick a workspace.** OAuth in the browser. Agents that run on their own use an API key.

- **Claude:** Customize > Connectors > Add custom connector > Paste the URL. Claude sends you to OmniSocials to sign in. No API key needed. Guide: https://omnisocials.com/claude
- **Claude Code:** `claude mcp add --transport http omnisocials https://mcp.omnisocials.com`. Then type /mcp in Claude Code and sign in to OmniSocials. Guide: https://omnisocials.com/claude-code
- **Codex:** `codex mcp add omnisocials --url https://mcp.omnisocials.com`. Then run codex mcp login omnisocials to sign in. Guide: https://omnisocials.com/codex
- **API key:** `claude mcp add --transport http omnisocials https://mcp.omnisocials.com --header "Authorization: Bearer YOUR_API_KEY"`. For agents that run on their own. Create the key in Settings, API Keys. Docs: https://docs.omnisocials.com/mcp-server

## Tools

25 tools in 5 groups. Your agent picks them from a plain request.

### Publishing

Posts, link posts, Reels and Stories, now or on a schedule. Try asking: "Post the upload video as a Reel Thursday at 9 AM, with the changelog link in the first comment."

- create_post: Schedule a post, a link post, a Reel or up to 10 Stories, with a first comment.
- create_and_publish_post: Post to your Page right away.
- update_post: Change the text, first comment, thumbnail or time of a scheduled post.
- upload_media: Upload photos and videos from a URL or the chat, videos up to 1 GB.
- check_media_compatibility: Check a file against Facebook's rules first.
- retry_post: Publish a failed post again.

### Messenger and comments

Messenger, comments and mentions, answered as your Page. Try asking: "Answer the new Messenger messages and comments on our Page. Hide the spam."

- get_next_unanswered: Get the next message or comment that needs an answer.
- list_inbox_conversations: List your Page's Messenger chats, comments and mentions.
- get_inbox_conversation: Read a chat, or the comments with the post they are on.
- reply_to_inbox: Reply as your Page. On Messenger, a reply can be a photo, video or file.
- hide_inbox_comment: Hide or unhide a comment on your Page's post.
- delete_inbox_comment: Delete a comment and its replies, for good.

### Insights

What each post did, and when to post the next one. Try asking: "Which Page posts got the most reactions last month, and when should we post next?"

- get_post_analytics: One post's views, reactions by type, comments, shares and clicks.
- get_posts_analytics: The numbers for many posts at once, to compare them.
- get_account_analytics: Your Page's followers, follows gained and lost, and Page views.
- get_best_times: Your best days and hours from your own posts, or industry defaults until you have 15.
- get_recent_platform_posts: Your latest Page posts with their reactions, including ones made on Facebook.

### Approvals

Your team or client signs off before a post goes out. Try asking: "Approve the Facebook posts that are waiting for me."

- list_approval_workflows: The review steps a post can go through.
- approve_post: Approve a post that waits for you.
- reject_post: Send a post back with what to change.
- get_post_approval: Where a post stands in its review.

### Accounts and setup

Which Page, which workspace, which hashtags. Try asking: "Switch to the OmniSocials workspace and list the connected accounts."

- list_accounts: The accounts connected to the workspace, your Page among them.
- switch_workspace: Work in another workspace, and so on another Page.
- create_hashtag_set: Save hashtags to reuse on posts.
- create_webhook: Get an event when a post is scheduled, published, approved, rejected or fails.

## FAQ

### What is the Facebook MCP server?

It is the OmniSocials MCP server with your Facebook Page connected. Your AI agent calls its tools to post to your Page, answer Messenger and comments and read your numbers, through Facebook's official API. The server lives at https://mcp.omnisocials.com, and the same tools post to your other channels too.

### Which Facebook accounts can my agent use?

Facebook Pages you manage, connected with Facebook Login. Personal profiles and Groups can't be connected. Each workspace connects one Page, so your agent switches workspaces to work on another Page.

### What can it post to my Page?

Posts with photos or one video, link posts with a preview card, Reels with a thumbnail, and Stories of up to 10 photos or videos, each its own Story. A post takes photos or a video, not both.

On posts and Reels, a first comment from your Page goes up right after the post is live. Stories go out without a caption or comment.

### Can it answer Messenger and comments?

Yes. Messenger messages, comments and mentions of your Page reach your agent, also on posts you made on Facebook itself, and it answers them as your Page. Messenger replies go out within Meta's 24-hour window and can be a photo, a video, audio or a file instead of text.

It can hide a comment and show it again, or delete it for good. Comment-to-DM automations are on Instagram only.

### Which numbers can it read?

Views, reactions by type, comments, shares and clicks on each post, video views and watch time, your Page's followers and Page views. Facebook no longer reports post reach.

It also suggests your best days and hours to post, from your own posts once 15 or more have been analysed, and from industry defaults until then.

### Can it read other Facebook Pages or profiles?

No. It works with the Page you connected: its posts, its Messenger, comments and mentions, and its numbers. It doesn't scrape other Pages, profiles or Groups.

### How do I connect Claude, ChatGPT or Cursor to your Facebook Page?

Connect your Facebook Page in OmniSocials first. In Claude, open Customize, then Connectors, click Add, choose Add custom connector and paste https://mcp.omnisocials.com. In ChatGPT, add the same URL as a custom MCP server under Plugins; in Cursor, put it in ~/.cursor/mcp.json. Each one sends you to OmniSocials to sign in and pick a workspace.

### Can an AI agent post to your Facebook Page safely?

Yes. Your agent can send a post through an approval workflow: it waits until a teammate or client approves it, and only then goes out at its time. You can also ask your agent to save drafts, or to show you each post before it schedules it.

### Does the Facebook MCP server need a paid plan?

It needs an active OmniSocials plan or the 14-day free trial; without one, the server turns the connection down. The trial needs a card to start, and the MCP server is part of the one plan, like every other feature.

### How much does OmniSocials cost?

One plan with every feature included: $10 per seat per month billed annually, or $12 billed monthly. Team members and client seats cost the same. Every account starts with a 14-day free trial.

## Related

### Set up your agent

- [Claude](https://omnisocials.com/claude)
- [ChatGPT](https://omnisocials.com/chatgpt)
- [Claude Code](https://omnisocials.com/claude-code)
- [Codex](https://omnisocials.com/codex)
- [Cursor](https://omnisocials.com/cursor)
- [Every agent](https://omnisocials.com/mcp)

### Facebook

- [Facebook scheduler](https://omnisocials.com/facebook)
- [Social inbox](https://omnisocials.com/inbox)
- [Best time to post on Facebook](https://omnisocials.com/best-time-to-post-on-facebook)
- [Facebook character limits](https://omnisocials.com/facebook-character-limits)

### For developers

- [MCP server docs](https://docs.omnisocials.com/mcp-server)
- [Facebook API](https://omnisocials.com/facebook-api)
- [CLI](https://omnisocials.com/cli)

## More machine-readable pages

- [Facebook](https://omnisocials.com/facebook.md)
- [Facebook API](https://omnisocials.com/facebook-api.md)
- [All channels](https://omnisocials.com/channels.md)
- [MCP server](https://omnisocials.com/mcp.md)
- [REST API](https://omnisocials.com/api.md)
- [Pricing](https://omnisocials.com/pricing.md)
- [llms.txt](https://omnisocials.com/llms.txt)
