Claude Code

Zernio for Claude Code

Add the server

Registers Zernio over HTTP. Nothing to install.

then sign in

Run TikTok from Claude Code

Run TikTok Ads campaigns, send conversions to the TikTok Events API, reply to DMs and comments, read analytics and publish posts on TikTok, from Claude Code. Claude Code runs in your terminal, so a long platform job can end as a CSV, a markdown report or a script committed to the repo.

  • 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
Long jobs from the terminal

A TikTok Ads audit that ends in a file with Claude Code

Claude Code is a terminal agent. Give it a job that takes many steps, like a week of conversations to sort or every campaign to audit, and it works through Zernio's tools until the job is done, then writes the result to a file you can diff, share or rerun.

  1. 01

    In a terminal, ask Claude Code: "audit every active TikTok Ads campaign and write what you find to reports/ads-audit.csv".

  2. 02

    It walks the campaigns one by one through Zernio, reading spend, results and cost per result for each ad set, and keeps going until the list is done.

  3. 03

    It writes the CSV and a short reports/ads.md with the pauses and budget moves it suggests. You mark the ones you want.

  4. 04

    It applies only the marked changes, then sends a test event to the TikTok Events API so you know the campaigns still see conversions.

Clear a backlog of TikTok messages in one sitting

  1. 01

    Ask Claude Code: "go through every open TikTok conversation, answer the ones docs/faq.md covers and list the rest in notes/escalate.md".

  2. 02

    It pages through the open threads with Zernio's inbox tools and, for a big backlog, hands batches to subagents so the work runs in parallel.

  3. 03

    It stops with the drafted replies. You approve them in the terminal and only those go out.

  4. 04

    The leftovers land in notes/escalate.md with links, ready for a person to pick up.

Use cases

How people run TikTok from Claude Code

Weekly ads audit

Claude Code reads every active TikTok Ads campaign, writes spend and cost per result to a CSV, and proposes pauses in a markdown file. Nothing changes until you mark the ones to apply.

Feedback export

Claude Code exports a month of TikTok messages to a CSV with a topic per row, so product and support can sort what people asked for without opening the app.

Scheduled report

A script runs claude -p each Monday. It pulls TikTok analytics through Zernio, rewrites reports/social.md with the week's numbers, and the change shows up in git as a diff.

Setup

Claude Code and TikTok in 4 steps

Claude Code 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

One command registers Zernio over HTTP.

03

Sign in

Run /mcp, pick zernio and approve in the browser window that opens. No API key to paste.

04

Check it works

Run claude /mcp again and confirm zernio is listed as connected.

Good to know in Claude Code

  • Claude Code asks before each Zernio tool call. Allow the zernio tools in .claude/settings.json once you trust them, so long jobs do not stop for every call.
  • Hooks can run your own command before or after a Zernio tool call, for example to log every reply sent or block a pause outside work hours.
  • claude -p runs a prompt without the interactive session, so a cron job or CI step can rebuild a report on a schedule.
What it can do

What Claude Code can do on TikTok

Claude Code runs in your terminal, so a long platform job can end as a CSV, a markdown report or a script committed to the repo.

Ads

Claude Code audits every TikTok Ads campaign in one run and writes spend and cost per result to a CSV before changing anything.

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

TikTok Ads with Zernio

Conversions

Claude Code sends test events to the TikTok Events API and saves each request and response to a log file you can check later.

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

Conversions API docs

Inbox

Claude Code pages through TikTok messages in bulk, drafts replies from files in the repo and writes what it skipped to a list.

  • 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

Claude Code pulls TikTok analytics into CSV files and markdown reports that a cron job can rebuild with claude -p.

Likes, comments, shares and views per post.

Publishing

Claude Code turns a changelog or release notes into queued TikTok posts, last, after the inbox and ads work is done.

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

Ask in plain words. Claude Code picks the tools.

Written for how Claude Code works. Copy one, change the details.

Long jobs from the terminal, in Claude Code

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 Claude Code 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 Claude Code: add the server and sign in. Run claude /mcp again and confirm zernio is listed as connected.

Not by default. It asks before each tool call until you allow the Zernio tools for the session or in .claude/settings.json, so replies, ad changes and posts wait for your yes.

Yes. claude -p runs a prompt without the interactive session, so cron or a CI job can call it. Allow the Zernio tools it needs in the project settings first, or it will stop to ask.

Yes. Claude Code can hand parts of a job, like batches of conversations or one campaign each, to subagents that run with their own context and report back to the main session.

Wherever you ask: a CSV in data/, a markdown report, a JSON log. They are plain files in your repo, so you can diff them, commit them or pass them to another script.

Yes. Save the prompt as a project slash command in .claude/commands and commit it. Everyone who has added the Zernio server runs the same steps with their own sign-in.

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 Claude Code your TikTok account

Connect a TikTok account, add Zernio to Claude Code, and ask.

  • TikTok Ads
  • Conversions
  • Inbox
  • Analytics
  • Publishing