VS Code

vs code

use antwork tools inside vs code via github copilot agent mode. manage your social media without leaving your editor.

// prerequisites
  • VS Code 1.99 or later
  • GitHub Copilot extension installed and active
  • An antwork account with at least one workspace
// step 1 — create mcp config

Create a .vscode/mcp.json file in your project root (or open Settings > Features > Chat > MCP Servers to add it globally).

.vscode/mcp.json
{
  "servers": {
    "antwork": {
      "type": "http",
      "url": "https://api.antwork.io/mcp"
    }
  }
}
// step 2 — enable agent mode

Open the Copilot chat panel and switch to Agent mode using the mode picker at the top of the chat input.

// step 3 — authorize

The first time you use an antwork tool, VS Code will open your browser for the OAuth consent screen. Log in and approve the permissions.

Antwork MCP is now connected to VS Code. All tools are available in Copilot agent mode. Tokens refresh automatically.

// usage

once configured, you can use antwork tools in copilot agent mode. ask copilot to create posts, check analytics, or schedule content while you code.