Facebook · from VS Code

Post to a Facebook Page from VS Code.

A busy workspace can carry a lot of MCP servers. Ours adds a short list of tools, and VS Code has a rule about how many it sends at once.

A Facebook Page post is the easy case for an agent: the ceiling is far beyond anything you would write about a launch, so the text goes out as drafted, with up to 10 pictures or videos attached by public link. From VS Code that usually means the agent sending a screenshot from the workspace through our upload tool before it publishes. Posting goes to a Page you picked when connecting Facebook in 1Social, because Facebook’s API has no route to a personal profile from any client.

What is particular to VS Code is the size of the toolbox. People who use agent mode heavily add servers for GitHub, a database, a browser and an issue tracker, and each of them brings its own tools. VS Code documents a ceiling of a hundred and twenty-eight tools in a single request for its Local harness, and past a threshold it groups tools into virtual tools so the model sees fewer at once. 1Social adds only a short list, but in a crowded workspace that grouping is where a missing publish tool usually went.

Asking VS Code for a Facebook post

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

VS Code14:05

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.

post the launch announcement to our facebook page with the hero screenshot from the repo — and tell me if you can’t see the 1social tools

Copilot · several MCP servers enabled

1S

The 1Social tools are available and the screenshot is uploaded. For the Page:

Facebook caption63,206fits
Image or videooptional here
Reply chainsjoined into one post
Attachments allowed10per post

Allow the publish call and it goes to the Page. The receipt will say the provider reported it, since Facebook cannot be read back.

Message VS Code… ↑

What Facebook allows

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

Caption limit
63,206 characters
Post with no image or video
Fine
Reply chains
No — the parts are joined into one post
Images or video per post
10
Image formats
Anything we accept for upload

VS Code, on the other networks

Facebook, from the other agents

Publishing to Facebook from VS Code

A short list of tools

The server adds a handful of tools — list, preview, publish, upload and a few for changing or repairing a post — so it takes little of the per-request budget.

A workspace screenshot, made public

The agent asks for an upload target, sends the file’s bytes from the terminal and attaches the public link, which is the only kind of link the post can use.

The launch notes as written

Facebook leaves room for a full write-up, so the post that reaches the Page is the one you approved in the chat panel, not a shortened copy of it.

Labelled as reported

Facebook offers no public read of a Page post, so this receipt cannot be checked against the network; it says reported by the provider, not confirmed.

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 Facebook, 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 tool list has a ceiling

VS Code sends the model a list of every tool it may call, and that list has a documented limit: a hundred and twenty-eight tools per request in the Local harness, with tools grouped into virtual tools once a threshold set by github.copilot.chat.virtualTools.threshold is passed. In a workspace with many MCP servers, the effect is that the agent may not see the publish tool straight away and answers as if it had no way to post at all. If that happens, turn off the servers this task does not need from MCP: List Servers, or name the 1Social tool in the request.

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

When this is the wrong tool

A personal timeline is out of reach from VS Code or anywhere else, since Facebook’s API lets an app publish to Pages only. And in a workspace already near VS Code’s tool ceiling, one more server has a cost of its own, so enable 1Social only in the windows where you actually post.

Questions people actually ask

Why can’t GitHub Copilot find the 1Social tools in my VS Code workspace?

Usually because the server is stopped or the workspace has more tools than VS Code sends at once. Open MCP: List Servers to check that 1Social is running, turn off servers this task does not need, and ask again.

Can VS Code post to my personal Facebook profile?

No. Facebook’s API publishes to Pages only, whichever client asks. Connect the Page in 1Social and choose it during sign-in, and Copilot can publish to it from then on.

How does Copilot attach a screenshot from the repository to a Facebook post?

It requests an upload target from our upload tool, sends the file with a terminal command, and passes the public link to the post. In Manual mode VS Code asks before the tool call and before the command, unless you have allowed them already.

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.