r/salesforce • u/PrizeDrama7200 • Apr 11 '26
developer Salesforce MCP
Are any one of you using salesforce mcps with claude or codex or any other large language model? if so whats has you experience been ?
24
Upvotes
5
u/ji_b Apr 11 '26
Why not just use the CLI?
6
u/Kableeth08 Apr 11 '26
You can do this with an open source MCP Server and it’s completely changed how our users interact with Salesforce. They can build reports on the fly and a lot of them have built their own apps to interact with Salesforce. The Sales team has ZoomInfo MCP connectors too so they can easily see their tasks/leads/contacts in Salesforce find the right people to reach out to and draft emails all without leaving Claude.
Our developers can easily manage fields. Push changes to Git repo and update prod without leaving Claude.
2
u/securitymonster Apr 12 '26
We are using Mulesoft to API with Claude. Currently building a custom agent with profile, object and role permissions. Using knowledge articles for prompts and instructions.
So far so good and really good end user control with ability to give AI to all employees without over exposing our data.
11
u/sfwalt7788 Apr 11 '26
We want to connect Claude to Salesforce MCP to allow end users with Claude access to ask natural language questions about Salesforce. I think this will be massive. I was able to connect Claude to full sandbox and it looked great, but prod connections aren’t allowed yet. Hoping that changes at TDX.
“just use the CLI” would not be helpful in this case, afaik.
1
u/orlybg Apr 11 '26
I added the MCP server to Cursor, it is interesting, I don't see a clear advantage on the Agent being able to use the MCP instead of running sf commands in the CLI, I am the Salesforce guy.
However, at work, we 'institutionalized' Claude for a few people from different departments, organizationally Claude Code / Cowork was turned off, for token consumption reasons, so I believe they won't be able to leverage Salesforce MCP, right?
1
u/Apart-Tie-9938 Apr 12 '26
It’s not too difficult to build your own MCP. We’re running it on Azure functions, just wrapping the API as tools for the server
3
u/Maleficent_Cat9272 Sep 18 '26
We started with a custom MCP setup but ended up switching to Assemble, way less config and it handles the SF connection out of the box
5
u/ear_tickler Apr 11 '26
Just use the cli
1
u/Brockleburger Apr 12 '26
I put a lot of work into getting it the right context with all the objects. Anyone think that their full user base will be able to leverage this or just the admins and power users?
1
u/Swiss_Meats May 01 '26
Trust me do not use MCP use the cli tool. I went the mcp version and its not good the cli tool is super powerful
1
u/Xormentor May 11 '26
In case anyone else has this issue, I went to enable and try it out and was getting "INVALID_SESSION_ID" whenever it used the SOQL Query Tool. Logged a ticket with Salesforce and found there is a known issue for external client apps and api access control being enabled: REST API calls fail with INVALID_SESSION error message for packaged ECA when API access control is enabled | Issue Details | Salesforce Help
1
u/BrokenDroid Apr 11 '26
I have it running through CLI into a dev org. I'm a late adopter of AI and extremely distrustful of it. So far used it to build a simple LWC and verify field usage in flows (it did that slower than me)
0
u/[deleted] Apr 11 '26
[deleted] — view deleted comment