MCP ServerSTDIOOfficialv0.5.0

Salesforce Cloud MCP Server

Query Salesforce CRM data—opportunities, accounts, and custom objects—via SOQL, download files, and access analytics. Built for developers integrating Salesforce into AI workflows and automation.

io.github.aaronsb/salesforce-cloud

Hosted URL

Local install

Transport

STDIO

Auth

3 required env vars

What the Salesforce Cloud MCP server does

How models use it and what it is built for.

Query Salesforce CRM data—opportunities, accounts, and custom objects—via SOQL, download files, and access analytics. Built for developers integrating Salesforce into AI workflows and automation.

Connect to Salesforce Cloud

Local install — runs as a subprocess.

npx @aaronsb/salesforce-cloud-mcp@0.5.0

Environment variables

Configuration this server reads at startup.

  • SF_CLIENT_IDRequiredSecret

    Salesforce Connected App client ID

  • SF_CLIENT_SECRETRequiredSecret

    Salesforce Connected App client secret

  • SF_LOGIN_URLRequired

    Your Salesforce My Domain URL (e.g., https://company.my.salesforce.com)

  • SF_USERNAME

    Salesforce username (if set, uses password flow; otherwise client credentials flow)

  • SF_PASSWORDSecret

    Salesforce password (required with SF_USERNAME for password flow)

Resources

Where to find authoritative docs and source for Salesforce Cloud.

Example prompts for Salesforce Cloud

Paste any of these into Agent Studio after connecting Salesforce Cloud.

  • Show me all open opportunities in the last 30 days with deal size over $50k
  • Query accounts where industry equals Technology and run a SOQL count
  • Download the latest attachment from opportunity ID 0061t00000ABC123
  • Explain how to set up a Connected App for SF_CLIENT_ID and SF_CLIENT_SECRET auth

Salesforce Cloud MCP server — FAQ

Common questions about connecting and running Salesforce Cloud.

  • What authentication methods does this server support?

    Two flows: OAuth2 client credentials (SF_CLIENT_ID + SF_CLIENT_SECRET only) or password flow (add SF_USERNAME + SF_PASSWORD). Both require SF_LOGIN_URL pointing to your Salesforce My Domain.

  • Can I query custom Salesforce objects?

    Yes. The server supports SOQL queries, so you can query any standard or custom object your Connected App has access to. Permissions are controlled by the Salesforce user/app credentials you provide.

  • How do I set up the Connected App credentials?

    Create a Connected App in Salesforce Setup, generate a client ID and secret, then pass them as SF_CLIENT_ID and SF_CLIENT_SECRET environment variables when installing the MCP server.

  • What file types can I download from Salesforce?

    The server supports file downloads from Salesforce records (e.g., attachments, documents). Supported types depend on your Salesforce org's file handling and the permissions of your Connected App.

  • Does this server support analytics or reporting?

    Yes, the registry lists analytics as a capability. Specific report formats and API endpoints depend on your Salesforce org configuration; check your org's available report types and API limits.

Skip the local setup — run MCP in your browser

MCP Playground runs 10,000+ hosted MCP servers — GitHub, Linear, Notion, Stripe, Sentry and more — across Claude, GPT, Gemini, DeepSeek and 30+ AI models. Compare model answers side-by-side, save agent presets, share runs. Zero install.

Open Agent Studio

Related servers

More on MCP Playground