Post to X (Twitter) from Cursor & VS Code
Connect Cursor & VS Code to Octoposta once. Then ask it to write a X (Twitter) post, add your photos or video, and publish it now or on a schedule. It checks with you before anything goes live.
No credit card. No API keys or code.
X (Twitter) posts to ask Cursor & VS Code for
“Post a poll on X asking which feature we should build next, with 3 options, open for 2 days.”
“Take this LinkedIn post, write a short X version under 280 characters, and schedule both for Monday at 9 AM.”
“Post this announcement on X now and let only the accounts I mention reply.”
What Cursor & VS Code can post to X (Twitter)
- Text posts
- Up to 4 images
- Video
- Polls with 2–4 choices, from 1 hour to 7 days
X (Twitter) settings Cursor & VS Code can set
- Who can reply: everyone, accounts you follow, accounts you mention, subscribers or verified accounts
- Polls with 2–4 choices, open for up to 7 days
- A shorter X version of a longer post on your other networks
- Publish now, at a set time, or in the next free slot of your posting schedule
- Images from your library, a Google Drive or Dropbox link, or made with AI
Connect Cursor & VS Code in a minute
- 1Create an Octoposta account and connect your X (Twitter) account.
- 2Add a remote MCP server named octoposta with the server URL.
- 3Cursor: Settings → MCP → Add new server. VS Code: run the command below.
- 4Start the server and sign in to Octoposta when asked.
Server URL: https://www.octoposta.com/api/mcp · Full Cursor & VS Code setup guide
Questions
Can a poll include images?
No. X doesn't allow media on polls, so the assistant posts polls as text only.
What if my caption is too long for X?
The assistant can write a separate, shorter caption just for X while keeping the long one on your other networks.
Will Cursor & VS Code post to X (Twitter) without asking me?
No. It shows you the caption, channels and time and waits for your OK before anything is published.
What do I need to use Cursor & VS Code with Octoposta?
Any MCP client that supports remote (Streamable HTTP) servers with OAuth. Plus an Octoposta account with your X (Twitter) account connected. The $0 plan works.
Prefer to schedule by hand? See the X (Twitter) scheduler.