Skip to main content
Glama
TikTok Ads MCP Server

TikTok Ads MCP Server

by sprites-mcp

TikTok Ads MCP Server

Connect TikTok Ads Manager to Claude, ChatGPT, Cursor and any MCP client. See CPA and CTR for every ad, draft the next batch of hooks, and launch or change campaigns, with every change approved by you first.

License: MIT MCP: remote Transport: streamable HTTP Auth: OAuth Hosted by Sprites

Server URL: https://mcp.sprites.ai/mcp · streamable HTTP · OAuth sign-in · 6 read tools · 14 write tools · every write approved by you

This repository holds the documentation, client configs and MCP Registry metadata for the hosted TikTok Ads MCP server run by Sprites. The server itself is hosted by Sprites and its source is not in this repository. There is nothing to install or run.

What's new

Date

Change

2026-11-23

Initial public release of connector docs and configs

Related MCP server: tiktok-ads-mcp-server

Works with

  • Claude: claude.ai and Claude Desktop, custom connector (renders approval cards)

  • Claude Code: claude mcp add

  • ChatGPT: developer mode app (Plus, Pro, Business, Enterprise, Edu) (renders approval cards)

  • Codex: codex mcp add or config.toml

  • Cursor: mcp.json

  • Gemini CLI: settings.json

  • GitHub Copilot (VS Code): .vscode/mcp.json, agent mode

  • Google Antigravity: mcp_config.json

  • Windsurf: mcp_config.json

  • Lovable: Connectors, Custom MCP

  • Grok: grok.com/connectors, Custom

  • Cline: Remote Servers, Streamable HTTP

  • Devin: Customize, MCPs

  • Replit Agent: Integrations, MCP Servers

Any other client that speaks remote MCP over streamable HTTP with OAuth should work with the same URL.

Quick start

  1. Connect TikTok Ads in Sprites. Sign up at sprites.ai and connect TikTok Ads once in the Sprites integrations menu. Start a trial from the Sprites site.

  2. Add the server to your client with the URL https://mcp.sprites.ai/mcp (one endpoint for every client and every channel).

  3. Sign in. Your client opens the Sprites consent screen. Sign in with the account your channels are connected to and approve.

  4. Ask. Try: "With Sprites, which TikTok ads have the lowest CPA this month?"

Setup by client

Claude (claude.ai and Claude Desktop)

Works on Free (one custom connector), Pro, Max, Team and Enterprise.

  1. Settings, then Customize, then Connectors. On Team and Enterprise an Owner adds it once under Organization settings, Connectors.

  2. Click +, then Add custom connector. Name it Sprites and paste https://mcp.sprites.ai/mcp. Leave Advanced settings empty.

  3. Click Connect, sign in to Sprites and approve.

Claude draws the Sprites approval card in the chat, so you can edit a budget or a headline in place and approve it.

Claude Code

claude mcp add --transport http sprites https://mcp.sprites.ai/mcp

Then type /mcp inside Claude Code to finish the browser sign-in.

ChatGPT

Plus, Pro, Business, Enterprise and Edu, on the web app. Not available on Free.

  1. Settings, Security and login: turn on Developer mode. On Business and Enterprise an admin has to allow it first.

  2. Settings, Plugins (formerly Connectors), then + to create an app.

  3. Name Sprites, MCP server URL https://mcp.sprites.ai/mcp, Authentication OAuth. Tick the trust box and click Create.

  4. Connect the app and sign in to Sprites.

Cursor

~/.cursor/mcp.json (every project) or .cursor/mcp.json (one repo):

{
  "mcpServers": {
    "sprites": {
      "url": "https://mcp.sprites.ai/mcp"
    }
  }
}

Cursor discovers the Sprites authorization server from the endpoint and opens a browser to sign in.

Codex

codex mcp add sprites --url https://mcp.sprites.ai/mcp
codex mcp login sprites

Or by hand in ~/.codex/config.toml:

[mcp_servers.sprites]
url = "https://mcp.sprites.ai/mcp"
auth = "oauth"

VS Code and GitHub Copilot

.vscode/mcp.json. The top-level key is servers, not mcpServers, and a remote server needs "type": "http":

{
  "servers": {
    "sprites": {
      "type": "http",
      "url": "https://mcp.sprites.ai/mcp"
    }
  }
}

Run Auth above the entry, sign in, then switch Copilot Chat to Agent mode. Ask mode does not call MCP tools.

Gemini CLI

~/.gemini/settings.json. Use httpUrl; a url entry is treated as SSE:

{
  "mcpServers": {
    "sprites": {
      "httpUrl": "https://mcp.sprites.ai/mcp"
    }
  }
}

Restart the CLI; the first call opens the sign-in. Check with gemini mcp list.

Other clients

Client

How

Windsurf

