You can post to X (Twitter) with Windsurf by connecting the SpecialX MCP server and authorizing your X account inside SpecialX. The Windsurf agent then publishes posts with up to four images or a single video, and can queue them for a set time. Text is limited to X's 280 characters, and each post needs media attached.
You need Windsurf, a SpecialX account and an X account. You do not need an X developer account or API keys; SpecialX posts through its own X app after you approve it. Posting uses one credit per post from your SpecialX balance, and it is returned if X rejects the post or you cancel a scheduled one.
Open ~/.codeium/windsurf/mcp_config.json and add:
"specialx": { "serverUrl": "https://specialx.ai/api/mcp" }
inside mcpServers. The key must be serverUrl, which is specific to Windsurf. Once Windsurf loads the server, the first SpecialX call opens a SpecialX login in your browser. Approve it and the session is tied to your account. If you ever want to cut Windsurf off, revoke its token from SpecialX settings.
Tell the agent "connect my X account". It runs connect_social_account for X and returns X's authorization link. The permissions requested are reading and writing posts, reading your user profile, uploading media, and offline access so the token can be refreshed without another login. Approve, then verify with list_social_accounts. If X ever revokes access, that list marks the account as needing a reconnect.
Each post is media plus optional text:
Posts are public; X has no private option here. Replies, quote posts, polls and threads of several posts are not available through the tool.
screenshots/dark-mode.png to X: 'Dark mode is live in 3.2. Toggle it in Settings.'" The agent uploads the file through get_upload_url and posts it.generate_image, waits for get_task, and publishes.After publishing, the agent receives the X post link and can share it with you. For anything scheduled, list_social_posts shows the queue in firing order, and failed posts appear with X's error message. A failed post is refunded automatically; fix the problem, such as an oversized file, and ask the agent to try again. Because scheduled posts publish from SpecialX, they go out even if your laptop is closed.
Windsurf already has your project open, which makes it a natural place to write launch posts. Ask the agent to read the latest entry in your changelog, pull out the one change users will care about, and draft a post under 280 characters with a screenshot from your docs folder. Review the wording, then tell it to publish or to schedule for the time your users are online. Because the post goes through SpecialX, the same request can be repeated for LinkedIn or Threads with wording suited to each, each as its own post.
14-day trial with up to 1,000 credits
Card required. Plans from $18/month after the trial. See pricing
Start 14-day trialYes. With SpecialX in your Windsurf MCP config and your X account authorized, the agent can publish to X for you, provided each post has an image or clip attached.
Yes. Text is cut at 280 characters, matching X's standard limit. Ask the agent to shorten long drafts before it posts.
No. SpecialX publishes single posts. Threads, replies and polls are not supported.
No. SpecialX uses its own X app, and you approve it on X's authorization page. Windsurf never handles X credentials.
Yes. Connect each one, then tell the agent which handle to use. When several accounts exist for a platform, it must pick one by id before posting.