Skip to content

Connect TikTok Ads to Cursor

  • Can you build the leaderboard?

Use 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.

MCPhttps://mcp.lemonado.io/mcp

Why 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. 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. 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.

    text
    https://mcp.lemonado.io/mcp
  3. 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. 4

    Add Lemonado

    Merge this into the file and save.

    json
    {
      "mcpServers": {
        "lemonado": {
          "url": "https://mcp.lemonado.io/mcp"
        }
      }
    }
  5. 5

    Sign in

    Cursor asks you to sign in to Lemonado. Approve access, then ask the agent about your data.

  6. 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.

Cursor logoCursor

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

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.

For agents · markdown
# 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.txt
FAQ

Frequently 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.

See plans and pricing

Still have a question?

Shoot us an email at hello@lemonado.io.

Try for free

Stop fighting with data. Start feeding your AI.

Connect your data to AI and free your team from reporting and busywork.

Try Lemonado free