Skip to content
  • TikTok Ads
  • MCP server

How to use TikTok Ads in VS Code + GitHub Copilot with AdsGPT

TikTok Ads already works in the AdsGPT assistant and is coming soon to VS Code + GitHub Copilot. Keep AdsGPT installed in VS Code + GitHub Copilot and connect TikTok Ads once: when it arrives, there's nothing else to set up.

TikTok Ads is coming soon to your AI. It already works in the AdsGPT assistant, on the web and in the mobile app. In ChatGPT, Claude and other AI it shows as coming soon.

Try it free — 50 actions/moInstall in VS CodeOfficial documentation

Today you manage TikTok Ads from the AdsGPT assistant, on the web and in the mobile app. In VS Code + GitHub Copilot it shows as coming soon: AdsGPT already works with Google Ads from VS Code + GitHub Copilot and will add TikTok Ads to its MCP server without you reinstalling anything.

TikTok Ads shows your videos in the TikTok feed. With AdsGPT you get reports by account, campaign, ad group or ad, broken down by age, gender, country, language or platform; you enable, pause or delete; adjust budgets, bids and targeting; and create video campaigns for awareness or traffic. Ads are Spark Ads: posts of a TikTok account made only for ads.

What you can do with TikTok Ads

  • Video performance

    Spend, impressions, clicks, reach and plays, with 2- and 6-second views and average play time.

  • Bids and budgets

    Change an ad group's or campaign's budget and its bid, manual or lowest cost.

  • Video campaigns

    Awareness or traffic with 1 to 20 vertical videos, each with its own text and button, created paused.

Requirements

  • An AdsGPT account with at least one ad platform connected.
  • VS Code with GitHub Copilot and agent mode enabled.
  • On Copilot Business or Enterprise, an organization that allows MCP servers.

Step-by-step setup

Connect TikTok Ads in AdsGPT

    1. Sign in to app.adsgpt.dev as the organization owner.
    2. Open Plugins and choose TikTok Ads.
    3. Sign in with the TikTok account that has access to your ad accounts and authorize AdsGPT.
    4. Your TikTok Ads accounts show up in AdsGPT and any member can use them from the AdsGPT assistant, as their role allows.

    Add AdsGPT to VS Code + GitHub Copilot: install in one click

    • MCP server
    • Recommended
    1. With VS Code installed, open the AdsGPT install link and confirm.
    2. On first connect, VS Code opens the AdsGPT sign-in page: pick your organization and approve.

    From the terminal

    • MCP server
    1. Run:
      Terminal
      code --add-mcp '{"name":"adsgpt","type":"http","url":"https://mcp.adsgpt.dev"}'
    2. Open Copilot chat in agent mode and sign in when prompted.

    With mcp.json

    • MCP server
    1. Run MCP: Open User Configuration (all workspaces) or edit .vscode/mcp.json (one workspace):
      .vscode/mcp.json
      {
        "servers": {
          "adsgpt": {
            "type": "http",
            "url": "https://mcp.adsgpt.dev"
          }
        }
      }
    2. You can also run MCP: Add Server, choose HTTP and enter https://mcp.adsgpt.dev.

    Example prompts for TikTok Ads

    • “Which TikTok videos held people best in the first 6 seconds?”
    • “Pause the TikTok ad groups with a CPC above 0.50 dollars.”
    • “Create a TikTok traffic campaign with my three new videos.”

    Security and approvals

    • You sign in with OAuth 2.1: you never copy or share API keys.
    • The ads:read scope comes first; ads:write is only requested the first time a tool changes something.
    • Every change shows the current and new value and waits for your approval.
    • New campaigns launch paused unless you ask otherwise.
    • AdsGPT acts with your role on the account and receives tool calls, never your conversation.

    Tips

    • In VS Code the key is servers, not mcpServers as in other clients.

    Frequently asked questions

    Can I use TikTok Ads in VS Code + GitHub Copilot?

    Not yet. TikTok Ads already works in the AdsGPT assistant, on the web and in the app, and is coming soon to the MCP server. Until then, VS Code + GitHub Copilot lists it as coming soon.

    Do I have to connect TikTok Ads inside VS Code + GitHub Copilot?

    No. TikTok Ads is connected once in AdsGPT and is then available to your organization.

    Can my TikTok Ads campaigns be changed without permission?

    No. Reads run instantly, but every change shows the current and new value and waits for your approval. New campaigns are created paused.

    Can I manage several networks at once?

    In the AdsGPT assistant you already work with Google Ads, Meta Ads, TikTok Ads, LinkedIn Ads, X Ads, Reddit Ads, OpenAI Ads and Unity Ads. From VS Code + GitHub Copilot, Google Ads is available today and the rest are coming soon. A campaign on several networks is created on each with the same name, so your reports tie them together.

    Which TikTok Ads campaigns can I create?

    Video campaigns for awareness or traffic, with 1 to 20 vertical 9:16 videos and a budget of at least 20 USD a day. They show on TikTok only, unless you ask for automatic placement, which adds Pangle.

    What do I need to connect TikTok Ads?

    The organization owner opens Plugins → TikTok Ads in AdsGPT and signs in with their TikTok for Business account. The advertiser needs a linked TikTok account that can post videos for ads.

    TikTok Ads with artificial intelligence →
    TikTok Ads + VS Code + GitHub Copilot

    Start managing your ads from your AI

    Create your AdsGPT account, connect your ad networks and add the integration in minutes.