דלגו לתוכן

MCP in One Picture

תוכן זה אינו זמין עדיין בשפה שלך.

Module 2 of 5 in the chapter MCP, Headless Systems, and Agent Tools, chapter 22 of the Integration Architect course. Each module stands on its own. Previous: The Capability Without the Screen · Next: Salesforce as the MCP Server

The question this module answers: What is the Model Context Protocol, how does it relate to the APIs you already have, and when is an API still the better answer?

When I teach OData, I say it’s almost like an open API spec: Salesforce reaches out to an endpoint and says, tell me what you’ve got (chapter 19 module 2). Hold on to that, because MCP is the same idea, built for a new kind of caller.

The Model Context Protocol, MCP, is an open standard for an AI application to ask a service what it can do, and then ask it to do something. The service answers with a list of tools, each with a name, a description and the inputs it takes. The AI reads the list, picks a tool, and calls it. Tell me what you’ve got, and I’ll choose.

The specification names three roles (Specification 2026-07-28 (opens in a new tab), Model Context Protocol, checked 2026-11-21):

  • Hosts: “LLM applications that initiate connections.” Claude, ChatGPT, Agentforce, a developer’s coding tool.
  • Clients: “Connectors within the host application.” One client per server the host talks to.
  • Servers: “Services that provide context and capabilities.”

And a server can offer three kinds of thing:

  • Tools: “Functions for the AI model to execute.” Create a case, look up an order.
  • Resources: “Context and data, for the user or the AI model to use.” A document, a record, a schema.
  • Prompts: “Templated messages and workflows for users.” A ready-made way to ask for something.
MCP in one picture MCP in one picture. At the top, the host, an AI application, with three parts: the model, which chooses a tool from its description; the MCP client, the connector inside the host; and the person, who consents and can say no. The MCP client calls a tool on the MCP server in the middle, in navy, which says what it offers, then does it, with three features: tools, functions to run; resources, context and data; and prompts, templated messages. The server calls the APIs and systems underneath: Salesforce's APIs (REST, SOQL, your own Apex), an ERP's API with the contract it already has, and a document store with files and search. The footnote: MCP doesn't replace APIs; most MCP servers call the APIs underneath. {"author": "Steve Simpson", "blueprint": "1.0.0", "builder": "standard 1.59.0", "built": "2026-11-20", "id": "DGM-INT-AM-01", "rights": "\u00a9 2026 Twinshark LLC. All rights reserved.", "template": "layers 0.1.0", "theme": "stevetecharc 1.4.0"} The host: an AI application The model chooses a tool from its description The MCP client the connector inside the host The person consents, and can say no The MCP server says what it offers, then does it tools: functions to run resources: context and data prompts: templated messages APIs Salesforce APIs REST, SOQL, your own Apex An ERP's API the contract it already has A document store files and search calls a tool calls calls calls MCP doesn't replace APIs. Most MCP servers call the APIs underneath. HOW TO READ IT The host: where the AI and the person are The MCP server: a described layer What it sits over: the APIs you already have © 2026 Twinshark LLC · stevetecharc.com
Click to enlarge

MCP is a described layer over the APIs you already have.

Notice the person in the top layer. The specification puts it first among its principles: “Users must explicitly consent to and understand all data access and operations.” An agent choosing tools doesn’t remove the person. It makes their consent part of the design.

Look at the bottom of the picture. An MCP server usually doesn’t hold the data or do the work itself. It calls the APIs underneath: Salesforce’s REST API, an ERP’s API, a search service. What it adds is the description, written for a caller that chooses.

That’s why I put it on my Dreamforce slide as “MCP + APIs”, not MCP instead of APIs. Everything Part 2 taught about the API underneath still holds: the contract, the identity, the limits, the errors, the logs. MCP is one more door in front of it, and Salesforce has added doors before (chapter 8).

So when do you put an agent on MCP, and when on an API? Salesforce gave its view in a blog post from April 2026, when its MCP features were still new (Choose the Right Agentforce Integration Pattern: API, MCP, or A2A (opens in a new tab), Salesforce, 2026-04-01, checked 2026-11-21).

For MCP: it “shifts the traditional API paradigm by providing standardized, discoverable capabilities built specifically for agents.” And “If MCP or agent capabilities already exist with your external systems, it’s a good idea to use them.”

For an API, two reasons stand out. Existing work: “You can reuse established credentials and Salesforce-specific code, if you have already configured the API as an invocable action for non-agentic use cases.” Sensitive integrations: “Traditional APIs can tightly control access to third-party data.” And the post adds a point an integration architect should never forget: Salesforce’s native options, “such as Salesforce Connect, API, and Bulk API, are not inherently agentic.” Moving a million records is still the Bulk API’s job (chapter 10), not a tool call.

Here’s how I’d put it together:

Reach for MCP when…Reach for an API when…
An agent chooses what to do, from many possible actionsA program, or an agent’s fixed step, always does the same thing
A ready MCP server already exists for the systemAn invocable action or integration already works
The capability should be discoverable by many AI toolsAccess to sensitive data needs the tightest control
The calls are small and conversationalThe data is large, or the job is a batch

MCP is young, and it’s moving. Its first protocol version was dated November 5, 2024. The version current as I write, 2026-07-28, changed a lot (The 2026-07-28 Specification (opens in a new tab), MCP Blog, checked 2026-11-21):

  • A stateless core. MCP moved from “a bidirectional stateful protocol into a request/response stateless protocol.” The opening handshake is gone: “we’ve officially retired the initialize/initialized exchange along with the Mcp-Session-Id header.” Each request now stands on its own, which is what lets a gateway route it (chapter 18 module 6).
  • A retirement already. “The legacy HTTP+SSE transport is also considered to be officially deprecated, with a year-long offramp.”
  • A promise about retirements. “A formal deprecation policy with a twelve-month minimum window so you can plan upgrades instead of reacting to them.”

That last one is chapter 17’s whole lesson, arriving early. The newest layer of the story already has a retirement policy. Treat MCP versions the way you treat API versions: know which one each client and server speaks, and plan the moves (chapter 17 module 8).

Beyond the exam. MCP isn’t in the Integration Architect exam’s objectives. What carries over is the exam’s question in a new form: which mechanism fits the requirement? An API for fixed, large or sensitive work; MCP where an agent chooses among capabilities.

  • Whether a capability goes on MCP, an API, or both, from who calls it and what it moves.
  • Which APIs an MCP server sits over, and that their contracts, identities and limits still hold.
  • Where the person consents to what an agent does.
  • Which MCP version each client and server speaks, and the plan for the next one.