Salesforce MCP Server — Hosted for Any AI Agent
MCP Server language Hosted language PublicQuery leads, contacts, opportunities, and accounts in Salesforce — full SOQL support for enterprise CRM automation.
Use with AI AssistantsMCP
Connect Claude, Cursor, or any MCP-compatible client — then call tools directly
① Add This MCP Server
Paste into your AI client config — then all its tools are available instantly.
{
"mcpServers": {
"salesforce": {
"url": "https://mcp.aerostack.dev/s/aerostack/mcp-salesforce",
"headers": {
"Authorization": "Bearer YOUR_AEROSTACK_TOKEN"
}
}
}
}Replace YOUR_AEROSTACK_TOKEN with your API token from the dashboard.
② Call a Tool
Ask your AI assistant to call a specific tool, or send raw JSON-RPC:
Natural Language Prompt
“Use the _ping tool to verify salesforce credentials by calling a lightweight read endpoint. used internally by aerostack to validate credentials”
Using a Workspace?
Add this MCP to your Workspace — your team shares one token, secrets are stored securely, and every AI agent in the workspace can call it without per-user setup.
The Salesforce MCP server connects AI agents to your CRM — querying and updating leads, accounts, opportunities, and custom objects via SOQL. Hosted on Aerostack with one URL for any MCP client, it lets an agent pull pipeline data, update records, and automate sales workflows directly from chat.
description Overview
mcp-salesforce — Salesforce MCP Server
Automate your entire Salesforce CRM — manage leads, contacts, accounts, opportunities, tasks, and run SOQL queries from any AI agent.
Salesforce is the world's #1 CRM platform, used by enterprise sales and revenue operations teams globally. This MCP server gives your agents complete access to the Salesforce REST API: searching and creating leads, contacts, accounts, and opportunities; converting leads; logging tasks and activities; and running arbitrary SOQL queries for reporting and data extraction.
Live endpoint: https://mcp.aerostack.dev/s/aerostack/mcp-salesforce
What You Can Do
- Automatically create and qualify leads from any inbound channel — web forms, emails, or enrichment data
- Convert leads to contacts and opportunities without touching the Salesforce UI
- Update opportunity stages, log notes, and complete tasks based on external signals like signed contracts
- Run custom SOQL queries to extract pipeline data, build reports, or audit CRM hygiene
Available Tools
| Tool | Description |
|---|---|
| search_leads | Search leads by any field (Email, LastName, Company) using SOQL LIKE |
| get_lead | Get full details of a specific lead by Salesforce record ID |
| create_lead | Create a new lead — LastName and Company required |
| update_lead | Update lead fields including status and lead source |
| convert_lead | Convert a lead to contact and optionally create an opportunity |
| search_contacts | Search contacts by any field (Email, LastName, Phone) |
| get_contact | Get full details of a specific contact by record ID |
| create_contact | Create a new contact linked to an account |
| update_contact | Update contact fields including title, department, and account |
| list_contact_activities | List activity history for a contact (tasks, events, calls, emails) |
| search_accounts | Search accounts by name |
| get_account | Get full details of a specific account |
| create_account | Create a new account with industry, website, and billing details |
| update_account | Update account fields including revenue and billing address |
| list_account_contacts | List all contacts associated with a specific account |
| list_opportunities | List opportunities optionally filtered by account |
| get_opportunity | Get full details of a specific opportunity |
| create_opportunity | Create a new opportunity with stage and close date |
| update_opportunity | Update opportunity stage, amount, or close date |
| add_opportunity_note | Add a completed task/note to an opportunity |
| list_tasks | List tasks owned by a specific user |
| create_task | Create a new task linked to a contact, lead, or opportunity |
| complete_task | Mark a task as Completed |
| run_soql | Execute an arbitrary SOQL query against Salesforce |
| describe_object | Describe a Salesforce object to see its fields and relationships |
Configuration
| Variable | Required | Description | How to Get |
|---|---|---|---|
| SALESFORCE_ACCESS_TOKEN | Yes | Salesforce OAuth 2.0 access token | Salesforce Connected Apps or Salesforce CLI: sfdx auth:web:login |
| SALESFORCE_INSTANCE_URL | Yes | Your Salesforce instance URL (e.g. https://yourorg.my.salesforce.com) |
Found in Salesforce Setup → Company Information |
Quick Start
Add to Aerostack Workspace
- Go to aerostack.dev → Your Project → MCPs
- Search for "Salesforce" and click Add to Workspace
- Add your
SALESFORCE_ACCESS_TOKENandSALESFORCE_INSTANCE_URLunder Project → Secrets
Once added, every AI agent in your workspace can manage Salesforce CRM data automatically — no per-user setup needed.
Example Prompts
"Create a new lead in Salesforce for Jane Smith at Acme Corp from our website contact form"
"Convert lead 00Qxx0000001ABC to a contact and create an opportunity for $75,000"
"Run a SOQL query to find all opportunities closing this quarter with amount over $100,000"
Direct API Call
curl -X POST https://mcp.aerostack.dev/s/aerostack/mcp-salesforce \
-H 'Content-Type: application/json' \
-H 'X-Mcp-Secret-SALESFORCE-ACCESS-TOKEN: your-token' \
-H 'X-Mcp-Secret-SALESFORCE-INSTANCE-URL: https://yourorg.my.salesforce.com' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"run_soql","arguments":{"soql":"SELECT Id, Name, StageName, Amount FROM Opportunity WHERE StageName = '"'"'Prospecting'"'"' LIMIT 10"}}}'
License
MIT
terminal Tools (26)
Available tools on this MCP server. Each tool can be called directly from any AI agent.
_ping #1 Verify Salesforce credentials by calling a lightweight read endpoint. Used internally by Aerostack to validate credentials.
search_leads #2 Search leads by any field (e.g. Email, LastName, Company). Returns Id, FirstName, LastName, Email, Company, Status, Phone.
get_lead #3 Get full details of a specific lead by Salesforce record ID.
create_lead #4 Create a new lead in Salesforce. LastName and Company are required.
update_lead #5 Update fields on an existing lead. Provide only the fields to change.
convert_lead #6 Convert a lead to a contact and optionally create an opportunity. Uses the Salesforce convertLead action.
search_contacts #7 Search contacts by any field (e.g. Email, LastName). Returns Id, FirstName, LastName, Email, Phone, AccountId.
get_contact #8 Get full details of a specific contact by Salesforce record ID.
create_contact #9 Create a new contact in Salesforce. LastName is required.
update_contact #10 Update fields on an existing contact. Provide only the fields to change.
list_contact_activities #11 List activity history for a specific contact (tasks, events, calls, emails).
search_accounts #12 Search accounts by Name. Returns Id, Name, Industry, Website, Phone, AnnualRevenue.
get_account #13 Get full details of a specific account by Salesforce record ID.
create_account #14 Create a new account in Salesforce. Name is required.
update_account #15 Update fields on an existing account. Provide only the fields to change.
list_account_contacts #16 List all contacts associated with a specific account.
list_opportunities #17 List opportunities, optionally filtered by Account. Returns Id, Name, StageName, Amount, CloseDate, AccountId.
get_opportunity #18 Get full details of a specific opportunity by Salesforce record ID.
create_opportunity #19 Create a new opportunity in Salesforce. Name, StageName, and CloseDate are required.
update_opportunity #20 Update fields on an existing opportunity (e.g. stage, amount, close date).
add_opportunity_note #21 Add a completed task (note) to an opportunity. Creates a Task record linked to the opportunity via WhatId.
list_tasks #22 List tasks owned by a specific user, ordered by activity date descending.
create_task #23 Create a new task in Salesforce. Subject is required.
complete_task #24 Mark a task as Completed by updating its Status field.
run_soql #25 Execute an arbitrary SOQL query against Salesforce. Use for complex queries not covered by other tools.
describe_object #26 Describe a Salesforce object (SObject) to get its fields, relationships, and metadata.
Details
language Live Endpoint
https://mcp.aerostack.dev/s/aerostack/mcp-salesforce
Sub-50ms globally · Zero cold start
Publisher
Pre-built functions for the most common MCP tool patterns. Clone, extend, and deploy.
More in Customer Support
Browse Customer Support MCPs →Freshdesk
by @aerostack
Create tickets, manage contacts, and resolve support issues faster — give your AI agents full Freshdesk access.
Zendesk
by @aerostack
Manage support tickets, users, and knowledge base articles in Zendesk — AI-powered customer service automation.
Zoho Crm
by @aerostack
Manage leads, contacts, deals, accounts, and tasks in Zoho CRM with full CRUD operations and lead conversion.
Frequently asked questions
What is the Salesforce MCP server and what can it do? +
The Salesforce MCP server is hosted on Aerostack and exposes these tools to your AI agent: `_ping`, `search_leads`, `get_lead`, `create_lead`, `update_lead`. You get one hosted URL — no self-hosting — that works from Claude, Cursor, ChatGPT, Gemini, VS Code, or any MCP-compatible client, and you can share it with your team or combine it with other MCP servers in a workspace.
Is the Salesforce MCP server hosted, or do I have to run it myself? +
It's hosted on Aerostack's edge infrastructure — you don't deploy or maintain anything. Add it to a workspace and you get one authenticated URL, with secrets encrypted, that any AI agent or editor can connect to. Use it solo or share the same URL across your whole team.
Which AI agents and editors can use the Salesforce MCP server? +
Any MCP client: Claude and Claude Code, Cursor, ChatGPT, Gemini, Windsurf, Cline, VS Code, and custom agents. Because it's one hosted URL, the same Salesforce MCP server works everywhere — and you can compose it with other MCP servers, skills, and functions behind a single workspace URL.
How do I install the Salesforce MCP server in Claude Desktop? +
Add the following to your Claude Desktop config (`claude_desktop_config.json`): ```json { "mcpServers": { "@aerostack/mcp-salesforce": { "command": "npx", "args": ["-y", "@aerostack/@aerostack/mcp-salesforce"] } } } ``` Then restart Claude Desktop and the tools will appear automatically.
How do I use the Salesforce MCP server in Cursor? +
In Cursor, open **Settings → MCP** and add: ```json { "name": "@aerostack/mcp-salesforce", "command": "npx", "args": ["-y", "@aerostack/@aerostack/mcp-salesforce"] } ``` Save and reload Cursor. The MCP tools will be available in Agent mode.
Does Salesforce MCP require authentication? +
Yes. Salesforce requires authentication. Check the MCP's documentation for the required credentials.