Connect
TikTok Ads to
Cursor
- Can you build the leaderboard?
https://mcp.lemonado.io/mcpUse TikTok Ads data in Cursor to build creative reports and check pixel events against your code. Lemonado connects them in about 2 minutes, no API keys needed.
https://mcp.lemonado.io/mcpWhy connect TikTok Ads to Cursor?
Cursor's agent reads TikTok videos and results through Lemonado and writes the code around them: a creative leaderboard, a fatigue chart or a check that your TikTok Pixel events match what Ads Manager records.
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 Cursor
Before you start
- A TikTok Ads account you can sign in to
- Cursor 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
Open your MCP config
Open ~/.cursor/mcp.json for every project, or .cursor/mcp.json for this project only. Create the file if it doesn't exist.
- 4
Add Lemonado
Merge this into the file and save.
json{ "mcpServers": { "lemonado": { "url": "https://mcp.lemonado.io/mcp" } } } - 5
Sign in
Cursor asks you to sign in to Lemonado. Approve access, then ask the agent about your data.
- 6
Ask Cursor about TikTok Ads
Try "Build a component that shows our top 10 TikTok ads by cost per purchase this month, using real data as a fixture." Or ask: "Is the pixel double counting?" or "What did each video do?"
Good to know
- Editing the file directly avoids relying on menu labels that change between Cursor versions.
What can Cursor do with TikTok Ads?
Cursor's agent reads your TikTok Ads data while it edits: it fills components with real data, checks tracking code and writes the analysis next to your code.
Build a component that shows our top 10 TikTok ads by cost per purchase this month, using real data as a fixture.
Added TikTokLeaderboard.tsx and fixtures/tiktok-ads.ts with this month's numbers. The top ad costs $21 per purchase vs $37 on average.
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
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
Which age group buys cheapest on TikTok?
25 to 34 at $29 per purchase. 18 to 24 takes 46% of spend at $52.
Source: TikTok Ads
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
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
VS Code (GitHub Copilot)
Connect TikTok Ads to VS Code (GitHub Copilot)
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 Cursor
All Cursor integrations- Google Ads in CursorAsk Claude, ChatGPT or Cursor about your Google Ads campaigns, search terms and spend.
- Meta Ads in CursorAsk Claude, ChatGPT or Cursor about your Facebook and Instagram ads, creatives and results.
- Google Analytics in CursorAsk Claude, ChatGPT or Cursor about GA4 traffic, conversions and funnels, next to your ad spend.
- Google Search Console in CursorAsk Claude, ChatGPT or Cursor about your search queries, rankings and lost clicks.
- Google Sheets in CursorUse your media plans, targets and offline sales sheets in Claude, next to live ad data.
- LinkedIn Ads in CursorAsk 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 Cursor and ask it to connect you, or copy the block.
# Connect TikTok Ads to Cursor (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 Cursor: ~/.cursor/mcp.json
```json
{
"mcpServers": {
"lemonado": {
"url": "https://mcp.lemonado.io/mcp"
}
}
}
```
First question to try: "Build a component that shows our top 10 TikTok ads by cost per purchase this month, using real data as a fixture."
More: https://lemonado.io/integrations/tiktok-ads · https://lemonado.io/llms.txtFrequently Asked Questions
Yes. Add Lemonado to Cursor's mcp.json and connect your TikTok advertiser account in Lemonado. Cursor's agent can then query campaigns, videos and results next to your code.
Open Cursor's settings and find lemonado in the MCP list. A red dot or a sign-in prompt means the login expired. Restart Cursor after editing mcp.json. 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