Run TikTok Ads from Codex. You approve every change.
Catch TikTok videos losing their hook, move budget between ad groups and launch video, Spark Ads or Smart+ campaigns from the terminal, with your yes on each change.
Updated
- Hook rate and fatigue checks
- Video, Spark Ads and Smart+
- You approve every change
- New campaigns start paused
What is the TikTok Ads MCP for Codex?
Adneuron is an MCP server that connects Codex to TikTok Ads. Once added, Codex can flag videos whose hook rate or click rate is sliding, move budget between ad groups, launch in-feed video, Spark Ads and Smart+ campaigns, add videos to your library from a public link and break results down by age, gender and country. It works in the Codex CLI, IDE extension and ChatGPT desktop app. Every change waits for your approval.
- Budget, pause and launch changes wait for your yes
- New TikTok campaigns are created paused
- Deleting on TikTok is permanent, so Codex offers a pause instead
- TikTok for Business sign-in; Adneuron never sees the password
How it works in Codex
Last night's spend before stand-up
Ask the Codex CLI how much each TikTok campaign spent overnight and what it returned, then keep coding. Codex can append the numbers to a daily log file in your project.
New videos from a link
Give Codex a public link to an MP4 or MOV file and Adneuron adds it to your TikTok library, ready for a new ad. It doesn't read files from your laptop.
Same setup in the ChatGPT desktop app
Codex's settings file is shared with the ChatGPT desktop app, so a fatigue check works there too, without adding Adneuron a second time.
First a tool prompt, then your yes
Codex asks whether it may use an Adneuron tool the first time. Pausing a video or launching a campaign still needs you to approve the plan.
See it in action
What Codex can do in TikTok Ads
Creative fatigue
Videos people see too often, or whose hook rate and click rate are falling, named with the spend behind each.
Budget moves
Budget shifted from weak ad groups to strong ones, plus bids, schedules, dayparting, pacing and frequency caps.
In-feed video campaigns
A campaign with its ad group and video ad built in one confirmed step, paused until you turn it on.
Spark Ads
A post from a TikTok account linked to your ad account, run as an ad so likes and follows go to the original account.
Smart+ campaigns
Sales, leads or app install campaigns where TikTok picks placements and widens targeting, with that stated in the plan.
Who responds
Spend and results by age, gender and country, and video plays, watch time, hook rate and completion rate by ad.
Prompts to try
Set up in a few minutes
- 1
Connect TikTok
Make a free Adneuron account and connect your TikTok ad account with TikTok for Business sign-in.
- 2
Run the add command
Paste codex mcp add adneuron from the setup guide into your terminal; Codex starts the browser sign-in.
- 3
Allow and ask
Pick the workspace, select Allow, and ask Codex which TikTok videos spent most this week.
Codex or the TikTok Ads website?
| Task | Adneuron in Codex | TikTok Ads website |
|---|---|---|
| Spot videos losing their hook | One question, with spend per video | Add metrics and compare by hand |
| Move budget between ad groups | Codex shows both sides; you say yes | Edit each ad group |
| Daily spend log | Codex appends it to a file | Export each day |
| Compare with Meta and Google | Yes, in one answer | TikTok only |
Questions
Setup
How do I connect TikTok Ads to Codex?
Connect your TikTok ad account in Adneuron with TikTok for Business sign-in, then run codex mcp add adneuron and sign in when the browser opens. Type /mcp to check it's listed.
Codex says Adneuron needs sign-in again. What do I do?
Run codex mcp login adneuron. The sign-in lasts until you disconnect or Adneuron access is cleared, so you shouldn't need to repeat it often. Your TikTok connection in Adneuron isn't affected.
Capabilities
How does Codex spot tired TikTok videos?
It checks how often people see each ad and whether its hook rate, the share who watch past the first two seconds, or its click rate is falling. It names the tired ads and the spend behind them.
Can Codex run Spark Ads?
Yes. It lists posts on TikTok accounts linked to your ad account; you pick one and Codex builds the campaign around it, so likes and follows go to the original account.
Does it support Smart+ campaigns?
Yes. Ask for Smart+ for sales, leads or app installs and Codex sets it up with your videos, budget and goal. Smart+ then picks placements and widens targeting itself, and the plan says so.
Safety and control
Can I undo deleting a TikTok campaign?
No. TikTok can't bring a deleted campaign back, though its past results stay in reports. Codex says so before you agree and offers pausing instead, which you can undo.
Will Codex change my TikTok ads without asking?
No. Codex shows the exact change, such as two budgets before and after or the video it will pause, and nothing happens in TikTok until you say yes.
Related integrations
Codex with other ad platforms
- Codex × Google Search AdsSearch campaigns, keywords and search terms
- Codex × Performance MaxAsset groups, signals and search themes
- Codex × Google ShoppingProduct groups, bids and product results
- Codex × Google DisplayDisplay campaigns and image ads
- Codex × YouTube AdsVideo ads through Demand Gen
- Codex × Meta AdsFacebook and Instagram campaigns
- Codex × Meta Catalog AdsCatalogs, product sets and catalog campaigns
- Codex × Meta Lead AdsLead forms and the leads they collect
- Codex × Amazon AdsSponsored Products, Brands and Display
- Codex × LinkedIn AdsB2B campaigns by job title and company
TikTok Ads in other AI assistants
- ChatGPT × TikTok AdsIn ChatGPT, from the app store
- Claude × TikTok AdsIn Claude on web, desktop and mobile
- Cursor × TikTok AdsWithout leaving the Cursor editor
Claude Code × TikTok AdsFrom your terminal with Claude Code
Devin Desktop × TikTok AdsWith Devin on your desktop
Grok × TikTok AdsIn Grok on the web
Grok Build × TikTok AdsFrom Grok Build in your terminal
GitHub Copilot × TikTok AdsIn VS Code with GitHub Copilot
Gemini × TikTok AdsIn Gemini
Manus × TikTok AdsIn Manus
Ready to connect Codex to TikTok Ads?
Free plan, no credit card. Every change waits for your yes.