Codex · TikTok Ads
Manage TikTok Ads from Codex CLI with the same hosted MCP Claude uses
NotFair is a hosted TikTok Ads MCP for OpenAI's Codex CLI. One terminal command registers the server. Codex then reads live TikTok Ads data and stages writes for approval. 96 TikTok Ads tools.
96 TikTok Ads tools
Turn Codex Into Your Marketing Engine
Bring ads, search, analytics, CRM, and WordPress into your AI client. Explore each integration to see its supported actions.
Choose a platform
Choose your AI client
Install the MCP
codex mcp add NotFair-TikTokAds --url https://notfair.co/api/mcp/notfairSign in and start asking
Audit my TikTok Ads account and rank fixes by impact.How it works
From install to an approved TikTok Ads change
Connect TikTok Ads
NotFair hosts TikTok Ads OAuth. You authorize advertiser accounts without building a TikTok developer app for the MCP client.
Add Codex
From any shell where Codex CLI is installed: `codex mcp add NotFair-TikTokAds --url https://notfair.co/api/mcp/notfair`. Codex walks through OAuth and registers the MCP.
Ask, then approve writes
Codex can inspect Campaigns, ad groups, ads, reporting, and creative assets. Writes wait for your confirmation. adImageUpload and adVideoUpload accept public HTTPS URLs, not local files. API code must be zero even when HTTP is 200.
What you get
Create DISABLE unless activation is requested
TikTok publishes a first-party Agentic Hub / Marketing API MCP. NotFair hosts TikTok Ads OAuth. Local previews validate request shape; TikTok validates on apply. This is not a Google Ads impact/undo product.
Live diagnosis
Ask what is wrong. The client reads Campaigns, ad groups, ads, reporting, and creative assets.
Platform-true writes
Create delivery entities DISABLE unless activation is explicitly requested. Previews are local validation; TikTok validates on apply. Writes wait for approval and record provenance.
Hosted OAuth
NotFair hosts TikTok Ads OAuth. You authorize advertiser accounts without building a TikTok developer app for the MCP client.
Honest limits
adImageUpload and adVideoUpload accept public HTTPS URLs, not local files. API code must be zero even when HTTP is 200. TikTok publishes a first-party Agentic Hub / Marketing API MCP.
TikTok Ads tools
96 TikTok Ads tools the client can call
The advertised count is measured from the production registrar and guarded by a drift test. The table below is a representative subset of registrar operations.
| Tool | Type | Description |
|---|---|---|
runScript | read | Read-only QuickJS over campaigns, ad groups, ads, and BASIC AUCTION reports. |
campaignGet | read | Campaign inventory for the selected advertiser. |
adgroupGet | read | Ad group delivery entities. |
reportIntegratedGet | read | Integrated reporting for the selected advertiser. |
adImageUpload | write | Public HTTPS image URL upload. Local files are not accepted. |
adVideoUpload | write | Public HTTPS video URL upload. Binary MCP uploads are not accepted. |
campaignCreate | write | Create a campaign DISABLE unless activation is explicitly requested. |
adCreate | write | Create ads after approval. TikTok validates the final request on apply. |
Full tool surface: /tiktok-ads-mcp.
TikTok Ads + Codex FAQ
Direct answers for operators connecting TikTok Ads to OpenAI Codex CLI through NotFair.
Connect TikTok Ads at notfair.co, run `codex mcp add NotFair-TikTokAds --url https://notfair.co/api/mcp/notfair`, then ask Codex to inspect live data. Writes stay staged until you approve them.
Same hosted MCP endpoint, different client. Codex CLI calls NotFair using OpenAI's MCP support. Claude's connector and Claude Code call the same server from Anthropic's clients.
Only with explicit approval. Create delivery entities DISABLE unless activation is explicitly requested. Previews are local validation; TikTok validates on apply. Writes wait for approval and record provenance. adImageUpload and adVideoUpload accept public HTTPS URLs, not local files. API code must be zero even when HTTP is 200.
TikTok publishes a first-party Agentic Hub / Marketing API MCP.
Related pages
Keep evaluating the same connection.
TikTok Ads MCP
Tool surface, endpoint, and 96 TikTok Ads tools.
TikTok Ads Codex setup guide
One-liner install for OpenAI Codex CLI.
TikTok Ads for Claude
Same hosted MCP endpoint on Claude's first-class landing.
TikTok Ads for ChatGPT
ChatGPT-style workflows through an MCP-capable OpenAI client.
TikTok Ads for Grok Bot
Marketplace install for the same hosted MCP tools.
Compare TikTok Ads MCP servers
Sourced benchmark with public verification prompts.
TikTok Ads write safety
Create delivery entities DISABLE unless activation is explicitly requested. Previews are local validation; TikTok validates on apply. Writes wait for approval and record provenance.
Connect TikTok Ads to Codex
Create delivery entities DISABLE unless activation is explicitly requested. Previews are local validation; TikTok validates on apply. Writes wait for approval and record provenance.