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
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 hooks have the best 3-second hold 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, what are competitors running on TikTok in our category?
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 hook, not by campaign
Three-second hold, six-second hold and CPA per opening, so the pattern is visible before the spend is.
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 hold rate breaks trend, and what to swap in.
Spot the category move
What competitors are running now, read as angles you can test rather than clips you can watch.
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 hold, 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. Nothing is applied until you approve it, and the approval waits for you in Sprites — open it there and the same run continues.
What it reads
- Campaigns, ad groups, ads and their status
- Spend, CPA, ROAS, CTR, hold rate and completion
- Creative assets and per-creative performance
- Public competitor creative in the category
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. Nothing is applied until you approve it, and the approval waits for you in Sprites — open it there and the same run continues.
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.
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.
Does it read Spark ads?
Yes — Spark ads appear alongside in-feed creative with their own performance, so a creator post that works is visible next to the ads it beats.
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.