Claude Code can post to Facebook once the SpecialX MCP server is connected and you have authorized your Facebook Pages. It then publishes a photo or a video Reel to a Page of your choice, immediately or at a scheduled time. Posting is Page-only: SpecialX asks Facebook for Page publishing permissions, so personal profiles and groups are not targets.
You need admin access to at least one Facebook Page, a SpecialX account (the 14-day trial is enough to try it) and Claude Code. There is no Meta developer app to create. SpecialX runs the Facebook login, stores the Page tokens and uses them when Claude Code asks to post.
claude mcp add --transport http specialx https://specialx.ai/api/mcp. The first tool call opens a SpecialX sign-in tab; approve it.connect_social_account for Facebook and gives you a link to Facebook's login dialog.With several Pages connected, name the Page in your request and Claude Code will pass the matching account_id. If you forget, the tool refuses and lists the Pages so nothing goes to the wrong one.
Ask for a photo post and Claude Code sends one image with your text as the post message. A Facebook post from SpecialX carries a single image; for a set of pictures, either post them separately or combine them into one graphic first.
The image must sit at a public URL. Claude Code can get one for a local file by calling get_upload_url, sending the bytes with a PUT, and using the public link it gets back. Or it can generate a fresh image with generate_image and use that.
Videos go to Facebook through the Reels upload flow: SpecialX starts an upload session, hands Facebook the file URL, then finishes and publishes the Reel with your caption as its description. Facebook then processes the Reel, so the first reply can say publishing is pending, and list_social_posts shows the Reel link once it is live. This means vertical video suits Facebook posts from SpecialX best, the same framing you would use for Instagram Reels or YouTube Shorts.
A useful pattern from the terminal: render a product clip, ask Claude Code to post it to Facebook and Instagram with one caption, and let it make two post_to_social calls.
Add a date and time with a time zone, such as "Friday 7pm Europe/London", and the post is parked on the SpecialX social calendar rather than published. It goes out automatically at that moment. Claude Code can show what is booked with list_social_posts, filtered to scheduled posts, and cancel any of them with cancel_social_post, which also returns the credit.
For review before anything goes live, ask Claude Code to save drafts with save_social_draft. Drafts cost nothing until you publish them.
When the account list is missing a Page, the usual cause is that it was left unticked in the Facebook dialog. Run the connect step again and select it this time. If you granted no Pages at all, the connection stops with a message telling you that no Facebook Pages were found, and nothing is saved.
list_social_accounts reports that the account needs reconnecting.14-day trial with up to 1,000 credits
Card required. Plans from $18/month after the trial. See pricing
Start 14-day trialNo. SpecialX publishes to Facebook Pages you manage. Personal profiles and groups are not supported as posting targets.
Yes. Grant each Page during the Facebook login and each one shows up as a separate account. Tell Claude Code which Page to use and it passes that account id.
Yes. SpecialX uses the Facebook Reels upload flow for video, so a video post appears as a Reel on your Page with your caption as the description.
A Facebook post from SpecialX carries one image. To share several, post them one at a time or merge them into a single graphic before posting.
Yes. Give a date, time and time zone and the post is queued on the SpecialX calendar, then published automatically. Cancelling before it goes out refunds the credit.