Facebook posts with VS Code and Bolta
Draft and queue social posts from VS Code's AI chat. Parts of the VS Code route are not confirmed yet, and the note below says which. Nothing goes live on Facebook until you say yes.
Partly confirmed, see what is and is notChecked 2026-11-21
Add one small JSON file with the Bolta server address. Sign in from the browser if VS Code offers it. Otherwise use a Bolta API key.
Read the top entry in CHANGELOG.md and draft a Facebook post for our Page about it
Illustration of the reply: Bolta returns a draft showing the connected account and the scheduled time, with Approve, Edit and Reject actions.
What is and is not confirmed
Read this before you set up VS Code
- The config and sign-in steps follow Bolta's own guide and VS Code's MCP format. Nobody has run a full draft, review and schedule through VS Code yet.
- Menu names and file locations change between VS Code versions, so check VS Code's MCP docs if a label does not match.
- Bolta's skills repository lists VS Code as not tested.
What Bolta does on Facebook
Bolta lists each Facebook Page as its own account, so you name the Page the post is for rather than a personal profile.
- Posts to a connected Facebook Page. Each Page is its own account in Bolta.
- Text, images, or one video. Media is optional.
Facebook limits and format rules
Network rules last checked 2026-07-28. Bolta's posting rules for your workspace (get-posting-rules) win if they differ from this page.
Not promised for Facebook from VS Code: Facebook Groups, Events, Stories and Reels. This page does not confirm that Bolta publishes them. A Facebook character limit. Bolta checks none, so this page gives no number.
| What to know | Facebook's own rule | What Bolta does |
|---|---|---|
| Text length | Not stated on this page. | Bolta does not check the length, so Facebook may refuse longer text. |
| Video and images | Not stated on this page. | One video per post, and a video cannot be mixed with images. |
| Several parts | Not stated on this page. | The first part is the post. Each other part is posted as a comment on it. |
| Pages and profiles | Every Page is administered through a personal account, but visitors see only the Page and not the people running it. | Posts go to Pages. Each Facebook Page is listed as its own account. |
| Search | Posts are ranked in Facebook search, and a public post can reach people you are not connected to, so the wording matters. | Bolta publishes the text you approved, in plain text. |
VS Code jobs for Facebook, and how to write them
- Explain a technical change to customers in plain words
- Name the Page. If you run several, ask for the account list first so the draft is saved against the right one.
Example prompts for Facebook
Things to type in VS Code. Each one asks for a draft and shows you the text first.
Read the top entry in CHANGELOG.md and draft a Facebook post for our Page about it
Which Bolta brands can you see? List them only and do not change anything
Turn the README intro into a Facebook post and show me the text before saving it
Show how my last five posts performed and suggest what to post next
Bolta saves a draft, you read the exact text, you say yes
- 01
Bolta saves a draft
VS Code asks Bolta for the Facebook post in your brand voice (save-post). A saved draft is never public.
- 02
You read the exact text
On Facebook the exact text includes which Page it is for, and any later parts that will be posted as comments.
- 03
You say yes
Only then does Bolta schedule or publish (publish-post), in your workspace's timezone. Safe Mode, client sign-off and brand approval rules still apply.
Using VS Code for Facebook
Parts of this route are not confirmed. The note above says which.
For Facebook, VS Code, from Microsoft, reaches Bolta through Remote MCP server in mcp.json (Streamable HTTP). Sign-in: Sign in from the browser, or API key as a Bearer header. The Facebook account itself is connected inside Bolta, not in VS Code.
VS Code adds Bolta through a small .vscode/mcp.json file, with a browser sign-in if it offers one and an API key otherwise. You ask for Facebook drafts in its AI chat.
An illustration from the VS Code guide, not real output. You ask: What is waiting for my approval in Bolta right now? The reply goes along these lines: Here are the drafts in your review list, grouped by routine or campaign, with a short preview of each. Read only. Nothing approved.
The Bolta entry is small: a key named bolta, a type of http and the address https://mcp.bolta.ai/mcp, all under a top-level servers key. In VS Code, http means Streamable HTTP, which is what Bolta speaks.
Other apps name these keys differently (url, serverUrl or httpUrl) and some use mcpServers as the top key. If you copy the entry to another editor, check that editor's docs instead of pasting it unchanged.
- Drafts from what you just shipped. Point the chat at a changelog entry, README section or commit notes. It saves a draft in your voice and shows it to you.
- Results before the next post. Ask how recent posts did on an account and what to try next. The answer comes from Bolta's analytics, not from the chat's guess.
- It reads your voice. Before writing, it pulls your saved voice and brand context so the draft sounds like you and not like release notes.
- It reads the source in your workspace. This part is VS Code's own file access. The chat reads the changelog or diff you point at and keeps to what that text says.
- Setup: Add Bolta to .vscode/mcp.json. In your project folder, create .vscode/mcp.json and add a server named bolta with type http and the URL https://mcp.bolta.ai/mcp. The JSON on the Bolta MCP docs page can be pasted as is. Newer VS Code versions may point new setups at other locations, so the file path can differ for you. The address and the http type stay the same.
- Setup: Start the server and sign in. Save the file, then run MCP: List Servers from the Command Palette and start Bolta if it is stopped. If VS Code offers sign-in for remote servers, a browser window opens on Bolta. Sign in and tick the brands this app may reach. If there is no sign-in, create an API key in Bolta under Settings, API Keys, and have VS Code prompt for it as a Bearer header so it never sits in the file. Keep keys out of git.
- Hosted MCP with sign-in. Add type http and the URL https://mcp.bolta.ai/mcp to mcp.json, then start the server. If VS Code offers sign-in for remote servers, a Bolta page opens. Not run end to end by us.
- A routine is stored in Bolta and runs on its own schedule once you switch it on, with no editor open.
Connect VS Code to Bolta
Add one small JSON file with the Bolta server address. Sign in from the browser if VS Code offers it. Otherwise use a Bolta API key.
Facebook questions, answered for VS Code
- Does VS Code post to my Facebook profile or my Page?
- To a Page. Bolta lists each Facebook Page as its own account, and the draft is saved against the Page you name. A Page is administered through a personal account, but visitors see only the Page.
- Can VS Code attach a video and photos to the same Facebook post?
- No. Bolta allows one video per post and does not allow a video together with images. If you want both, make two posts.
- Is this tested end to end?
- Not yet. Nobody has run a full draft, review and schedule through VS Code. Claude Code is the most tested path, and our skills repository lists VS Code and other apps as not tested.
- Will it work in other apps?
- Likely, if the app can talk to an MCP server over HTTP. The address is the same, but each app names its config keys differently (url, serverUrl or httpUrl), so check that app's docs. We have not tested every app.
- Should I use sign-in or an API key?
- Use sign-in if VS Code offers it for remote servers, because it follows your Bolta role and only the brands you ticked. An API key acts as you with whatever permissions you gave it, so give it only what you need. Safe Mode and required client sign-off still apply either way. Neither route has been run end to end in VS Code.
- Can it run a weekly post routine when VS Code is closed?
- A routine is saved in Bolta and runs there, so it does not need the editor open. Creating one takes your confirmation of what it will do, and switching it on takes a separate yes. Routines draft for your review. They do not publish unattended for client brands.
- Does VS Code publish Facebook posts without my yes?
- No. Nothing is approved, scheduled or published until you say yes to that Facebook post. Whether VS Code completes the connection is not fully confirmed, so read the note above first.
More from VS Code
VS Code can work with the other networks Bolta publishes to. Each page has its own limits and review notes.
Facebook from other AI agents
The same Facebook limits apply whichever agent asks. The connection and the setup are what change.
Try a Facebook draft from VS Code
Connect VS Code, ask for a Facebook draft and read the exact text. Nothing goes live until you say yes.