Add Sprites to GitHub Copilot
Available on Copilot in VS Code, and Copilot CLI. Any Copilot plan that includes agent mode. You need a Sprites account with TikTok Ads already connected — the connector acts on that connection, so GitHub Copilot never handles a TikTok credential.
Open the MCP configuration
Run MCP: Add Server from the Command Palette and choose Workspace or Global. Workspace writes .vscode/mcp.json, which is worth committing so the team shares the same connector; Global keeps it to you across every project.
VS CodeCommand PaletteMCP: Add ServerWorkspaceAdd Sprites as an HTTP server
The top-level key is servers, not mcpServers, and a remote endpoint needs an explicit type of http. This is the shape VS Code and Copilot share.
.vscode/mcp.json{ "servers": { "sprites": { "type": "http", "url": "https://mcp.sprites.ai/mcp" } } }Authenticate
VS Code shows an Auth action above the server entry once the file is saved. Run it, sign in to Sprites in the browser window that opens, and approve the scopes.
Spriteswants access on behalf of Copilot- Read your connected ad accounts and site data
- Draft campaigns, creatives and pages for your approval
- Apply only the changes you approve
AllowCancelSwitch Copilot Chat to agent mode
MCP tools are only offered to the agent. Pick Agent from the mode dropdown in Copilot Chat, then open the tool picker and confirm Sprites is listed.
Agent modeCopilot Chat → mode dropdown
Official TikTok Ads MCP vs Sprites MCP
TikTok runs its own MCP server at business-api.tiktok.com/open_mcp/tt-ads-mcp-layer. Here is what each one covers, so you can pick the one that fits in GitHub Copilot — or connect both.
TikTok for Business hosts its own MCP server for the Marketing API, with no developer credentials needed. It comes in two shapes: a flat server exposing about 400 tools, and a layered one exposing about 40 core tools and loading the rest as needed. Between them they read and write campaigns, audiences, bidding, creative and catalogs — on TikTok, and only TikTok.
| TikTok officialbusiness-api.tiktok.com/open_mcp/tt-ads-mcp-layer | Sprites MCPapproval-gated | |
|---|---|---|
| Endpoint | business-api.tiktok.com/open_mcp/tt-ads-mcp-layer (or -flat) | mcp.sprites.ai/mcp |
| Tools | About 40 core tools layered, or about 400 flat | Broad doors: analyze, optimize, launch, change |
| Channels | TikTok | TikTok plus Meta, Google Ads, LinkedIn, Reddit, GA4 and SEO |
| Writes | Campaigns, audiences, bidding and creative through the API | Each change an approval card with before and after, applied only on approve |
| New creative | Manages creative you have uploaded | Drafts hooks, scripts and concepts from the ads converting in your account |
| Analysis | Returns data for the model to read | A TikTok specialist compares CPA and CTR across every ad before answering |
If you run TikTok alone and want its data and controls in a chat, TikTok’s own server is the direct route — choose the layered version so 400 tool descriptions do not crowd out your question. 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 your team can see.
Run the first prompt
Ask GitHub Copilot this. It routes to a Sprites door, which reads your TikTok Ads account and answers — no account to name, no confirmation to give first.
- With Sprites, which TikTok ads have the lowest CPA this month?
- Ask Sprites for 6 new TikTok hooks based on our top performer.
- Use Sprites to find TikTok ad groups spending with no conversions in 7 days.
- Have Sprites launch a TikTok campaign for the summer bundle at $150/day.
- With Sprites, find TikTok hook ideas in what our customers complain about on Reddit.
Open the Copilot Chat tool picker in agent mode; Sprites appears with its tools, each one toggleable.
What GitHub Copilot can do with TikTok Ads
The same doors, whichever client you are in. Marketing data inside the editor where the tracking code lives, so a conversion event can be checked against what GA4 actually recorded before the pull request is opened.
Read performance by ad, not just by campaign
Spend, CTR, CPC, conversions and CPA for every ad, so the openings that convert stand apart from the ones that do not.
Keep the batch coming
New hooks and scripts drafted against the ones already earning, in the volume the platform demands.
Rotate before the drop
The day a creative's CPA breaks trend, and what to swap in.
Hooks from real audience language
Pain points and phrasing mined from Reddit threads in your category, turned into openings you can test.
Launch in the right shape
Campaign, ad groups and ads built for TikTok's structure, not a search campaign wearing a costume.
Stop feeding the losers
Ad-group spend moved onto the creatives that convert, with the trade stated in the card.
How approvals work here
GitHub Copilot renders tool results as text, so a TikTok change comes back written out rather than as a card. The approval waits for you in Sprites — open it there and the same run continues. Nothing is applied until you approve it.
What it reads
- Campaigns, ad groups, ads and their status
- Spend, impressions, clicks, CTR, CPC, CPM, conversions and CPA
- Per-ad performance for every creative
- Your uploaded videos, images and music
What it can change
- Create campaigns, ad groups and ads
- Budgets, schedules, statuses and targeting
- New hooks and scripts, previewed before they ship
When it does not work in GitHub Copilot
Three things go wrong in this client specifically, and each has a one-line fix.
Sprites is configured but Copilot never uses it.
Chat is not in agent mode. Ask mode does not call MCP tools at all.
The config is ignored.
The top-level key is servers. mcpServers is the shape other clients use and VS Code does not read it.
Teammates do not see the connector.
It was added Globally rather than to the Workspace. Move it to .vscode/mcp.json and commit that file; each person still signs in as themselves.
TikTok Ads and GitHub Copilot: questions
Which URL do I paste into GitHub Copilot?
https://mcp.sprites.ai/mcp. There is one endpoint and every client uses it — every OAuth grant is bound to exactly that address, so a variant of it will not be honoured.
Can GitHub Copilot change my TikTok Ads account without asking?
GitHub Copilot renders tool results as text, so a TikTok change comes back written out rather than as a card. The approval waits for you in Sprites — open it there and the same run continues. Nothing is applied until you approve it.
Do I need a TikTok Ads API key or developer token?
No. TikTok Ads is connected once inside Sprites through TikTok Ads Manager, and the connector acts on that connection. GitHub Copilot never sees a credential for it.
Why GitHub Copilot for TikTok Ads specifically?
Marketing data inside the editor where the tracking code lives, so a conversion event can be checked against what GA4 actually recorded before the pull request is opened.
Is there an official TikTok Ads MCP server?
Yes. TikTok for Business runs its own hosted MCP server, in two shapes: a flat server with about 400 tools and a layered one with about 40 core tools loaded progressively. It reads and writes TikTok only. Sprites is a separate server that covers TikTok with Meta, Google, LinkedIn and Reddit, drafts new hooks and concepts, and holds every change for approval.
Can it upload video?
It drafts hooks, scripts and concepts and proposes the ad; the video file itself is attached in the approval card before anything publishes.
Keep going
The same GitHub Copilot connector reaches every other channel — nothing else to add.
TikTok Ads, from GitHub Copilot
Paste one URL, sign in once, and the next TikTok question you ask GitHub Copilot gets answered from the live account.