Connect Codex to Facebook
What happens next
Set up in minutes
Choose where it runs
On your computer through your own Codex, or hosted in the cloud. The rest of setup adapts to your choice:
Pick what it can do in Facebook
A preset of real Facebook operations. Each one becomes a tool the agent can call, and it can't touch anything outside the list.
Connect Facebook
One sign-in. The agent acts through your account, scoped to the operations you picked.
Add your personal MCP link
The last step mints a private MCP URL for this agent and walks you through exactly this, with your real link filled in. The page flips to Connected the moment your Codex first calls in.
Run this in your terminal
<your-link> is your personal server URL — setup mints it for you.
Exact capabilities
Tools Codex gets
Get the authenticated user's basic profile.
List the Facebook Pages the user manages (with Page access tokens).
Get a Page's fields/details.
Update a Page's settings/metadata (about, phone, website, hours, etc.).
Publish (or schedule) a post to a Page's feed.
Read a Page's feed (posts, statuses, links).
List a Page's own published posts.
Get a single post.
Edit a post's message.
Delete a post.
Get a post's attachments (media/links).
Upload a photo to a Page (by URL).
List a Page's photo albums.
Upload a video to a Page (by URL).
List a Page's videos.
Publish a Reel to a Page from a hosted video URL (resumable start → upload → finish).
List a Page's Reels.
Publish a photo Story to a Page (upload unpublished photo → create story).
Publish a video Story to a Page from a hosted video URL (resumable start → upload → finish).
Read comments on a post/photo/video.
Comment on a post/photo/video (or reply to a comment).
Edit a comment.
Delete a comment.
Hide or unhide a comment.
Send a private (Messenger) reply to a comment.
Like an object (post/comment) as the Page.
Remove the Page's like from an object.
Get reactions on a post/comment.
Get Page-level insights.
Get post-level insights.
Subscribe the app to a Page's webhook fields.
Unsubscribe the app from a Page's webhooks.
Send a Messenger message (text or raw message object) to a recipient.
Send a media attachment (image/audio/video/file) by URL over Messenger.
Send a sender action (typing indicator / mark seen).
Upload a reusable Messenger attachment; returns an attachment_id.
Get a Messenger user's profile by PSID.
Set the Messenger Profile (get started / persistent menu / greeting / ice breakers).
Get the current Messenger Profile fields.
Handover Protocol: pass / take / request thread control.
Read any Graph object by ID.
Make an arbitrary Graph API request (escape hatch).
Meet the runner
About Codex
Good to know
Frequently asked questions
Keep exploring
More ways to connect
Make it yours
Open your Codex agent in one click.
NoClick runs Codex for you with Facebook wired in as tools. Connect your account and run.