+

VS Code + X Ads

Connect VS Code to X Ads

Run X Ads from VS Code. Add AdAgnt to VS Code, sign in once, and connect X Ads with X's own sign-in. Ask in plain English; every change waits for your approval.

  1. 1
    Add AdAgnt to VS Code

    Click Add to VS Code, or run MCP: Add Server from the Command Palette, choose HTTP and paste the URL. In a file, it goes in .vscode/mcp.json.

    { "servers": { "adagnt": { "type": "http", "url": "https://mcp.adagnt.com/mcp" } } }

    VS Code MCP docs ↗

  2. 2
    Sign in to AdAgnt

    The first time Copilot uses AdAgnt, VS Code asks to sign in and opens AdAgnt's sign-in in your browser.

    No AdAgnt account yet? This creates one on the Free plan. No card, no password.

  3. 3
    Connect X Ads

    Ask: Show my ad connections. It replies with a Connect link for each platform; open the one for X Ads.

    Sign in with X and authorize AdAgnt for your ads account. AdAgnt never sees your X Ads password.

    Then say “check my connections”, and X Ads shows Live. You can also connect it in the web app: app.adagnt.com → Accounts.

  4. 4
    Ask, then approve
    Which X campaigns had the lowest cost per click last week?

    Campaigns, line items, promoted posts and targeting: reads, and changes you approve.

    Answers come straight back. A change comes back as a proposal: nothing reaches X Ads until you approve it, and AdAgnt then reads X Ads back to confirm it landed. Approve it at app.adagnt.com → Approvals.

Click a screenshot to see it full size.

Questions about VS Code and X Ads

Does AdAgnt work with VS Code and X Ads today?

Yes. Connect your X Ads account with X's own sign-in, and VS Code can read it and propose changes. Each change waits for your approval.

Can VS Code change my X Ads campaigns without asking?

No. A change comes back as a proposal, and nothing reaches X Ads until you approve it at app.adagnt.com → Approvals. After it runs, AdAgnt reads X Ads back to confirm it landed.

Does AdAgnt see my X Ads password?

No. You sign in on X's own page. AdAgnt stores the access token encrypted (AES-256-GCM) on its server, never in VS Code, and you can disconnect at any time.

What is AdAgnt?

A hosted MCP server that connects your AI assistant to your ad accounts, so you can ask about campaigns and propose changes in plain English. You add one URL to VS Code and sign in; no platform API keys.

What does it cost?

AdAgnt's Free plan connects every ad account you run, with 20 reads and 10 changes a month (no cap during launch), no card. Paid plans start at $29 a month, plus applicable tax.

VS Code with other ad platforms

X Ads from other AIs

Two minutes from here to your first answer.

Free plan: every ad account, 20 reads and 10 changes a month (no cap during launch).

Add to VS CodeAll 64 connections