Cursor · X

Post to X from Cursor

Short answer: paste npx scorper@latest init into Cursor, sign in with the code it emails you, say “connect my x”, approve in your browser, then describe the post. Cursor reads it back and publishes to X when you say yes. X is one of five platforms on the same connection, with Instagram, LinkedIn, TikTok, X and YouTube all set up the same way.

Updated 5 November 2026

How to connect X to Cursor

  1. 1

    Paste the install line in Cursor

    Open Cursor's integrated terminal (or ask the Cursor agent to run the command for you) and paste the one-line install. It adds the Scorper skills and links the machine to your account. From then on the Cursor agent can post, schedule and manage automations when you ask it to in chat.

    Cursor terminal, or ask the agent to run it
    npx scorper@latest init

    Needs Node 18 or newer. scorper doctor confirms the install afterwards.

  2. 2

    Sign in with the code from your email

    Cursor asks for your email. A 6-digit code arrives, you type it into the chat. No account yet? One is created on the spot, no password. You pick a plan and its 7-day free trial starts at checkout.

  3. 3

    Say “connect my x”

    Cursor opens X's approval page in your browser. Log into the right X account first, approve, come back. Cursor confirms the connection.

  4. 4

    Tell it what to post

    post this on x: shipping v2 today. thread the changelog underneath

    Cursor uploads the media, proposes a caption, then reads the whole post back. Say yes and it publishes to X. Say “schedule it for 6pm tomorrow” instead and it queues it.

What you can publish to X from Cursor

Text posts, image posts and video posts to a connected X (Twitter) account.

X is the platform developers already post to from the terminal, which makes it the natural first connection for a build-in-public workflow. A prompt like "when I say a release shipped, post a one-liner to x and a longer version to linkedin" turns your AI into the posting step of your release process. X's 280-character limit is enforced on the standard tier, so your AI trims or threads accordingly and reads the result back before posting.

X's own rules, which your AI works within

RuleX
Length280 characters on standard accounts; longer posts need X Premium.
ImagesUp to 4 images per post; JPEG, PNG, GIF; up to 5 MB each.
VideoMP4, up to 2 minutes 20 seconds on standard accounts, up to 512 MB.
LinksEvery link counts as 23 characters regardless of length.

Prompts that work in Cursor

connect my x
post this on x: shipping v2 today. thread the changelog underneath
schedule this carousel for 6pm tomorrow on linkedin and x
every time I tell you a release shipped, post a one-liner to x

Scheduling: “schedule this for 9am monday on x”. The calendar: “what's going out this week?”. Moving things: “move friday's post to saturday”. Everything you schedule from Cursor also shows in the dashboard calendar.

Something only Cursor users should know

Cursor users tend to keep a content folder in the workspace (drafts, images, a posting calendar as a markdown table). Because the Scorper skills run against files on disk, "post the top item in posts/queue.md to instagram" works as a prompt, and the agent can update the file after posting.

What happens before anything posts

The read-back, every time
⏺ Posting to X @yourbrand
   Caption: "Three things I wish someone told me at 21…"
   Confirm?
> yes
✓ Posted · link below
Your machine holds a scoped key. X's own credentials stay on Scorper's side, and Cursor never sees a platform token.

Honest limits

  • X publishing goes through the official X API, so X's rules above apply. Scorper does not work around them.
  • The AI-agent connection is on every plan. Pro posts to Instagram only. Max ($25 a month), Studio and Agency post to every social.
  • The install needs Node 18 or newer on the machine.
  • Some things are easier in the dashboard than in chat: bulk-editing a month of scheduled posts, for example. Both views share one calendar.

Frequently asked questions

Can Cursor post to X on its own?
Not without a connection. Cursor can write a caption but has no permission to publish. Scorper is that permission: one command installs the posting skills and links your machine to your account, then Cursor can publish and schedule to X through the official API.
Can the AI post a thread on X?
Ask for one: "post this as a thread". Your AI splits the text into 280-character posts, shows you the sequence, and publishes it after you confirm.
Does this need X Premium or a paid X API plan?
No. You connect your own X account through the approval page; Scorper handles the API on its side. Longer-than-280-character posts do need X Premium on the account itself.
Can the Cursor agent post from files in my workspace?
Yes. Point it at the file: "post ./posts/launch.mp4 to instagram with the caption in ./posts/launch.md". Scorper uploads the local media and the agent uses the file contents for the caption. It reads the post back before publishing.
Will it post without asking me?
No. Cursor reads the exact post back (platform, media, caption) and publishes only after you confirm. Scheduled posts are shown before they are queued.
What does posting to X from Cursor cost?
The AI-agent connection is included in Scorper Max ($25 a month, one brand, all five platforms) and Studio ($55 a month, three brands). Every plan starts with a 7-day free trial, card needed to start.

Connect X to Cursor in two minutes

Paste the line, approve in your browser, tell it what to post.

npx scorper@latest initStart free for 7 days

7 days free on every plan. The AI-agent connection is on Max ($25/month) and Studio.