~/.codeium/windsurf/mcp_config.json with "serverUrl": "https://mcp.sprites.ai/mcp"

Google Antigravity

~/.gemini/config/mcp_config.json with "serverUrl": "https://mcp.sprites.ai/mcp" (url and httpUrl are skipped)

Cline

Remote Servers tab, transport Streamable HTTP; in the file, "type": "streamableHttp"

Lovable

Connectors, Custom MCP, paste the URL

Grok

grok.com/connectors, New Connector, Custom (paid tiers)

Devin

Customize, MCPs, Add custom MCP, transport HTTP, authentication OAuth

Replit Agent

Integrations, MCP Servers, Add MCP server, Test & Save

Copy-ready files for each are in configs/.

What it can read

  • Campaigns, ad groups, ads and their status

  • Spend, impressions, clicks, CTR, CPC, CPM, conversions and CPA

  • Per-ad performance for every creative, Spark ads included

  • Your uploaded videos, images and music

What it can change (with your approval)

  • Create campaigns, ad groups and ads

  • Budgets, schedules, statuses and targeting

  • New hooks and scripts, previewed before they ship

Every change arrives as an approval with the before and after. In Claude and ChatGPT it is a card you can edit in place. In clients without cards, Sprites returns the change written out with a gate id, and applies it only after you confirm (approve_change). Nothing is applied by the model on its own.

Permissions

  • OAuth. You connect TikTok once inside Sprites through the TikTok for Business authorization page, where you choose the advertiser accounts to share and approve the permissions the Sprites TikTok app requests.

  • No developer app. You do not register a TikTok developer app or handle an app secret.

  • Account access. Sprites acts on the advertiser accounts you authorized, with the access your TikTok user has on them.

  • Your AI client never holds a TikTok credential. It holds a Sprites OAuth token bound to https://mcp.sprites.ai/mcp.

Tools

The server exposes 20 tools to the model: 6 read tools and 14 write tools. Write tools that touch an ad account or a site only propose; nothing reaches either until you approve it. The tools that do the TikTok Ads work:

Tool

What it does on TikTok Ads

analyze

Spend, CTR, CPC, conversions and CPA by campaign, ad group and ad.

create_creative

The next batch of hooks and scripts, drafted against the ads that convert.

optimize

Creative rotation and ad-group spend moved onto the winners.

launch

Campaign, ad groups and ads, built for TikTok's structure.

research

Hook ideas from what your audience says on Reddit, and competitor ads.

change

One budget, status or targeting edit.

schedule_task

A weekly creative report or a daily CPA check that runs inside Sprites.

TikTok Ads requests use channel: tiktok_ads. Name another channel, or all, to compare.

