Connect Cursor to Salesforce
Connect Cursor to Salesforce through ApexGenius. Query authorized records and inspect schema, Apex and Flows from your editor.
1,000 free credits · No card required
How to connect Salesforce to Cursor
FirstConnect Salesforce to ApexGenius
ThenConnect ApexGenius to Cursor
Read the steps Follow along at your own pace
1. Create your account

2. Choose Salesforce

3. Allow access

4. Choose Cursor

5. Approve access

In Cursor: Add ApexGenius as a remote MCP server in Cursor MCP settings using the hosted HTTP URL, then complete the authorization in your browser. Cursor MCP guide (opens in a new tab)
What it looks like in Cursor
Illustration of a task, not a recorded customer result. Your answers come from the account and dates you choose.
apex_search_toolsSalesforce records · Find the Salesforce read pathCompleteapex_call_read_toolquery_soql · Query opportunities closing this monthCompleteapex_call_read_toolquery_soql · Read owner namesCompleteSix opportunities over 50k close this month. Four belong to Priya Shah, two to Marcus Lee. The largest is Acme Renewal at 180k, stage Negotiation. Nothing was changed.
Read-only routeTry asking
Which validation rules on Opportunity changed most recently?
Describe the Case object, including picklists and required fields.
Which Apex classes and Flows depend on Account.Industry?
Pull the OpportunityTrigger into staging so I can edit it here.
What Cursor can do in Salesforce
21 operations: 11 read, 10 write. Read looks things up and changes nothing. Writes change Salesforce and run only when you turn them on.
Connection context
1 readlist_projectsreadList accessible Salesforce connections and their environment details.
Records and schema
5 read · 3 writequery_soqlreadRun SOQL and return selected Salesforce fields.
create_recordwriteCreate one Salesforce record.
update_recordwriteUpdate selected fields on one Salesforce record.
delete_recordwriteDelete one Salesforce record by ID.
get_recordreadRetrieve one record by object type and ID.
list_objectsreadList accessible Salesforce objects.
describe_objectreadReturn fields, types, picklists, relationships, and permissions.
search_recordsreadSearch records across Salesforce objects.
Apex runtime
1 writeexecute_anonymous_apexwriteExecute supplied anonymous Apex, which can change or delete data.
Staging and documentation
3 read · 3 writeread_filereadRead one staged component or documentation file.
write_filewriteCreate or overwrite a Salesforce metadata component or Markdown document in private staging.
edit_filewriteReplace exact matching content in a staged Salesforce metadata component or document.
delete_filewritePermanently remove one staged component or documentation file.
list_filesreadList staged or documentation files with an optional folder or pattern filter.
grepreadSearch staged file names or contents.
Live metadata and deployment
2 read · 3 writedeploywriteDeploy selected staged files with the requested Salesforce test level.
check_deploy_statusreadRead deployment status, component results, and test details.
cancel_deploywriteCancel an in-progress Salesforce deployment.
list_live_metadatareadList live components of one metadata type in the selected org.
get_live_componentwritePull one live component into the private staging workspace.
You choose the access. When you approve Cursor, pick Full access, Read only, or Custom.
The selected Salesforce connection remains visible in the gateway workspace.
Tool availability is resolved for the current connection and account context.
Supported Salesforce write activity is recorded for review.
Turn a tool off to block calls. Enabled tools run when called.
Questions about connecting Cursor to Salesforce
Updated August 26, 2026.
Does Cursor need a local MCP server?
No. ApexGenius is a hosted remote MCP server. Cursor connects over HTTP and authorizes in the browser, so there is nothing to run on your machine.
Can I keep production and a sandbox separate in Cursor?
Yes. Each org is its own Salesforce connection, and Cursor asks for the connection it should use, so a sandbox task cannot silently hit production.
How do I connect Cursor to Salesforce?
Connect Cursor to Salesforce through ApexGenius in three steps. Sign in to ApexGenius and connect Salesforce with Salesforce OAuth, choosing Production or Sandbox. Add ApexGenius to Cursor. Then open a task in Cursor and ask a question about your Salesforce. Start with a read, so nothing changes.
Is there a Salesforce MCP server for Cursor?
Yes. ApexGenius is an MCP server that Cursor connects to once. It carries your Salesforce connection and 21 Salesforce operations, so Cursor does not need a separate Salesforce integration or plugin. You set it up one time and add each agent the same way.
What can Cursor do in Salesforce once it is connected?
Cursor can run 21 Salesforce operations through ApexGenius: 11 reads that list connections and objects, describe the schema, query and search records, and check deployments, and 10 writes that create, update and delete records, run Apex, edit staged files and deploy metadata.
Can Cursor read my Salesforce org?
Yes, the org you authorize. Each org is its own Salesforce connection, Production or Sandbox, and you sign in with Salesforce OAuth. You can limit Cursor to one connection, to both, or to neither. ApexGenius keeps the org visible, so you can check which one Cursor is using.
More connections like this one
Cursor with other apps
All 44 apps Cursor can use
GitHub
Stripe
Context.dev
Semrush
Notion
Apify
Linear
Jira
HQ Rental
Google Ads
Google Analytics
Google Forms
Google Meet
Google Tasks
Gmail
Google Calendar
Google Chat
Google Docs
Google Drive
Google Sheets
Google Slides
Blotato
Bing Webmaster
Calendly
ClickUp
monday.com
Atlassian Rovo
Polymarket
OP.GGYouTube
YouTube Analytics
n8n
Confluence
Google Search ConsoleElevenLabs
FreshBooks
Other agents with Salesforce
Connect Salesforce to Cursor today
Start free1,000 free credits. No card required. Disconnect any time.