VS Code + WordPress

WordPress 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 WordPress until you say yes.

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.

VS CodeBolta connected
You

Read the top entry in CHANGELOG.md and write a WordPress article about it as a draft for review

Illustration of the reply: Bolta returns a draft showing the connected account and the scheduled time, with Approve, Edit and Reject actions.

Illustration. Your drafts show your real text, account and time.

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.
Bolta on WordPress

What Bolta does on WordPress

WordPress is a blog, not a social network, so Bolta has its own tool for it (create-wordpress-blog-post). It resolves the WordPress account, creates the draft and sets the article's settings in one call.

  • Articles saved as a draft, with a title, excerpt, categories, tags and SEO meta.
  • Featured and inline images, uploaded to the WordPress Media Library.
Limits and format

WordPress limits and format rules

Bolta's posting rules for your workspace (get-posting-rules) win if they differ from this page.

Not promised for WordPress from VS Code: Pages and custom post types. This page does not confirm them. Rankings. Bolta prepares an article for search and never promises a position.

WordPress limits and format rules
What to knowThe destination's ruleWhat Bolta does
TitleNot stated on this page.The title you set. If you do not set one, Bolta uses the first line of the post text.
StatusNot stated on this page.WordPress has its own status field, which is separate. Bolta's own approval decides when the article goes out.
Several sitesNot stated on this page.With more than one WordPress account, Bolta returns a list and asks which one to use.
LengthNot stated on this page.No limit that Bolta checks.
FormattingNot stated on this page.Markdown is shown as formatting, so headings, lists and links work.
Best practices

VS Code jobs for WordPress, and how to write them

  • Check how recent posts performed before you plan the next one
  • Name the site if you have more than one. Bolta asks when you do not.
Prompts

Example prompts for WordPress

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 write a WordPress article about it as a draft for review

What is waiting for my approval in Bolta right now?

Turn docs/guide.md into a WordPress article with a title and meta description and show me the text

Which Bolta brands can you see? List them only and do not change anything

Review

Bolta saves a draft, you read the exact text, you say yes

  1. 01

    Bolta saves a draft

    VS Code asks Bolta for the WordPress article in your brand voice (save-post). A saved draft is never public.

  2. 02

    You read the exact text

    On WordPress the exact text is the whole article, with its title, excerpt, tags, meta description and images, so read all of it.

  3. 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.

VS Code and Bolta

Using VS Code for WordPress

Parts of this route are not confirmed. The note above says which.

For WordPress, 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 WordPress 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 WordPress drafts in its AI chat.

An illustration from the VS Code guide, not real output. You ask: Show how my last five posts performed and suggest what to post next The reply goes along these lines: Here is what Bolta's analytics show for those posts, and two ideas that follow from what did better. Read only.

A key pasted into a committed file is a key shared with everyone who can read the repo. Use VS Code's inputs block so the key is typed once and held outside the file.

Give it only the permissions you need. A key without posts:write cannot save posts.

  • 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.
  • Routines that repeat. Plan a weekly update and confirm it before it is saved. A routine lives in Bolta, and switching it on is a separate yes.
  • It finds your brand. The chat asks Bolta which brands the connection can reach, so a draft lands under the right one.
  • It checks the connected accounts. It lists which social accounts are linked. If none are, it asks Bolta for a connect link instead of guessing.
  • Setup: Check that VS Code can use MCP servers. Use a recent version of VS Code with its AI chat switched on. A workplace policy can limit MCP servers, so ask your admin if the option is missing. Menu names and file locations change between versions, so check VS Code's own MCP docs if a label here does not match.
  • Setup: Check that Bolta's tools are listed. Open VS Code's chat in agent mode and look for Bolta in the tools list. If it is listed and not switched off, the connection works. Ask which Bolta brands it can see, and it should name the ones you ticked.
  • Bolta extension from the VS Code marketplace. We do not offer one. The editor connects through its MCP config instead.
  • Saved drafts wait in your Bolta review list until you act on them.
Connect

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.

FAQ

WordPress questions, answered for VS Code

Will VS Code publish a WordPress article without asking me?
No. Bolta saves the article as a draft. It can submit for review, schedule or publish, but only after you have seen the exact text and said yes.
What does SERP-ready mean for an article from VS Code?
It means Bolta prepared the article technically and editorially, with headings, a meta title and description, and the focus keyphrase placed sensibly. It does not promise a ranking.
What can it not do?
Its reach is capped by your Bolta role, and a viewer connection is read-only. In some apps batch approval and campaign setup from chat are not offered, so it works one post at a time and links you to Bolta. It also cannot post to a social account you have not connected in Bolta.
Which brands can VS Code reach?
Only the brands you ticked at sign-in. With several ticked, put the brand name in the request so the draft lands under the right one. To change the list, remove the Bolta server from mcp.json, add it again and sign in again.
How do I keep the API key out of git?
Do not paste it into mcp.json. Add an inputs entry of type promptString with password set to true, and reference it in the Authorization header as Bearer followed by the input id. VS Code then asks for the key when the server starts. Keys begin with bolta_sk_.
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 WordPress articles without my yes?
No. Nothing is approved, scheduled or published until you say yes to that WordPress article. 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.

WordPress from other AI agents

The same WordPress limits apply whichever agent asks. The connection and the setup are what change.

Try a WordPress draft from VS Code

Connect VS Code, ask for a WordPress draft and read the exact text. Nothing goes live until you say yes.