Add Sprites to Gemini
Available on Gemini CLI, free and paid, on macOS, Linux and Windows. You need a Sprites account with LinkedIn Ads already connected — the connector acts on that connection, so Gemini never handles a LinkedIn credential.
Open the Gemini settings file
Gemini CLI keeps MCP servers in its settings JSON. Use ~/.gemini/settings.json to have Sprites available everywhere, or .gemini/settings.json inside a project to scope it there.
Gemini CLI~/.geminisettings.jsonAdd Sprites under mcpServers
Use httpUrl, not url or command — that is the key Gemini CLI reads for a streamable HTTP endpoint. A url entry is treated as SSE and a command entry as a local process, and neither is what this is.
~/.gemini/settings.json{ "mcpServers": { "sprites": { "httpUrl": "https://mcp.sprites.ai/mcp" } } }Sign in
Gemini CLI supports OAuth 2.0 for remote servers and discovers the authorization server from the endpoint itself. Restart the CLI, and the first call opens a browser for the Sprites consent screen; the token is stored in ~/.gemini/mcp-oauth-tokens.json.
Spriteswants access on behalf of Gemini- Read your connected ad accounts and site data
- Draft campaigns, creatives and pages for your approval
- Apply only the changes you approve
AllowCancelCheck it landed
Type /mcp in the CLI to list every server and the tools it exposes, or run gemini mcp list from a shell to see connection status without opening a session.
Terminalgemini mcp list
Run the first prompt
Ask Gemini this. It routes to a Sprites door, which reads your LinkedIn Ads account and answers — no account to name, no confirmation to give first.
- With Sprites, what is our LinkedIn CPL by job function this quarter?
- Use Sprites to build an ABM campaign for Series B fintechs in the US, 200-1000 employees.
- Ask Sprites which LinkedIn audiences are saturated and should be rotated.
- Have Sprites draft 3 new sponsored-content intros for our best-performing lead-gen form.
- With Sprites, compare LinkedIn spend and leads this month against last month.
Run `gemini mcp list`, or type /mcp inside the CLI — Sprites should show as connected with its tools listed.
What Gemini can do with LinkedIn Ads
The same doors, whichever client you are in. The account and the analytics are already Google: Gemini reads Google Ads and GA4 alongside Search Console without leaving the family it belongs to.
Cost per lead that names the segment
CPL by job function, seniority, company size and account, not one number for the whole account.
Build the ABM list in the chat
ICP criteria in, a matched company audience out, with the reach per tier stated before you spend.
Multi-thread the buying committee
Separate audiences for the champion, the economic buyer and the blocker, each with its own message.
Refresh sponsored content
New intros and creative drafted against what already converts, previewed in the feed.
Catch the quiet CPL drift
Frequency, audience saturation and the week the form fill rate started sliding.
Report without exporting
A period comparison your agent can read aloud, sourced from Campaign Manager rather than a slide.
How approvals work here
Gemini renders tool results as text, so a LinkedIn 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, campaign groups, creatives and audiences
- Spend, impressions, clicks, leads, CPL and form completion rate
- Demographic breakdowns: function, seniority, company, industry
- Matched-audience size and account coverage
What it can change
- Create campaigns, audiences, matched account lists and creatives
- Budgets, schedules, bids, targeting and status
- All of it gated behind an approval card
When it does not work in Gemini
Three things go wrong in this client specifically, and each has a one-line fix.
Gemini connects but reports no tools.
The entry is probably using url rather than httpUrl, so the CLI is speaking SSE to a streamable HTTP endpoint. Change the key and restart.
Edits to settings.json do nothing.
The CLI reads its settings at startup. Restart it, then re-check with /mcp.
A project file and your home file disagree.
.gemini/settings.json in the working directory takes precedence. Keep Sprites in one of the two rather than both.
LinkedIn Ads and Gemini: questions
Which URL do I paste into Gemini?
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 Gemini change my LinkedIn Ads account without asking?
Gemini renders tool results as text, so a LinkedIn 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 LinkedIn Ads API key or developer token?
No. LinkedIn Ads is connected once inside Sprites through LinkedIn Campaign Manager, and the connector acts on that connection. Gemini never sees a credential for it.
Why Gemini for LinkedIn Ads specifically?
The account and the analytics are already Google: Gemini reads Google Ads and GA4 alongside Search Console without leaving the family it belongs to.
Does it work with LinkedIn lead-gen forms?
Yes. Form completion rate and cost per lead are read per campaign and per segment, and new lead-gen campaigns are built with the form attached.
Can it upload a target account list?
It builds one. Give it the ICP criteria and it matches companies into a LinkedIn matched audience, showing the reach per tier before anything runs.
Keep going
The same Gemini connector reaches every other channel — nothing else to add.
LinkedIn Ads, from Gemini
Paste one URL, sign in once, and the next LinkedIn question you ask Gemini gets answered from the live account.