To post to X (Twitter) with Cursor, connect the SpecialX MCP server to Cursor and authorize your X account in SpecialX. The Cursor agent can then publish a post with up to four images or one video, or schedule it for later, when you ask in the chat. It suits developers who already live in the editor: announce a release, share a screenshot of a new feature, or post a short demo clip without switching to a browser tab.
Three things are involved. Cursor runs the agent. SpecialX holds your X authorization and talks to the X API. Your X account receives the post. The agent never sees your X password or token; it calls the post_to_social tool, and SpecialX does the upload and the post creation on its side. X grants SpecialX permission to write posts, upload media and keep the connection alive with a refresh token, so you are not asked to log in again every few hours.
~/.cursor/mcp.json. The Cursor entry needs only a url field set to https://specialx.ai/api/mcp.The server uses streamable HTTP with OAuth 2.1, and clients limited to the older SSE transport cannot connect. There is no API key to store in your repository.
Ask the agent: "Connect my X account." It calls connect_social_account for X and returns a link to X's own authorization page. Approve it while logged in to the account you want to post from. Then ask the agent to list connected accounts to check that your handle appears. Several X accounts can be connected; when more than one exists, the agent has to say which account id to use, so name the handle in your request.
Replies, quote posts and multi-post threads are not part of the tool. Posts on X are always public; there is no private option.
This is where Cursor is handy. Say "post docs/release-1.4.png to X with a one-line summary of the changelog." The agent can read the changelog in your repo, write the copy, request an upload address with get_upload_url, send the image there with a terminal command you approve, and pass the resulting public URL to post_to_social. If you would rather not use a file, ask the agent to generate an image with a SpecialX image model and post that.
Give a date, time and zone: "Post this on Tuesday at 08:30 Berlin time." The agent converts that to a timestamp with an offset, which SpecialX requires. Scheduled posts appear on the SpecialX calendar and publish without Cursor running. To review or remove one, ask for the scheduled X posts and then cancel by post id. Cancelling refunds the one credit the post was charged.
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 the SpecialX MCP server added and your X account authorized, the Cursor agent can publish posts on X when you ask. Attach a screenshot, graphic or clip to every one.
Not through SpecialX. The publishing tool needs an image or video with every post. Attach a screenshot or have the agent generate an image.
Four images is the cap, or one video clip instead. The images keep the order you give them.
No. SpecialX uses its own X app. You only approve access on X's authorization page.
No. The tool publishes single posts. Replies and threads are not supported.