To post to Facebook with Windsurf, add the SpecialX MCP server to Windsurf and link your Facebook Page through SpecialX. The Windsurf agent can then publish a photo post or a Reel on that Page, or schedule one, when you ask. Posting goes to Pages only; personal profiles and groups are outside what Facebook lets SpecialX publish to.
SpecialX asks Facebook for Page permissions: listing your Pages, reading Page engagement, and managing Page posts. Each Page you approve becomes its own connected account, and posts are made with that Page's token, so they appear as the Page. If you manage a business Page, a shop or a community Page, this is the right fit. For a personal timeline or a group, post from Facebook itself.
Windsurf loads MCP servers from ~/.codeium/windsurf/mcp_config.json. Add an entry called specialx with serverUrl set to https://specialx.ai/api/mcp. You can copy the exact block from the Windsurf tab on the SpecialX MCP page. When the agent first calls a SpecialX tool, you sign in to SpecialX in the browser window that opens and approve the connection. There is no key to paste and nothing to install locally.
Ask the agent to "connect my Facebook Page". It calls connect_social_account for Facebook and gives you a Facebook login link. During approval, Facebook shows which Pages and business portfolios to share; select every Page you want to post to, because Pages left unticked will not be available. After approval, "list my connected accounts" should show each Page by name. With more than one Page linked, say which Page the post is for and the agent will pass its account id.
Two formats are published:
Facebook posts from SpecialX are always public on the Page. Text-only status updates, link previews, events and Stories are not part of the tool, so every post needs a picture or a video.
Windsurf can do more than relay a file. Try: "Create a warm, top-down photo of a farmers' market table with tomatoes and bread, then post it to the Riverside Market Page with a caption announcing Saturday hours." The agent calls generate_image, checks get_task until the image is ready, writes the caption and publishes. For files on your computer, the agent requests an upload address with get_upload_url, stores the file there, and posts the public link. Ask to see the caption first if the Page has a set tone.
Include a date and time with a zone, such as "Friday 5pm Chicago", and the post is scheduled rather than published. The agent must send an offset with the time; SpecialX rejects bare times to avoid posts landing at the wrong hour. Scheduled posts show on the SpecialX calendar and go out without Windsurf running. You can list them from the chat and cancel any before it publishes, which returns the credit.
Page content can live next to your site code: a folder of product photos, a markdown file of upcoming events. Windsurf can work straight from that. Ask it to read events.md, pick the next three dates, and schedule one Page photo post per event on the morning before each, using images from public/events/. The agent uploads each image, writes each caption, and books three separate posts you can review in the queue.
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, using Page permissions. Personal profiles and groups are not supported.
Yes. Any video you post to a Page goes up as a Reel through Facebook's Reels upload, with your caption as the description.
Facebook only shares the Pages you select during approval. Run the connect step again and tick every Page and business portfolio you want SpecialX to post to.
No. Posts through SpecialX need an image or a video. The agent can generate an image if you do not have one.
One SpecialX credit per published or scheduled post, refunded if Facebook rejects it or you cancel in time. Any image or video generation is billed separately in credits.