Repository avatar
Other Tools
v1.0.0
active

salesforce

ai.sprites/salesforce

Salesforce for marketing agents: leads, pipeline and won deals beside ad spend.

Documentation

Salesforce MCP Server

The Sprites MCP server connects Salesforce to Claude, ChatGPT and any MCP client, beside your ad accounts. Sprites reads your leads, opportunities and won deals so goals and funnel numbers count them, then acts on the ad accounts. Salesforce is read-only: Sprites never creates, edits or deletes a Salesforce record.

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 Salesforce 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

DateChange
2026-11-27Initial public release of connector docs and configs

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 Salesforce in Sprites. Sign up at sprites.ai and connect Salesforce and your ad accounts 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, set a goal of 20 won deals in Salesforce this quarter."

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

ClientHow
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)
ClineRemote Servers tab, transport Streamable HTTP; in the file, "type": "streamableHttp"
LovableConnectors, Custom MCP, paste the URL
Grokgrok.com/connectors, New Connector, Custom (paid tiers)
DevinCustomize, MCPs, Add custom MCP, transport HTTP, authentication OAuth
Replit AgentIntegrations, MCP Servers, Add MCP server, Test & Save

Copy-ready files for each are in configs/.

What it can read

  • 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 (with your approval)

  • 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

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

  • 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. 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.
  • Your AI client never holds a platform 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 Salesforce work:

ToolWhat it does on Salesforce
run_taskA goal set on Salesforce leads, pipeline or won value, tracked against your ad spend.
schedule_taskA recurring check of the Salesforce goal against spend that runs on its own.

CRM numbers are read inside Sprites beside your ad accounts; name the ad channel, or all, when you ask.

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.

Full tool list (20 tools, plus approve_change on clients without cards)
ToolTypeWhat it does
analyzereadPerformance, reports, spend, revenue and Shopify sales questions, period comparisons, diagnosing a drop. Reads only.
researchreadCompetitors and their ads, keyword research (paid or SEO), market and audience research, AI visibility.
optimizewriteAudits, wasted spend, scaling winners, moving budget. Reads, reports, and queues the recommended changes as approval cards.
create_creativewriteAd copy, headlines and descriptions, and written concepts for image or video ads. Writes creative; does not generate images, video or audio.
launchwriteNew campaigns, ad sets or ad groups, audiences, retargeting, duplicating a campaign, A/B tests, proposed as approval cards.
changewriteOne named edit: budget, pause or enable, keywords or negatives, targeting, rename. Opens one approval card.
schedule_taskwriteRecurring work that runs inside Sprites: weekly briefs, monitors, alerts, recurring content.
write_seo_blog_postwriteA researched blog post for your site, drafted in your CMS and published once approved.
create_seo_pagewriteCreate or edit a landing or service page, meta titles and descriptions, schema; a diff card before publishing.
create_aeo_contentwriteContent meant to be cited by ChatGPT, Perplexity, Gemini or AI Overviews: answer, FAQ and comparison pages, llms.txt.
run_taskwriteAnything else: setup, capability questions, cross-channel and multi-step jobs.
linkedin_ads_reportreadLinkedIn Ads performance: spend, leads, CPL, CTR, reach, period comparisons.
linkedin_forecastreadLinkedIn's own forecast for up to 5 audiences: members, cost per lead, CPC and CTR over 30 days. Creates nothing.
linkedin_ads_campaignwriteCreate a LinkedIn campaign: Sponsored Content, lead gen forms, message ads, retargeting.
linkedin_abm_campaignwriteLinkedIn account-based marketing: target account lists, company matched audiences.
linkedin_adswriteAny other LinkedIn Ads task, routed by intent (audit, budget, pause, targeting, creative).
account_statusreadWhich channels are connected in Sprites and how many credits are left.
choose_businesswriteSelect which Sprites business the tools work on, by name, or list your businesses.
task_statusreadStatus and result of a Sprites task by its run id.
cancel_taskwriteStop a running task.
approve_changewriteOnly 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, set a goal of 20 won deals in Salesforce this quarter.
  2. Ask Sprites how many new Salesforce leads came in this month next to our ad spend.
  3. Use Sprites to track Salesforce pipeline created against our LinkedIn budget.
  4. Every Monday, have Sprites check the won-deals goal against last week’s ad spend.

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

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.

How does it compare with other Salesforce MCP servers? Salesforce Hosted MCP Servers are generally available for Enterprise Edition orgs and above, off by default until an admin enables them. The Salesforce DX MCP server (@salesforce/mcp) is an open-source developer tool that Salesforce labels beta. Community Salesforce MCP servers on GitHub run on credentials you supply yourself, and vary in what they can write. Sprites reads leads, opportunities and won deals from Salesforce beside the ad accounts, so goals count revenue outcomes against the spend that produced them. Salesforce is read-only: nothing is written, edited or deleted.

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.

Can Sprites write to Salesforce? No. The connection is read-only. Sprites asks Salesforce for the api and refresh_token scopes, reads counts and sums, and has no tool that creates, edits or deletes a lead, opportunity or note.

Can I browse Salesforce records from Claude or ChatGPT? Not through Sprites. Sprites reads five numbers from Salesforce, new leads, opportunities created, pipeline created, deals won and won value, so goals and funnels count them. To query or edit arbitrary records from an agent, use Salesforce’s own hosted MCP servers.

Does it use my Salesforce API allowance? Yes. Reads count against your org’s Salesforce API limits like any integration, and Sprites uses aggregate queries so a day’s numbers are a few calls rather than a walk through every record. The Salesforce user needs API access enabled.

Does it work with sandboxes? Yes. Production orgs sign in through login.salesforce.com, sandboxes through test.salesforce.com, and orgs on a My Domain URL are supported. Government Cloud and China orgs are not.

Which agents can I use it from? Claude, ChatGPT, Codex, Cursor and Grok, plus any other client that speaks remote MCP. Salesforce is connected once inside Sprites; the agent never holds a Salesforce token.

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. Salesforce is billed by its own vendor 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.