Skip to main content

Connecting Salesforce to Claude AI via MCP — A Complete Developer’s Guide

 

The Model Context Protocol (MCP)

 is the key that unlocks this integration. Originally created by Anthropic, MCP is an open standard that lets AI models like Claude connect to external tools and data sources through a single, unified interface. Salesforce has embraced it wholeheartedly — and in these two videos, I will walk you through exactly how to wire it all up. 

 

Whether you want to use Salesforce's pre-built Hosted MCP Servers (Part 1) or build your own custom MCP server

 inside Salesforce with Apex classes, Flows, and Named Queries (Part 2), this guide covers it all. 

 

https://sudipta-deb.in/2026/04/connecting-salesforce-to-claude-ai-via-mcp-a-complete-developers-guide.html

 

@The Blog Group

 

#Mcp  #Salesforce Developer

2 Kommentare
  1. 29. Juni, 14:55

    Hi @Richa Goyal

     

    Since it works from Claude but not from Agentforce, It's better to see what each client is actually sending to the MCP server. 

     

    A few things to check:

    •  Is the Agentforce runtime user using the same auth context as Claude? 
    •  Is Agentforce passing the correct case ID/inputs? 
    •  Does the request even reach the MCP server, or does it fail before that? 
    •  Is the MCP response matching the schema Agentforce expects? 

    We've hit similar MCP interoperability issues while working on DataGrout, and comparing the request/response payloads between the two clients usually narrows it down pretty quickly.

0/9000