Every task tool takes the same input: goal (the request written to stand on its own: Sprites sees only this string, not the chat), title (a short label), channel, and today (the user's local date, so "last 30 days" resolves correctly). Long tasks return a run id; task_status collects the result and cancel_task stops it.

Tool

Type

What it does

analyze

read

Performance, reports, spend, revenue and Shopify sales questions, period comparisons, diagnosing a drop. Reads only.

research

read

Competitors and their ads, keyword research (paid or SEO), market and audience research, AI visibility.

optimize

write

Audits, wasted spend, scaling winners, moving budget. Reads, reports, and queues the recommended changes as approval cards.

create_creative

write

Ad copy, headlines and descriptions, and written concepts for image or video ads. Writes creative; does not generate images, video or audio.

launch

write

New campaigns, ad sets or ad groups, audiences, retargeting, duplicating a campaign, A/B tests, proposed as approval cards.

change

write

One named edit: budget, pause or enable, keywords or negatives, targeting, rename. Opens one approval card.

schedule_task

write

Recurring work that runs inside Sprites: weekly briefs, monitors, alerts, recurring content.

write_seo_blog_post

write

A researched blog post for your site, drafted in your CMS and published once approved.

create_seo_page

write

Create or edit a landing or service page, meta titles and descriptions, schema; a diff card before publishing.

create_aeo_content

write

Content meant to be cited by ChatGPT, Perplexity, Gemini or AI Overviews: answer, FAQ and comparison pages, llms.txt.

run_task

write

Anything else: setup, capability questions, cross-channel and multi-step jobs.

linkedin_ads_report

read

LinkedIn Ads performance: spend, leads, CPL, CTR, reach, period comparisons.

linkedin_forecast

read

LinkedIn's own forecast for up to 5 audiences: members, cost per lead, CPC and CTR over 30 days. Creates nothing.

linkedin_ads_campaign

write

Create a LinkedIn campaign: Sponsored Content, lead gen forms, message ads, retargeting.

linkedin_abm_campaign

write

LinkedIn account-based marketing: target account lists, company matched audiences.

linkedin_ads

write

Any other LinkedIn Ads task, routed by intent (audit, budget, pause, targeting, creative).

account_status

read

Which channels are connected in Sprites and how many credits are left.

choose_business

write

Select which Sprites business the tools work on, by name, or list your businesses.

task_status

read

Status and result of a Sprites task by its run id.

cancel_task

write

Stop a running task.

approve_change

write

Only on clients that do not render the approval card (Codex, Cursor, Claude Code and others): apply or decline a pending change by its gate id, after you confirm it.

Example prompts

  1. With Sprites, which TikTok ads have the lowest CPA this month?

  2. Ask Sprites for 6 new TikTok hooks based on our top performer.

  3. Use Sprites to find TikTok ad groups spending with no conversions in 7 days.

  4. Have Sprites launch a TikTok campaign for the summer bundle at $150/day.

  5. With Sprites, find TikTok hook ideas in what our customers complain about on Reddit.

  6. Use Sprites to compare our Spark ads against in-feed ads on CPA last 30 days.

  7. Ask Sprites to pause the TikTok ads whose CPA is double the account average.

  8. With Sprites, write three 15-second scripts in the style of our best ad.

  9. Have Sprites raise the budget on our best TikTok ad group by $40/day.

  10. Use Sprites to check TikTok creative fatigue every morning and tell me only when it matters.

More in examples/prompts.md. Saying "with Sprites" or "use Sprites" helps clients that rank their own built-in tools first (Cursor, Grok).

Official server vs this one

TikTok for Business MCP server. TikTok for Business hosts its own MCP server for the Marketing API, with no developer credentials needed. It comes flat, with about 400 tools, or layered, with about 40 core tools that load the rest on demand. It reads and writes campaigns, audiences, bidding, creative and catalogs on TikTok only.

Official / self-hosted

Sprites (this server)

Endpoint

Hosted by TikTok for Business

https://mcp.sprites.ai/mcp

Tools

About 40 core tools layered, or about 400 flat

Task tools: analyze, optimize, launch, change and more

Channels

TikTok

TikTok plus Meta, Google Ads, LinkedIn, Reddit, Microsoft, GA4, SEO and Shopify

Writes

Through the API as tools are called

Each change an approval card with before and after

New creative

Manages creative you have uploaded

Drafts hooks, scripts and concepts from what converts

If you run TikTok alone and want its data and controls in a chat, TikTok's own server is the direct route; the layered version keeps the tool list small. Use Sprites when TikTok is one channel of several, when you want the next creative batch drafted, or when every change should wait for an approval.

FAQ

Is this a server I have to host? No. It is a hosted remote MCP server. Paste https://mcp.sprites.ai/mcp into your client and sign in.

Can it upload video? It drafts hooks, scripts and concepts and proposes the ad. The video file itself is attached in the approval before anything publishes. Sprites writes creative; this tool does not generate video.

Does it read Spark ads? Yes. Spark ads appear alongside in-feed creative with their own performance.

What if TikTok is not connected yet? Sprites says so and hands back a link to connect it. The task resumes once the channel is live.

Does it work for agencies with many TikTok accounts? Yes. The connector acts on the Sprites business you select, so you switch client with choose_business instead of re-adding the URL.

Does it cover other channels? Yes. The same URL reaches Google Ads, Meta Ads, LinkedIn Ads, TikTok Ads, Reddit Ads, Microsoft Advertising, Apple Ads, GA4, Search Console, Shopify, SEO and AI visibility, and Google Business Profile, for whatever is connected in Sprites. See ads-mcp-servers.

How much does it cost? The connector is included in every Sprites plan, and every plan starts with a short trial. See sprites.ai for current plans. TikTok Ads charges its own media cost as usual.

The client says it has no tools, or every call is unauthorized. Remove the server, re-add it with exactly https://mcp.sprites.ai/mcp, and sign in again. Grants are bound to that one URL.

How do I revoke access? Disconnect the connector in your client, or remove the connection in Sprites. The next tool call fails closed.

Maintained by Sprites

This server is built and run by Sprites, an AI marketing agent for paid ads, SEO and AI visibility.

Licensed under the MIT License. The license covers the documentation and configuration files in this repository.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI assistants to manage TikTok advertising campaigns through the TikTok Ads API. Supports campaign creation, performance analytics, audience management, creative operations, and custom reporting through natural language interactions.
      54
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      Enables MCP clients to read and analyze TikTok advertising data, with optional preview-first write tools for managing campaigns, ad groups, and budgets.
      35
      Apache 2.0
    • A
      license
      Not graded
      quality
      B
      maintenance
      A stdio MCP server that authenticates to TikTok for Business via OAuth and exposes tools to query accounts, campaigns, creatives and SKU-level performance reports, search and call the underlying Ads API tools, and export results to Excel. It lets MCP clients such as Claude Desktop or Cursor pull and analyze ad data in natural language.
      2
      MIT