Salesforce Opensource MCP - Connect Salesforce to Claude
Salesforce doesn't offer a native Claude connector. Here's how to build your own in about 15 minutes using an open-source MCP server.
Salesforce has now built their own version of this.
Salesforce has released their official Salesforce-to-Claude connection — they call it "Salesforce Hosted MCP Servers" — which went generally available in the last few weeks. If you're about to follow this guide, you probably want to use theirs instead.
Here's why:
- No install required. Users just add a connector in Claude, log in with Salesforce, done. No Node.js, no command line, no local setup.
- Works for your whole team. Everyone gets connected in under a minute, from any browser, on any machine.
- Built-in permissions. Each person only sees what their Salesforce role allows. No shared credentials.
- Officially supported. Salesforce maintains it, so it keeps working when Salesforce updates things.
- Audit-friendly. You can see who's using it and revoke access with one click.
Fair warning: this launch flew completely under the radar. It was announced as a pilot in June 2025, went into open beta in October 2025, and quietly became generally available in spring 2026 — no big marketing push. I didn't spot it myself until recently, despite actively watching the space. So if you'd missed it, you're not alone.
The open-source version in this article still works great for a single user on one machine, and it's a good way to learn how MCP works under the hood. But if you're setting this up for a team — or you just want the easiest path — go with the Salesforce-hosted version.
Where to get started: Check out our step-by-step guide to setting up Salesforce Hosted MCP, or go straight to the Salesforce documentation. You'll need Salesforce Enterprise Edition or higher, and admin access to set it up.
The problem
HubSpot has a native Claude connector. A few clicks and you're in — query your CRM, update records, get a clearer picture of your pipeline without switching tabs. It's genuinely good.
Salesforce doesn't offer this. The most likely reason is that they want you buying Einstein at $125/user/month — a product so opaquely priced that it's genuinely hard to tell what you're actually getting.
This misses the point entirely. The value of connecting your CRM to Claude isn't just about the AI features inside the CRM. It's about being able to call your CRM data from the same place you're running all your other tools and research. That's what makes it powerful.
The good news: you don't need Salesforce's permission.
A quick note on Salesforce's strategy here: building artificial gates at a time when connecting data across tools is this valuable only accelerates the incentive to move off their platform entirely. Short-term revenue, long-term risk.
The fix
You have two options: build your own MCP server, or use an existing open-source one. Use the existing one. The project is tsmztech/mcp-server-salesforce on GitHub.
If you send regular screenshots to Claude as you go, you can get through this setup in about 15 minutes.
Create a New External Client App in Salesforce
In Salesforce, go to Setup → App Manager → New External Client App. Give it a name and enable OAuth.
Configure OAuth settings
Add a callback URL (https://login.salesforce.com/services/oauth2/callback). Add two OAuth scopes: "Manage user data via APIs" and "Perform requests on your behalf at any time".
Enable Client Credentials Flow
Under Flow Enablement in the app settings, enable the Client Credentials Flow. Then retrieve your Consumer Key and Consumer Secret — you'll need both in the next step.
Add the MCP server config to Claude Desktop
Add the @tsmztech/mcp-server-salesforce package config to your claude_desktop_config.json file, using the OAuth_2.0_Client_Credentials connection type. Plug in your Consumer Key, Consumer Secret, and Salesforce instance URL.
Restart Claude Desktop
Restart Claude Desktop to activate the connection. That's it. You should now be able to query and update your Salesforce CRM directly from Claude.
What the config looks like
Add this to your claude_desktop_config.json:
{
"mcpServers": {
"salesforce": {
"command": "npx",
"args": ["-y", "@tsmztech/mcp-server-salesforce"],
"env": {
"SFDC_CONNECTION_TYPE": "OAuth_2.0_Client_Credentials",
"SFDC_INSTANCE_URL": "https://your-instance.salesforce.com",
"SFDC_CLIENT_ID": "your-consumer-key",
"SFDC_CLIENT_SECRET": "your-consumer-secret"
}
}
}
}The honest downsides
This is not a Salesforce product. It's maintained by an independent developer. If Salesforce changes their OAuth flow or API endpoints and the package doesn't get updated, it will break.
How likely is that? Moderately likely over a 2-3 year horizon. Salesforce's API is generally stable, but they do make breaking changes — typically with 12 months of advance notice.
For now, this tradeoff feels worth it. You get the workflow benefit immediately, and you're not locked into anything.
One side effect worth mentioning: once you start querying your Salesforce data through Claude, you'll quickly realize how messy your CRM actually is. Consider that a feature, not a bug — it's the fastest way to identify what needs cleaning up.
Need someone to set this up for your team?
This is one part of a broader intelligence layer — connecting your CRM, enriching your accounts, and keeping everything current. If you sell into higher ed and want this built and maintained for you, get in touch.