X · from VS Code

Post to X from VS Code with GitHub Copilot.

VS Code asks before Copilot runs a tool, and offers to stop asking. On X, where every post has a price, that offer is worth turning down.

GitHub Copilot in VS Code is where a lot of developers already find the words for an X post — a feature that just landed, a fix worth mentioning, a link to the pull request. With 1Social added as a server, the agent in the chat panel can draft that post, preview it against X’s 280-character ceiling and, if it runs long, send it as a chain of up to 25 posts. The X account is connected once in the 1Social web app with X’s own sign-in, so no X key goes anywhere near the workspace.

When Copilot reaches the publish call, VS Code asks, and the answer has a scope: allow it once, allow it for the rest of this session, or always allow it. For most networks the difference is how often you click. For X it is money, because an X post weighs more in units than a post elsewhere and one with a link weighs more again. Asking for a preview first puts that weight on screen next to the character count, and Allow Once keeps every later X post behind the same question.

Asking VS Code for an X post

The X ceilings in this exchange come from the same table the publisher enforces — the conversation is drawn, the numbers are not.

VS Code18:21

Set me up — what do you need?

Just the accounts. Connect them in the browser once and I can publish from here after that.

Done, connected

I will tell you before publishing if a network cannot take what you wrote.

Good. Drafting the launch note now

Send it over and I will check it before anything goes out.

write an x post about the fix we just merged, link the PR, preview it and tell me what it costs before you publish

Copilot · agent mode · one pull request

1S

Drafted from the pull request. The preview for X says:

X caption2803-part thread
Image or videooptional here
Reply chainsup to 25 parts
Attachments allowed4per post

The link makes it heavier on X. I will publish when you allow the call — pick Allow Once if you want to be asked again next time.

Message VS Code… ↑

What X allows

Read from the same table the publisher enforces, so this cannot drift from what actually happens when you press send.

Caption limit
280 characters
Post with no image or video
Fine
Reply chains
Yes — up to 25 parts
Images or video per post
4
Image formats
Anything we accept for upload

VS Code, on the other networks

X, from the other agents

Publishing to X from VS Code

The weight before the click

The preview reports the units an X post will use next to its length, so the approval VS Code shows you is a decision about the price as well as the wording.

Once, this session or always

VS Code lets you scope an approval to one call, the current session or for good. Keeping X publishes at one call each makes every paid post its own yes.

Too long becomes a chain

When a write-up runs past the ceiling, the agent can split it into replies that X shows in order, instead of trimming the last point off to make it fit.

Edited in the panel, sent as edited

Ask for the draft in the chat panel, change it there, and only then let the agent preview and publish — the wording you approved is the wording X receives.

How it works

1

Connect once

~2 min

Link the accounts you use in a browser. OAuth, no passwords typed into a chat, no API keys to paste anywhere.

ChatGPT

Claude

Cursor

2

Ask, in your own words

one sentence

Tell VS Code to publish to X, now or on a day you name. No dashboard, no tab switch.

3

Read the receipt

per network

One line per network — what landed, what failed and why, and what genuinely could not be determined.

The approval scope is a spending decision

When Copilot calls an MCP tool, VS Code asks, and the answer can cover this one call, the rest of the session, or every call from now on. On most networks that choice is about how often you want to click. On X each post has a price that 1Social pays and passes on as a heavier weight in units, and a post with a link weighs more again, so a session-wide or permanent approval of the publish tool is also a decision about how much the agent may spend without asking. Allow the preview freely, since it spends nothing, and keep publishing at one call at a time.

A rule of X from VS Code, not ours and not the network’s. From documentation, checked 2026-11-23.

When this is the wrong tool

If you announce every merge on X, the units will go faster there than anywhere else, and an agent that posts as the last step of a longer task makes that easy to miss — read the weights on the pricing page before it becomes a habit. And if what you want from X inside the editor is the conversation around a post, replies and mentions are not brought back here.

Questions people actually ask

Can GitHub Copilot post to X from VS Code?

Yes, in agent mode with 1Social added as an MCP server and your X account connected in the web app. Copilot drafts the post, VS Code asks before the publish call runs, and the answer in the chat panel links to the post once X has it.

Which approval should I pick when VS Code asks to publish to X?

Allow Once, if you want each paid post to be its own decision. In this Session suits an afternoon of several launch posts. Always Allow applies to every later publish, on every network, until you remove it again.

Why does an X post from VS Code use more units than other networks?

X charges for posts made through its API and charges more for posts that carry a link, and that cost is passed through as a heavier weight on the X delivery. The preview shows the figure before you approve anything, so nothing about it is a surprise afterwards.

Something else? Ask us — a person answers.

Read next

Start where you already work.

Connect an account and post your first update in about two minutes. Every plan starts with a free trial.

Posts go out through each network’s official API — not scraping.