> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getcargo.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Salesforce MCP

> Connect a Salesforce hosted MCP server so your AI agents can use Salesforce tools.

Salesforce MCP connects a Salesforce hosted MCP (Model Context Protocol) server to Cargo so [AI agents](/agents/tools-and-actions#mcp-servers) can call Salesforce tools directly. It is separate from the regular [Salesforce](/integration/salesforce) CRM connection: each Salesforce org exposes its own MCP server URL, and authorization goes through Salesforce's MCP OAuth flow (`mcp_api` scope).

## How to set up Salesforce MCP

### Authentication

Salesforce MCP needs a server URL plus OAuth authorization:

1. In Salesforce **Setup > MCP Servers**, open the **Salesforce Servers** tab, activate a server, and copy its **Server URL**
2. In Cargo, paste it into the **MCP Server URL** field
3. Click **Authorize Salesforce MCP** and sign in to Salesforce in the popup
4. Cargo stores the resulting token and refreshes it automatically

<Note>
  **Code slugs** — integration slug: `salesforceMcp`. This integration exposes no fixed actions: its tools are discovered from your org's MCP server at runtime and made available to agents.
</Note>

## Salesforce MCP tools

The connector does not define static actions. When attached to an agent as an MCP server, the agent lists the tools your Salesforce MCP server advertises at runtime and can call any of them. See [MCP servers](/agents/tools-and-actions#mcp-servers) for how agents use MCP tools.

Related MCP integrations: [HubSpot MCP](/integration/hubspot-mcp) and [Notion MCP](/integration/notion-mcp).

## Best practices

* Use Salesforce MCP for agent tool use; keep the regular [Salesforce](/integration/salesforce) connector for workflow actions and data syncing
* Activate and copy the server URL from the same org you authorize with — the URL is org-specific
* Authorize with a Salesforce user whose permissions match what you want agents to be able to do
