MCP
Model Context Protocol — connecting Claude to Salesforce with Hosted MCP Servers (GA April 2026), exposing custom Apex as tools, and agent loops that build orgs.
MCP Tools vs Agentforce Actions: Which One, When?
Both let an AI call your Apex. The difference is where the agent lives: inside Salesforce with Agentforce, or outside reaching in via MCP. A practical decision guide — and why the same @InvocableMethod can serve both.
Loop Engineering: Verifiers, Stop Rules, and Why the Model Doesn't Grade Itself
The Hospital Org demo worked because of discipline, not magic: an objective verifier, a hard definition of done, and root-cause diagnosis instead of blind retries. Here's the engineering underneath the agent loop.
When Claude Builds the Org: Six MCP Deployment Tools and One Agent Loop
I gave Claude six custom MCP deployment tools and a goal: build a complete hospital-management Salesforce org. Here's the loop that did it — objects, triggers, tests, and data — and what actually happened along the way.
Data 360 over MCP: Plain SQL as a Grounding Layer for AI
Grounding beats guessing — and you can prove your grounding works before you spend a single agent credit. How the Data 360 Query API over MCP let a plain-SQL Calculated Insight catch a +64.6% meter anomaly with zero UI clicks.
A Real Example: Lead Qualification and Reseller Onboarding as MCP Tools
The theory is nice, but here's what happened when I exposed two real Apex actions from my Urla Shoes org as MCP tools — and asked Claude, in one plain sentence, to qualify a lead and onboard a reseller end to end.
The Hosted MCP Security Model: OAuth, PKCE, USER_MODE, and a Full Audit Trail
"AI can touch my org" sounds terrifying as a sentence — and surprisingly reasonable as an architecture. A walk through the security layers of Hosted MCP: External Client App scopes, per-user OAuth, USER_MODE, and the audit trail underneath it all.
Your First Custom MCP Tool: From @InvocableMethod to McpServerDefinition
Write a small, bulk-safe Apex @InvocableMethod with WITH USER_MODE, expose it as an MCP tool via McpServerDefinition, and learn the naming and description habits that make Claude pick the right tool.
Connecting Claude to Your Salesforce Org, Step by Step
The full walkthrough: take your hosted MCP server's URL, add it to Claude as a custom connector, sign in with OAuth, watch your tools appear, and make your first careful request.
Hosted MCP Setup, Part 2: Activate a Server and Choose Its Tools
Salesforce Hosted MCP Servers are configured from a single Setup page. Here's how activation works, how tool selection works, and why exposing fewer tools makes your AI assistant better, not worse.
Hosted MCP Setup, Part 1: The External Client App (Your OAuth Bridge)
Before an MCP client can touch your org, something has to decide who gets in and with how much permission. That's the External Client App. A step-by-step, beginner-safe walkthrough — least-privilege scopes, PKCE, and why this beats a service account.
Salesforce Hosted MCP Servers Are GA — Why April 29, 2026 Matters
On April 29, 2026, Salesforce Hosted MCP Servers reached general availability: managed, Salesforce-hosted endpoints that expose your org's data, flows, and Apex to MCP clients — with your org's own security enforced. Here's what it means for admins and developers.
Remote MCP: How Claude Reaches Real Systems with Custom Connectors
MCP is how an AI assistant plugs into real tools — and with custom connectors, Claude can reach a remote MCP server with nothing but a URL and an OAuth sign-in. Here's how it works, explained for beginners.
Tools, Resources, and Prompts: The Three Building Blocks of MCP
Everything an MCP server offers comes in one of three shapes: Tools that act, Resources that inform, and Prompts that guide. Here's each primitive explained with a concrete Salesforce example — a Case-creating tool, an Account resource, and a quote-summary prompt.
MCP Architecture: Host, Client, and Server — Who Does What
MCP has three moving parts: the Host, the Client, and the Server. Here's a plain-language tour of each one — plus JSON-RPC, stdio vs remote HTTP, and where user consent sits — explained for beginners.
What Is MCP? The USB-C Port for AI, Explained Simply
Large language models are brilliant and sealed off — they can't see your Salesforce org, your files, or your database. MCP is the open standard that changes that. Here's what it is, what it isn't, and why it matters, explained for beginners.