Connect
Salesforce to
Cursor
- Where do blank sources come from?
https://mcp.lemonado.io/mcpCheck your forms and lead routing in Cursor against the leads Salesforce actually records. Lemonado connects them in about 2 minutes, no API keys needed.
https://mcp.lemonado.io/mcpWhy connect Salesforce to Cursor?
Cursor's agent can see the forms, hidden fields and lead routing code you're editing. Add Lemonado and it can compare them with what reaches Salesforce, so missing sources and broken mappings get fixed in the code before they skew the pipeline report.
All your Salesforce data
Leads and their lead source, ready to ask about.
Always today's numbers
Opportunities, stages, amounts and close dates, synced from Salesforce automatically, so answers use today's numbers.
Connect all your tools
Questions like "What does an opportunity cost?" use Salesforce and HubSpot, LinkedIn Ads at once.
How to connect Salesforce to Cursor
Before you start
- A Salesforce account you can sign in to
- Cursor installed
- A Lemonado account (the free trial works)
- 1
Connect Salesforce in Lemonado
In Lemonado, open Connectors, find Salesforce and sign in. Connect with a Salesforce login whose profile can view leads, opportunities and campaigns. Sandbox orgs work too, if you want to try it there first.
- 2
Turn on external access
In the company's settings, open External tools, turn the connection on, choose which sources it can reach and copy the server URL.
texthttps://mcp.lemonado.io/mcp - 3
Open your MCP config
Open ~/.cursor/mcp.json for every project, or .cursor/mcp.json for this project only. Create the file if it doesn't exist.
- 4
Add Lemonado
Merge this into the file and save.
json{ "mcpServers": { "lemonado": { "url": "https://mcp.lemonado.io/mcp" } } } - 5
Sign in
Cursor asks you to sign in to Lemonado. Approve access, then ask the agent about your data.
- 6
Ask Cursor about Salesforce
Try "Find last month's Salesforce leads with a blank lead source and trace them back to the form component that created them." Or ask: "Are leads routed right?" or "Are test leads getting in?"
Good to know
- Editing the file directly avoids relying on menu labels that change between Cursor versions.
What can Cursor do with Salesforce?
Cursor's agent reads your Salesforce data while it edits: it fills components with real data, checks tracking code and writes the analysis next to your code.
Find last month's Salesforce leads with a blank lead source and trace them back to the form component that created them.
264 leads have no source. 230 came from the pricing page form in components/PricingForm.tsx, which posts to Salesforce without the hidden source field.
Source: Salesforce + your code
Compare our lead routing rules in routing.ts with the owners on Salesforce leads created this week. Which leads went to the wrong team?
41 leads from EU countries went to the US team. The country check in routing.ts compares against "Europe", but Salesforce stores the region as "EMEA".
Source: Salesforce + your code
Find Salesforce leads created from our staging or preview domains, and the config that lets them through.
212 leads this quarter came from preview deploys. The form posts to production Salesforce because .env.preview reuses the live endpoint.
Source: Salesforce + your code
On Oct 2 we cut the contact form from 7 fields to 3. Show Salesforce lead volume and lead-to-opportunity rate for the 4 weeks before and after.
Leads rose 34% after the change, but conversion to opportunity fell from 14% to 9%. Company size is no longer asked, so routing is slower.
Source: Salesforce + your code
Compare this quarter's open pipeline in Commit and Best Case with what we usually close from each stage.
Commit holds $380k and usually closes at 74%, so about $281k. Best Case adds $90k at our normal 28% rate. Together that's about $306k against a $350k target.
Source: Salesforce
Compare LinkedIn lead form submissions last month with Salesforce leads that have LinkedIn as the lead source.
LinkedIn shows 186 form fills, Salesforce has 141 leads from LinkedIn. 38 of the missing ones matched existing contacts and were merged.
Source: Salesforce
Connect Salesforce to another AI app.
Claude
Connect Salesforce to Claude
ChatGPT
Connect Salesforce to ChatGPT
Claude Code
Connect Salesforce to Claude Code
VS Code (GitHub Copilot)
Connect Salesforce to VS Code (GitHub Copilot)
Codex
Connect Salesforce to Codex
Perplexity
Connect Salesforce to Perplexity
Google Antigravity
Connect Salesforce to Google Antigravity
Windsurf (Devin Desktop)
Connect Salesforce to Windsurf (Devin Desktop)
Zed
Connect Salesforce to Zed
n8n
Connect Salesforce to n8n
Other integrations for Cursor
All Cursor integrations- HubSpot in CursorAsk Claude, ChatGPT or Cursor which campaigns bring deals, with HubSpot next to your ad spend.
- LinkedIn Ads in CursorAsk Claude, ChatGPT or Cursor about LinkedIn campaigns, lead forms and who converts.
- Google Ads in CursorAsk Claude, ChatGPT or Cursor about your Google Ads campaigns, search terms and spend.
- Google Analytics in CursorAsk Claude, ChatGPT or Cursor about GA4 traffic, conversions and funnels, next to your ad spend.
- Semrush in CursorAsk Claude, ChatGPT or Cursor about rankings and keyword gaps, with Search Console and Google Ads in the same answer.
- Ahrefs in CursorAsk Claude, ChatGPT or Cursor about backlinks and top pages, with Search Console and GA4 next to them.
Reading this as an AI agent?
Everything an agent needs to set this up, in plain text. Paste this page's link into Cursor and ask it to connect you, or copy the block.
# Connect Salesforce to Cursor (Lemonado MCP)
- Server URL: https://mcp.lemonado.io/mcp
- Transport: Streamable HTTP
- Auth: OAuth; the user signs in to Lemonado in the browser. No API keys.
- In Lemonado: connect the Salesforce org. Connect with a Salesforce login whose profile can view leads, opportunities and campaigns. Sandbox orgs work too, if you want to try it there first.
- In Cursor: ~/.cursor/mcp.json
```json
{
"mcpServers": {
"lemonado": {
"url": "https://mcp.lemonado.io/mcp"
}
}
}
```
First question to try: "Find last month's Salesforce leads with a blank lead source and trace them back to the form component that created them."
More: https://lemonado.io/integrations/salesforce · https://lemonado.io/llms.txtFrequently Asked Questions
No. Through Lemonado, Cursor reads Salesforce to check your forms and routing; it doesn't edit leads or opportunities. The fixes happen in your code, where the tracking and routing live.
Yes. Salesforce's hosted MCP servers is hosted, so Cursor can use it too. It covers Salesforce only. Lemonado covers Salesforce plus your ad platforms, GA4 and the rest of your stack in one connection, so Cursor can answer questions across them.
Open Cursor's settings and find lemonado in the MCP list. A red dot or a sign-in prompt means the login expired. Restart Cursor after editing mcp.json. In Lemonado, check that Salesforce is connected and External tools is on for the company. If records are missing, check that user's profile and sharing rules. Salesforce only shares what that user can see, and your edition needs API access.
Yes, if both are connected in Lemonado. One connection reaches every source you allow, so you can ask things like "Compare LinkedIn lead form submissions last month with Salesforce leads that have LinkedIn as the lead source."
MCP is included in Lemonado's paid plans and in the free trial, so you can try it before you pay.
Still have a question?
Shoot us an email at hello@lemonado.io.
Try for freeStop fighting with data. Start feeding your AI.
Connect your data to AI and free your team from reporting and busywork.
Try Lemonado free