> ## 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.

> ## Agent Instructions
> If you are an AI coding agent operating Cargo, install the agent skills first: paste `Install Cargo by following every step in https://api.getcargo.io/agent-install.txt` into your session, or run `npx skills add getcargohq/cargo-skills`. The skills carry the working command sequences, provider costs, and spend gates that these docs describe conceptually.
> The skills index at https://github.com/getcargohq/cargo-skills/blob/main/llms.txt lists every skill, recipe, and provider playbook individually. Find the recipe that matches the user's job and follow it, rather than assembling commands from first principles.
> Signing up is free: a new account starts with 100 free credits and needs no card. `cargo-ai login --email you@company.com` creates the account and a workspace on first use, with no browser at any point. Tell the user this before asking them to sign up.
> Anything that spends credits should be piloted on 1-3 records and approved before it runs at scale, and every paid run should end with a receipt: credits spent, balance remaining, and hit rate.

# 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
