Cursor

Zernio for Cursor

Server URL

Add it under mcpServers in .cursor/mcp.json, then sign in from Cursor's MCP settings.

in .cursor/mcp.json

Run TikTok from Cursor

Run TikTok Ads campaigns, send conversions to the TikTok Events API, reply to DMs and comments, read analytics and publish posts on TikTok, from Cursor. Cursor is where you build the product, so its agent can write the code that talks to Zernio and test it against your real accounts in the same chat.

  • TikTok Ads
  • Conversions
  • Inbox
  • Analytics
  • Publishing

Join 200,000+ of the world's most ambitious developers and builders

Warner Music Group
Runable
ClickUp
MoFlo
RE/MAX
Readdy
Build Zernio into your product

Ship the signup flow with its conversion event with Cursor

In Cursor the agent edits your codebase. With the Zernio tools beside it, it can look at real platform data while it writes the webhook handler, the reply bot or the conversion call that your app will run on its own later.

  1. 01

    You are rebuilding signup in Cursor. Ask the agent to add a server-side Lead event for the TikTok Events API to the new handler.

  2. 02

    It writes the call in your code, then sends a test event through Zernio and shows what the destination accepted.

  3. 03

    Before you merge, ask it to list the TikTok Ads campaigns that point at the changed route, so none send traffic to a page that moved.

Prototype a reply bot for TikTok in your codebase

  1. 01

    Ask Cursor's agent: "pull five open TikTok conversations through Zernio and save them as fixtures in tests/fixtures/".

  2. 02

    It calls Zernio's inbox tools, writes the fixtures and a webhook handler that parses them, with tests.

  3. 03

    Next ask it to draft replies to those real conversations with your bot's logic, so you see its output on live data before anything is wired to send.

Use cases

How people run TikTok from Cursor

Reply bot prototype

You are building a bot that answers TikTok messages. Cursor's agent pulls real conversations through Zernio as fixtures and writes the handler and tests against them, before the bot sends anything.

Conversion events in the handler

While editing your checkout or signup code, the agent adds the server-side event for the TikTok Events API and sends a test through Zernio, so the tracking ships in the same pull request.

Campaigns that match the routes

Before a route changes, the agent reads the landing URLs of your TikTok Ads campaigns and checks them against the app's routes, so no campaign ends up pointing at a page you removed.

Setup

Cursor and TikTok in 4 steps

Cursor reaches TikTok through the Zernio MCP server. No Zernio server to host and no TikTok developer app of your own.

01

Connect TikTok

Sign up free and connect a TikTok account in Zernio.

Connect TikTok

02

Add the server

Put this in ~/.cursor/mcp.json, or .cursor/mcp.json to share it with the project.

03

Sign in

Open Cursor's MCP settings, find zernio and start the sign-in. Approve the connection in the browser tab it opens.

04

Check it works

In Cursor's MCP settings, confirm zernio is connected and its tools are listed.

Good to know in Cursor

  • The server can be per project (.cursor/mcp.json in the repo) or global (~/.cursor/mcp.json), so a client project can have its own Zernio account.
  • A rule in .cursor/rules can tell the agent how to use Zernio in this repo, for example never to send a reply, only to draft it.
  • Each Zernio tool call shows up in the chat next to the agent's file edits, so code and platform changes are reviewed in one place.
What it can do

What Cursor can do on TikTok

Cursor is where you build the product, so its agent can write the code that talks to Zernio and test it against your real accounts in the same chat.

Ads

Cursor's agent checks TikTok Ads campaign landing URLs against your app's routes and compares results around a code change.

Campaigns and boosted posts on TikTok Ads, from a separately connected ad account.

TikTok Ads with Zernio

Conversions

Cursor's agent writes the server-side TikTok Events API call into your handler and sends a test event before you merge.

TikTok Events API: website events to a pixel, or offline events to an offline event set, sent server-side.

Conversions API docs

Inbox

Cursor's agent reads real TikTok messages to build and test the reply logic or webhook handler you are writing.

  • Replies only, up to 10 messages within 48 hours of the user's last message, on TikTok Business Accounts registered outside the EEA, Switzerland and the UK.
  • Read, post, reply to, like, hide, pin and unpin comments.

Analytics

Cursor's agent reads TikTok analytics so the dashboard or report code you write matches the real fields.

Likes, comments, shares and views per post.

Publishing

Cursor's agent drafts the TikTok announcement for the branch you are working on, to go out after it merges.

  • Video posts, one video per post
  • Photo carousels of up to 35 images
Prompts

Ask in plain words. Cursor picks the tools.

Written for how Cursor works. Copy one, change the details.

Build Zernio into your product, in Cursor

Limits

TikTok rules the agent runs into

Set by TikTok's API or by Zernio, whichever agent you use. Checked against the Zernio TikTok docs on December 4, 2026.

  • Every post needs media, so there are no text-only posts.
  • Every post must confirm content preview and express consent, a TikTok legal requirement.

Connecting Cursor is free. Its calls bill like the API requests behind them.

Each TikTok account counts as one connected account. The first 2 connected accounts are free, then $6 per account a month, falling to $1 as you add more.

Frequently Asked Questions

Connect a TikTok account in Zernio first. Then, in Cursor: add the server and sign in. In Cursor's MCP settings, confirm zernio is connected and its tools are listed.

Either. In a repo's .cursor/mcp.json it is there for that project only; the same entry in ~/.cursor/mcp.json adds it everywhere.

Yes. The Zernio tools sit beside Cursor's editing tools, so one request can change the code that sends an event and then check the result on TikTok through Zernio.

No. Cursor uses the MCP server while you build. The code it writes, like a webhook handler or a reply bot, calls the Zernio API with your API key and runs without Cursor.

Yes. Add a rule in .cursor/rules, for example to draft replies but never send them, or to ask before pausing a campaign. Set it to apply always and the agent follows it in that project.

Likes, comments, shares and views for every post. Accounts connected through the Business app also get reach, saves, watch time, completion rate, impression sources and retention curves, which TikTok fills 24 to 48 hours after posting.

Give Cursor your TikTok account

Connect a TikTok account, add Zernio to Cursor, and ask.

  • TikTok Ads
  • Conversions
  • Inbox
  • Analytics
  • Publishing