You post to Instagram with Windsurf by giving its agent an MCP server that can publish. SpecialX is one: put it in your Windsurf MCP config, link a Business or Creator Instagram account, and the agent can publish a photo, a Reel or a carousel of up to ten images, now or at a scheduled time. It can also produce the image or clip with a SpecialX model before posting.
No Meta developer app is needed. SpecialX runs its own Instagram integration and refreshes the token each time it posts.
Edit ~/.codeium/windsurf/mcp_config.json and add a specialx server whose serverUrl is https://specialx.ai/api/mcp. Windsurf expects serverUrl rather than url, so a block copied from Cursor needs that one change. Save the file and let Windsurf pick up the new server. The first call to a SpecialX tool triggers a browser sign-in on specialx.ai; once you approve, the agent can use every SpecialX tool under your account.
In the Windsurf chat, write "connect my Instagram". The agent returns a link from connect_social_account. It opens Instagram's login form, which always asks you to choose the account, so you will not connect the wrong profile just because it was logged in on instagram.com. Approve publishing access, then check the result with "list my connected accounts". Managing several brands? Connect each one, and tell the agent which handle a post belongs to.
Stories are not supported, and Instagram posts are always public.
Instagram fetches media from a public link, so the agent always needs a URL. If the image or video is on your disk, ask Windsurf to upload it: the agent calls get_upload_url, puts the file at the returned address, and uses the public link. If you want something new, describe it: "Make a vertical clip of steam rising from a coffee cup at sunrise and post it as a Reel with a caption about our new opening hours." The agent generates it, waits for the task, writes the caption and publishes.
Mention a time with a zone and the post is scheduled instead of published. SpecialX insists on an explicit offset in the timestamp, so "Saturday 10am Melbourne" becomes a full date with +11:00 or similar rather than an ambiguous hour. You will find the post on the SpecialX social calendar. From Windsurf, ask what is scheduled on Instagram this week, or cancel one by asking the agent; a cancelled post refunds its credit.
You can run more than one Instagram profile from one chat. Each connected account gets its own id in SpecialX. If two or more Instagram accounts are linked and you do not name one, the agent gets an error listing them and asks which to use, so a post never lands on the wrong brand by default. Saying the handle in the request, for example "post this to @harbourbakery", is enough for the agent to pick the matching id.
14-day trial with up to 1,000 credits
Card required. Plans from $18/month after the trial. See pricing
Start 14-day trialNo. Instagram allows publishing only for professional accounts, meaning Business or Creator. You can switch a personal account in the Instagram app settings.
No. SpecialX publishes photos, Reels, carousels and trial reels. Stories cannot be published from Windsurf this way.
Ten is the maximum. The agent keeps them in the order you list.
A trial reel is shown to people who do not follow you, without appearing on your grid. Windsurf can publish one through SpecialX when the post is a video.
No. SpecialX has its own Instagram integration. You approve access on Instagram's login page and SpecialX keeps the token current.