Facebook for AI agents

Facebook is a social platform used here to manage business Pages, including posts, comments, messages, and page insights, for marketing and community teams running a brand presence. Connect it once through Arc0, and your agent, or Claude, ChatGPT and Cursor, can use it through one MCP endpoint, limited to what each user approved.

Social mediaOAuth 2.0MCP + RESTfacebook.com
AUDIT LOG · FACEBOOKPOLICY: acme-support
09:41:07 · claude · u_8f2read
facebook.list_managed_pages
List Managed Pages✓ allowed · 212ms
09:41:08 · claude · u_8f2read
facebook.get_post
Get Post✓ allowed · 164ms
09:41:09 · claude · u_8f2write
facebook.create_post
Create Post✓ approved · approved by user
09:41:12 · claude · u_8f2destructive
facebook.delete_post
Delete Post✕ blocked · policy: deny
EVERY FACEBOOK CALL, ON THE RECORD
01 · USE CASES

What agents do in Facebook.

01

Publish a post to a Page

Create a post on a business Page once the content is approved by the marketing team.

02

Check a post's insights

Get a post's insights to report reach and engagement after it has been live for a day.

03

Confirm before deleting a post

Require approval before deleting a post, since it removes public content and its comment history.

02 · ACTIONS

43 Facebook actions, graded by risk.

Every Facebook action is tagged read, write or destructive, so one policy covers the whole app and new actions inherit the right default.

read

20

Look things up. Allowed by default.

  • facebook.get_post
    Get Post
  • facebook.get_comment
    Get Comment
  • facebook.get_comments
    Get Comments
  • facebook.search_pages
    Search Pages
  • facebook.get_page_posts
    Get Page Posts
  • facebook.get_page_roles
    Get Page Roles
  • facebook.get_user_pages
    Get User Pages (Deprecated)
  • facebook.get_page_photos
    Get Page Photos
  • facebook.get_page_videos
    Get Page Videos
  • facebook.get_current_user
    Get Current User
  • facebook.get_page_details
    Get Page Details
  • facebook.get_page_insights
    Get Page Insights
  • facebook.get_post_insights
    Get Post Insights
  • facebook.get_post_reactions
    Get Post Reactions
  • facebook.list_managed_pages
    List Managed Pages
  • facebook.get_message_details
    Get Message Details
+ 4 MORE

write

20

Create and change things. Allow, or ask the user first.

  • facebook.create_post
    Create Post
  • facebook.update_post
    Update Post
  • facebook.send_message
    Send Message
  • facebook.create_comment
    Create Comment
  • facebook.update_comment
    Update Comment
  • facebook.create_photo_post
    Create Photo Post
  • facebook.create_video_post
    Create Video Post
  • facebook.send_media_message
    Send Media Message
  • facebook.update_page_settings
    Update Page Settings
  • facebook.create_multi_photo_post
    Create Multi-Photo Post
  • facebook.upload_photo
    Upload Photo
  • facebook.upload_video
    Upload Video (Deprecated)
  • facebook.reschedule_post
    Reschedule Post
  • facebook.assign_page_task
    Assign Page Task
  • facebook.mark_message_seen
    Mark Message Seen
  • facebook.upload_photos_batch
    Upload Photos Batch
+ 4 MORE

destructive

3

Delete, cancel or archive. Ask first, or deny outright.

  • facebook.delete_post
    Delete Post
  • facebook.delete_comment
    Delete Comment
  • facebook.remove_page_task
    Remove Page Task
03 · HOW IT WORKS

Facebook in three steps.

  1. 01Your users connect FacebookThey sign in to Facebook on Arc0 Connect, under your brand, and approve the access you ask for.
  2. 02You set the rulesReads run, writes like “create Post” can wait for the user, and “delete Post” can be denied outright.
  3. 03Any agent can actYour agent calls Facebook through the Arc0 SDK or MCP, and so can Claude, ChatGPT and Cursor. Every call lands on the audit log.
POLICY.TS
await arc0.policies.set('facebook', {
  read: 'allow',
  write: 'ask',        // create_post
  destructive: 'deny',  // delete_post
})

# Claude Code: the same connection, one URL
$ claude mcp add --transport http arc0 \
    https://mcp.arc0.ai/u/u_8f2
04 · AUTH AND DATA

How Facebook connects.

Users sign in to Facebook on Arc0 Connect and approve the scopes you request. Build with Arc0’s Facebook OAuth app, or bring your own so the Facebook consent screen names you. Tokens refresh automatically, and you can export them whenever you want.

The same Facebook connection serves your agent over MCP and your own backend over REST and the proxy, so a user connects once. How Arc0 handles credentials →

AUTH
OAuth 2.0
CREDENTIALS
Per-tenant encrypted vault
MODEL SEES
Results only, never credentials
AUDIT LOG
Every call, on every plan
05 · WORKS WITH

Use Facebook from any agent.

Claude
ChatGPT
Cursor
Codex
VS Code
OpenAI Agents SDK
Claude Agent SDK
Vercel AI SDK
Mastra
LangGraph
07 · FAQ

Facebook and Arc0, answered.

Q01

Can I use Facebook with Claude, ChatGPT or Cursor?

Yes. Connect Facebook to Arc0 once, then add your Arc0 MCP URL to Claude, ChatGPT, Cursor, Claude Code or any other remote-MCP client. Each assistant only gets the Facebook actions you allow.

Q02

How do users connect Facebook?

Users sign in to Facebook on Arc0 Connect and approve the scopes you request. Build with Arc0’s Facebook OAuth app, or bring your own so the Facebook consent screen names you. Tokens refresh automatically, and you can export them whenever you want.

Q03

Which Facebook actions can my agent take?

43 in total: 20 read, 20 write and 3 destructive, such as “create Post”. Your policies decide which of them each agent may call.

Q04

Can I stop my agent from deleting things in Facebook?

Yes. Actions like “delete Post” are graded destructive. Set destructive actions to deny, or to ask so the user approves each one, and blocked calls still show up on the audit log.

Q05

Can my own backend call Facebook too?

Yes. The same Facebook connection is available over REST and through the Arc0 proxy, so your product and your agent share one connection per user.

Get started

Plug Facebook into your agent.

Your users connect Facebook once, under your brand. Your agent gets 43 actions behind your policies, with every call on the record.

Free to build · MCP + REST · Audit log on every plan