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 Salesforce already connected — the connector acts on that connection, so GitHub Copilot never handles a Salesforce 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
What permissions this needs
Connecting Salesforce to GitHub Copilot yourself means a Salesforce REST API (SOQL) integration, and these are the permissions and gates it runs into. Through Sprites you sign in with OAuth instead, with no developer token or app review of your own.
api scope
Lets an app call the REST API as the signed-in user, within that user’s permissions.
refresh_token scope
Keeps the connection alive without asking you to sign in again.
Connected App
The do-it-yourself route registers its own app in Setup, with its own consumer key and secret.
What Sprites asks for when you connect
Salesforce sign-in with the api and refresh_token scopes. Sprites only runs aggregate read queries for leads, opportunities and won deals; it writes nothing.
What you skip
You register no Connected App and handle no consumer secret. GitHub Copilot signs in to Sprites with OAuth and never holds a Salesforce credential.
Official Salesforce MCP vs Sprites MCP
Salesforce runs its own MCP server at your own org, once an admin enables it in Setup. Here is what each one covers, so you can pick the one that fits in GitHub Copilot — or connect both.
Salesforce runs its own hosted MCP servers, generally available for Enterprise Edition orgs and above. They are off by default until an admin enables them in Setup, where admins can also create custom servers. Salesforce also ships the DX MCP server (@salesforce/mcp), a developer tool it labels beta. Neither knows anything about your ad accounts.
| Salesforce officialyour own org, once an admin enables it in Setup | Sprites MCPapproval-gated | |
|---|---|---|
| Status | Hosted servers generally available; DX server labelled beta | Available now on every paid plan |
| Setup | An admin enables servers in Salesforce Setup | Sign in to Salesforce once inside Sprites |
| Reaches | Your Salesforce org | Salesforce beside Google Ads, Meta, LinkedIn, TikTok, Reddit, GA4 and SEO |
| Salesforce access | Set by the servers your admin enables | Read-only: api and refresh_token scopes, no write tool |
| Attribution | CRM data only | Won deals and pipeline counted against the ad spend |
| Cost | Aimed at Flex Credits customers; usage may be billed | Included with Sprites; CRM integration is a Scale plan feature |
If you want an agent working inside Salesforce itself, querying and acting on records, Salesforce’s own servers are built for that. Use Sprites when the question is a marketing one: are the leads and won deals the ad accounts should be producing arriving, and what to change in those accounts if not, with Salesforce itself left untouched.
Why run Salesforce ads through Sprites
GitHub Copilot is the interface; the connector decides what it can see and what it is allowed to do. Six things change when that connector is Sprites.
The CRM next to the ad accounts
A Salesforce-only connector answers with Salesforce. Sprites reads it beside Google Ads, Meta and LinkedIn, so a goal on won deals sits next to the spend, and the budget move it implies is the next question.
Every channel on one connectorRead-only by scope
Sprites asks Salesforce for the api and refresh_token scopes and ships no tool that writes to it. Nothing about Salesforce can be changed from a prompt, however it is phrased.
Your records stay in Salesforce
Numbers are read live with aggregate queries when asked. Sprites keeps no synced copy of your leads or opportunities, and a failed read keeps the last good numbers rather than showing a wrong one.
Run the first prompt
Ask GitHub Copilot this. It routes to a Sprites door, which reads your Salesforce account and answers — no account to name, no confirmation to give first.
- With Sprites, set a goal of 20 won deals in Salesforce this quarter.
- Ask Sprites how many new Salesforce leads came in this month next to our ad spend.
- Use Sprites to track Salesforce pipeline created against our LinkedIn budget.
- Every Monday, have Sprites check the won-deals goal against last week’s ad spend.
Open the Copilot Chat tool picker in agent mode; Sprites appears with its tools, each one toggleable.
Running Salesforce from GitHub Copilot
The jobs people hand over first, start to finish: what you type, what Sprites does with it, and what comes back to approve.
Won deals goal
You, in GitHub CopilotWith Sprites, set a goal of 20 won deals in Salesforce this quarter.
- Sprites does
- Creates a goal on the Salesforce deals-won series and reads progress from Salesforce by close date.
- You get back
- A goal with its current count and pace, beside the spend in your ad accounts.
Pipeline against budget
You, in GitHub CopilotAsk Sprites to track Salesforce pipeline created against our LinkedIn spend.
- Sprites does
- Reads opportunities created and their amount per day from Salesforce, and the matching spend from the ad account.
- You get back
- Pipeline created per day next to spend, so a slow week shows up with its cause.
What GitHub Copilot can do with Salesforce
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.
Salesforce next to the ad accounts
Salesforce sits beside Google Ads, Meta and LinkedIn in the same Sprites workspace, so a goal on won deals or pipeline is judged against the spend that should have produced it, not a click count.
Five numbers, read live
New leads, opportunities created, pipeline created, deals won and won value, each as a daily series. They are read from Salesforce when asked with aggregate queries, with no sync and no stored copy of your records.
Days that match your reports
Created dates are counted in the connected user’s own calendar day, and won deals by close date, which is how that user’s Salesforce reports count them. Multi-currency orgs stay in one currency, with a warning when deals were converted.
Goals on CRM outcomes
Ask for a goal such as 20 won deals this quarter and Sprites tracks it from Salesforce itself, so the target is a revenue outcome rather than a form fill.
Nothing is written to Salesforce
The connection asks Salesforce for the api and refresh_token scopes and Sprites ships no tool that writes a lead, opportunity or note. The changes Sprites proposes land in your ad accounts, each as an approval card.
How approvals work here
GitHub Copilot renders tool results as text, so a Salesforce 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
- New leads per day
- Opportunities created per day, with their summed amount (pipeline created)
- Opportunities won per day, by close date, with their summed amount (won value)
- Currency, in multi-currency orgs, so sums stay in one currency
What it can change
- Nothing is written to Salesforce: the connection is read-only
- No leads, opportunities, notes or fields are created, edited or deleted
- Ad-account changes that follow from the numbers are approval cards in Google Ads, Meta or LinkedIn
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.
And on the Salesforce side
Salesforce says Sprites cannot stay connected.
Sprites needs the refresh_token scope. Ask your Salesforce admin to allow it for the Sprites app, then reconnect on the Sprites integrations page.
Numbers are missing and Salesforce reports an API error.
The Salesforce user needs "API Enabled", and the org’s rolling 24-hour API allowance may be spent. Sprites keeps the last good numbers and tries again later.
My sandbox or My Domain org will not connect.
Choose sandbox when you sign in, or use your org’s My Domain address. Government Cloud and China orgs are not supported yet.
Won value looks different from a Salesforce report.
Sprites sums the Amount field in your org’s corporate currency and counts won deals by close date. A report built on a different field or date will differ.
Salesforce 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 Salesforce account without asking?
GitHub Copilot renders tool results as text, so a Salesforce 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 Salesforce API key or developer token?
No. Salesforce is connected once inside Sprites through Salesforce (OAuth, read-only: api and refresh_token scopes), and the connector acts on that connection. You register no Connected App and handle no consumer secret. GitHub Copilot never sees a credential for it.
Why GitHub Copilot for Salesforce 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 Salesforce MCP server?
Yes, two. Salesforce Hosted MCP Servers are generally available for Enterprise Edition orgs and above, and an admin has to enable them in Setup. The Salesforce DX MCP server (@salesforce/mcp) is an open-source developer tool that Salesforce labels beta. Sprites is a separate MCP server that reads Salesforce beside your ad accounts and never writes to it.
Which Sprites plan includes Salesforce?
The pricing page lists CRM integration, covering Zoho CRM, HubSpot, Salesforce and Pipedrive, as a Scale plan feature. The MCP server itself comes with every paid plan.
Keep going
The same GitHub Copilot connector reaches every other channel — nothing else to add.
Salesforce, from GitHub Copilot
Paste one URL, sign in once, and the next Salesforce question you ask GitHub Copilot gets answered from the live account.