Verified August 2026

Give VS Code the ability to post to social media

VS Code can publish to TikTok, Instagram, Facebook, YouTube, LinkedIn, X, Reddit, Telegram, Bluesky, Mastodon and Discord once you connect PostWire as an MCP server. Below is the exact config for VS Code — including the detail that makes a copied config fail silently.

Where the config goes

ScopePath
Workspace.vscode/mcp.json
User profilecommand palette → MCP: Open User Configuration

Create .vscode/mcp.json in your workspace. VS Code gives you IntelliSense inside it.

The config

{
  "servers": {
    "postwire": {
      "command": "npx",
      "args": [
        "-y",
        "postwire-mcp"
      ],
      "env": {
        "POSTWIRE_API_KEY": "pw_live_your_key"
      }
    }
  }
}

Or point at the hosted server instead

No local process, no Node required — VS Code talks to PostWire over HTTP.

{
  "servers": {
    "postwire": {
      "type": "http",
      "url": "https://postwire.io/api/mcp"
    }
  }
}

The mistake that makes this fail silently

VS Code is the odd one out: the root key is servers, not mcpServers. A config copied from a Claude Desktop or Cursor example will be silently ignored. Remote servers also need an explicit "type": "http" alongside the URL.

Check it worked

Open the Copilot chat view in agent mode and check that the postwire tools appear in the tool picker.

What it can do once connected

ToolWhat it does
generate_postsOne prompt in, a native draft per network out — respecting each one's character limit, hashtag rules and link conventions.
post_to_socialPublish to one or many networks in a single call.
get_post_statusCheck what happened to a post after it was accepted.
list_platformsWhich networks are available and which need approval.
my_accountPlan, usage and which brands are connected.

A prompt like "write a launch post for our new feature and publish it to TikTok, LinkedIn and Bluesky" becomes two tool calls: one to draft a native version per network, one to publish.

Networks differ more than people expect — X caps at 280 characters against YouTube's 5,000, Reddit has no hashtags, and TikTok, YouTube and Instagram all refuse text-only posts. See what breaks between any two networks.

Get an API key free →

Questions people actually ask

Can VS Code post to social media?
Yes, once you connect an MCP server that can publish. PostWire is one: add it to VS Code with the config on this page and it gets five tools, including one that writes a native post per network and one that publishes.
Where does the MCP config live for VS Code?
Workspace: .vscode/mcp.json; User profile: command palette → MCP: Open User Configuration
Do I need approval from TikTok or Meta first?
No. PostWire has already been through those reviews, so you publish through its approved apps. Telegram, Bluesky, Mastodon and Discord need no review from anyone.

Source for the VS Code config format: VS Code MCP docs. Using a different client? See all of them.