Connect
TikTok Ads to
VS Code
- Can you update the KPI doc?
https://mcp.lemonado.io/mcpAsk GitHub Copilot in VS Code to track how fast creative burns out, with live TikTok Ads data in agent mode. Lemonado connects them in about 2 minutes, no API keys needed.
https://mcp.lemonado.io/mcpWhy connect TikTok Ads to VS Code (GitHub Copilot)?
Copilot's agent mode can call MCP tools inside your workspace, so it can read live numbers while it edits code and docs. Connected through Lemonado, it reads your TikTok Ads videos, watch time, ad groups and CPA, so it can track how fast creative burns out with today's numbers.
Your whole TikTok Ads account
Campaigns, ad groups and ads, ready to ask about.
Always today's numbers
Creatives with previews, synced from TikTok Ads automatically, so answers use today's numbers.
Connect all your tools
Questions like "TikTok or Meta for this video?" use TikTok Ads and Meta Ads, Google Ads at once.
How to connect TikTok Ads to VS Code (GitHub Copilot)
Before you start
- A TikTok Ads account you can sign in to
- VS Code installed
- A Lemonado account (the free trial works)
- 1
Connect TikTok Ads in Lemonado
In Lemonado, open Connectors, find TikTok Ads and sign in. Choose the advertiser accounts you want from your TikTok Business Center.
- 2
Turn on external access
In the company's settings, open External tools, turn the connection on, choose which sources it can reach and copy the server URL.
texthttps://mcp.lemonado.io/mcp - 3
Add the server
With AI features on and a project open, run MCP: Add Server from the command palette. Choose HTTP, paste the server URL and name it lemonado.
texthttps://mcp.lemonado.io/mcp - 4
Choose where it lives
For your personal Copilot setup, choose Global → Copilot Global. That writes to ~/.copilot/mcp-config.json unless COPILOT_HOME says otherwise.
- 5
Trust and sign in
Accept the trust prompt and sign in to Lemonado. Turn the tools on under Chat: Open Customizations → Tools.
- 6
Ask VS Code (GitHub Copilot) about TikTok Ads
Try "Update the table in docs/kpis.md with last month's TikTok Ads numbers and add one line on what changed." Or ask: "What did each video do?" or "Which hook should we keep?"
Good to know
- The older .vscode/mcp.json format still works for the local harness, but VS Code now marks that destination as deprecated. It uses a servers key with type http and the same URL.
What can VS Code (GitHub Copilot) do with TikTok Ads?
Copilot reads your TikTok Ads data in agent mode and works the numbers into your code, docs and notebooks in the workspace you have open.
Update the table in docs/kpis.md with last month's TikTok Ads numbers and add one line on what changed.
Updated docs/kpis.md with last month's numbers next to the month before, plus a line on the biggest change and its cause.
Source: TikTok Ads + your code
Save spend, 2-second views, completion rate and purchases by video for the last 30 days as data/tiktok.csv.
Saved 48 videos to data/tiktok.csv. The top 5 drive 64% of purchases.
Source: TikTok Ads + your code
Add a notebook cell that compares hook rate and cost per purchase for the three hooks we tested last week.
Added to analysis/hooks.ipynb. "I was wrong about tents" wins at $27 per purchase.
Source: TikTok Ads + your code
Compare the TikTok pixel events in our code with the conversions TikTok Ads reports this week.
"CompletePayment" fires twice on mobile checkout, so TikTok counts 1.9 purchases per order.
Source: TikTok Ads + your code
Which videos keep people watching past 6 seconds and also drive purchases?
3 videos do both. They all start with a problem in the first second; the product shows up by second 4.
Source: TikTok Ads
How many days does it take for our TikTok ads' CTR to halve?
Median 9 days, against 23 on Meta. Plan a new creative every week to hold CPA.
Source: TikTok Ads
Connect TikTok Ads to another AI app.
Claude
Connect TikTok Ads to Claude
ChatGPT
Connect TikTok Ads to ChatGPT
Claude Code
Connect TikTok Ads to Claude Code
Cursor
Connect TikTok Ads to Cursor
Codex
Connect TikTok Ads to Codex
Perplexity
Connect TikTok Ads to Perplexity
Google Antigravity
Connect TikTok Ads to Google Antigravity
Windsurf (Devin Desktop)
Connect TikTok Ads to Windsurf (Devin Desktop)
Zed
Connect TikTok Ads to Zed
n8n
Connect TikTok Ads to n8n
Other integrations for VS Code (GitHub Copilot)
All VS Code (GitHub Copilot) integrations- Google Ads in VS Code (GitHub Copilot)Ask Claude, ChatGPT or Cursor about your Google Ads campaigns, search terms and spend.
- Meta Ads in VS Code (GitHub Copilot)Ask Claude, ChatGPT or Cursor about your Facebook and Instagram ads, creatives and results.
- Google Analytics in VS Code (GitHub Copilot)Ask Claude, ChatGPT or Cursor about GA4 traffic, conversions and funnels, next to your ad spend.
- Google Search Console in VS Code (GitHub Copilot)Ask Claude, ChatGPT or Cursor about your search queries, rankings and lost clicks.
- Google Sheets in VS Code (GitHub Copilot)Use your media plans, targets and offline sales sheets in Claude, next to live ad data.
- LinkedIn Ads in VS Code (GitHub Copilot)Ask Claude, ChatGPT or Cursor about LinkedIn campaigns, lead forms and who converts.
Reading this as an AI agent?
Everything an agent needs to set this up, in plain text. Paste this page's link into VS Code and ask it to connect you, or copy the block.
# Connect TikTok Ads to VS Code (Lemonado MCP) - Server URL: https://mcp.lemonado.io/mcp - Transport: Streamable HTTP - Auth: OAuth; the user signs in to Lemonado in the browser. No API keys. - In Lemonado: connect the TikTok advertiser account. Choose the advertiser accounts you want from your TikTok Business Center. - In VS Code: Command palette: MCP: Add Server ```text https://mcp.lemonado.io/mcp ``` First question to try: "Update the table in docs/kpis.md with last month's TikTok Ads numbers and add one line on what changed." More: https://lemonado.io/integrations/tiktok-ads · https://lemonado.io/llms.txt
Frequently Asked Questions
Yes, through Lemonado. Connect your TikTok advertiser account in Lemonado, add Lemonado with MCP: Add Server in VS Code, and VS Code can track how fast creative burns out with your live data.
Run MCP: List Servers from the command palette. If lemonado isn't running, start it there, accept the trust prompt and sign in. In Lemonado, check that TikTok Ads is connected and External tools is on for the company. If an advertiser account is missing, check it's shared with your user in TikTok Business Center, then reconnect TikTok Ads in Lemonado.
Yes, if both are connected in Lemonado. One connection reaches every source you allow, so you can ask things like "How does the same UGC video perform on TikTok vs Meta?"
MCP is included in Lemonado's paid plans and in the free trial, so you can try it before you pay.
Still have a question?
Shoot us an email at hello@lemonado.io.
Try for freeStop fighting with data. Start feeding your AI.
Connect your data to AI and free your team from reporting and busywork.
Try Lemonado free