MCP architecture: Host, Client, Server and the Tools, Resources and Prompts a server exposes

An AI assistant can produce a polished market summary and still fail at a simple question: how many days late was Client A's delivery last quarter? Answering it means building one connector for the reporting system, another for the CRM, another for the file store — then reformatting each for every model. Switch models and the work starts again.

The bottleneck is rarely intelligence. It is the absence of a shared path between the model and the systems that hold the answer. The Model Context Protocol (MCP) is that path: an open standard that lets AI applications connect to data sources, tools and workflows in one consistent way. The official analogy is apt — MCP is a USB-C port for AI applications. Standardise the interface and both sides can evolve independently.

The bottleneck is the interface, not the model

Without a common protocol, integration is an N × M matrix: N AI applications, M internal systems, and a bespoke connector, identity flow and error handler in every cell. As the tool count grows, "add one capability" quietly becomes "rewrite an entire layer". This is where many enterprise pilots stall — fluent on general questions, unable to touch the data that actually carries value.

Point-to-pointWith MCP
Adding a toolChange every AI applicationImplement one server; every supporting client can use it
Switching model or clientRewrite and retest the connectorTools stay put; re-verify permissions only
Permissions and auditScattered across code pathsConcentrated in host consent flows and server entry points

What is saved is more than engineering hours. "May the AI read this record" moves from an implementation detail to a decision that can be governed and audited.

Three roles, three capabilities

The 2026-07-28 specification uses JSON-RPC 2.0 messages between three participants:

RoleResponsibilityEnterprise equivalent
HostThe AI application that initiates connections, owns the user interface and consentThe assistant, IDE or service desk people actually use (Claude, ChatGPT, VS Code, Cursor and others)
ClientA connector inside the host handling protocol, capability negotiation and connectionsA built-in integration layer, with no business logic
ServerExposes context and capabilities, usually a thin wrapper over an existing systemAccess points for reporting, customer records, tickets and document stores

A server offers Tools (functions the model can execute), Resources (data and context it can read) and Prompts (templated messages and workflows). A client may offer Elicitation, letting a server ask the user for input or approval mid-execution. Pagination, cancellation, progress, subscriptions, caching and error reporting are shared utilities underneath.

The official examples are concrete: an agent reading Google Calendar and Notion to organise a schedule, Claude Code generating a web app from a Figma design, an enterprise chatbot querying several databases, a model creating a 3D design in Blender and sending it to a printer. In enterprise terms: find the record, run the calculation, place the action, keep the trace.

What MCP does not do: function calling, agents and the protocol

The most persistent misconception is that MCP replaces function calling. A widely circulated Chinese analysis separates the layers cleanly: the model expresses intent through function calling, the agent plans and executes, and MCP standardises the interface those calls travel through.

LayerOwnsDoes not own
Model / function callingDeciding when a tool is needed, producing the call and argumentsConnections, identity, wire formats
AgentTask decomposition, sequencing, failure handling and retriesDefining the tool interface
MCPTool descriptions, call formats and capability negotiationTool selection, planning, tool quality

Expecting a communications protocol to improve decision quality is like expecting a USB-C port to retouch a photo. Wrong tool choices, vague descriptions and poor task decomposition belong to agent design and tool governance; blaming the protocol only hides the real constraint.

What changed in the 2026-07-28 specification

The sharpest 2025 criticism of MCP concerned remote deployment: the early HTTP + SSE dual connection was awkward to scale across stateless cloud services, server quality varied widely, there was no reliable way to rank tools, and providers with mature APIs saw little return in wrapping them again. Excellent on the desktop, unconvincing in enterprise infrastructure.

The specification released on 28 July 2026 answers almost every one of those points. Its headline is a stateless protocol core:

Earlier problem2026-07-28 changeWhy it matters
Long-lived connections and session affinity blocked horizontal scalingThe initialize/initialized handshake and Mcp-Session-Id are retired; each request carries its protocol version, identity and capabilitiesAny request can land on any instance behind a plain round-robin load balancer — no shared storage
Gateways could not route or meter without parsing JSON bodiesMethod and tool names travel in Mcp-Method and Mcp-Name HTTP headersWAFs, gateways and rate limits can act on the operation directly
Tool catalogues were re-fetched on every reconnecttools/list, prompts/list, resources/list carry ttlMs, cacheScope and a deterministic orderCatalogues are cacheable; fewer round trips and stable upstream prompt caches
Server-initiated questions required an always-open bidirectional streamMulti Round-Trip Requests return an InputRequiredResult; the client supplies the answers and re-issues the callApprovals and confirmations fit ordinary HTTP flows
Authorisation consumed most integration timeRFC 9207 iss validation, credentials bound to their issuer, and a shift from DCR to Client ID Metadata DocumentsAligns with existing OAuth/OIDC and enterprise identity governance
No formal home for long-running work or interactive UIA first-class extensions framework: Tasks, MCP Apps, Skills over MCP, Enterprise Managed AuthorizationA predictable upgrade path for long jobs, embedded interfaces and managed identity
Breaking changes arrived without a runwayRoots, Sampling, Logging and legacy HTTP + SSE are formally deprecated with a minimum twelve-month windowMigration can be scheduled rather than improvised

Streamable HTTP now exposes a single POST endpoint, requires Origin validation and recommends binding local servers to 127.0.0.1. The specification also states that data access and every tool invocation require explicit user consent, and that tool descriptions must be treated as untrusted input unless they come from a trusted server. According to the release post, Tier 1 SDKs now see close to half a billion downloads a month, with both the TypeScript and Python SDKs past one billion cumulative downloads; AWS, Google Cloud, Microsoft Foundry and Cloudflare shipped support at release.

MCP has moved from "delightful on the desktop" to "deployable on enterprise infrastructure". Teams that evaluated it in 2025 and concluded it was not ready have a good reason to reopen the spreadsheet.

Four steps to production

StageQuestion to answerWork involvedVerifiable output
1 · Choose the scenarioWhich workflow is worth connecting first?Pick a bounded, measurable process with clean data; record current cycle time and error rate; exclude steps requiring final human judgementScenario brief and baseline
2 · Inventory tools and permissionsWhich capabilities are exposed, and to whom?De-duplicate tools, normalise naming and descriptions, attach ACLs to resources, prefer read-only, require confirmation for sensitive actionsTool catalogue, permission matrix
3 · Build a thin layerHow much must the existing system change?Wrap the API in a server, leave the core untouched, log every call, return interpretable errorsServer implementation, call logs, consent flow
4 · Roll out and observeHow will success be measured, and how do we roll back?Run in parallel at low volume, track tool hit rate, failure reasons and latency, maintain a rollback switch and a review cadenceComparison record, monitoring report, rollback plan

Stage two is the one most often skipped, and the one that usually decides the outcome. Failures rarely come from the protocol; they come from too many tools with near-identical descriptions, leaving the model to guess. Subtract before you expand.

Common mistakes and where MCP fits

  • More tools means more capability. Precision beats volume. Conflicting names and similar descriptions force the model to try tools one by one, burning tokens and time.
  • Wrapping an existing API is the whole job. Without clear descriptions, permission boundaries and meaningful errors, it is the same API on a different port — with an extra layer to maintain.
  • Adopting the protocol fixes agent planning. Task decomposition, context management and prompt design remain separate work.
  • Consent and audit can wait. Tools are arbitrary code execution; descriptions from external servers are untrusted input. Every high-risk call needs a traceable authorisation record.

There are also cases where waiting is wiser: a handful of fixed tools, a single client, or a stable in-house calling mechanism already in place. The test is simple. MCP starts compounding when adding one tool means changing more than one place, or when the same data must be read by more than one AI application.

From assessment to rollout

MCP standardises the interface. The harder questions are unchanged: which scenario to start with, which data may be exposed, who is allowed to change it, and who owns it after launch. Those answers live in process and governance design, not in the protocol.

XDATASOFT starts where traceable answers matter most: enterprise knowledge bases (RAG), where the AI must find the record and show which document it came from, then extends into AI scope assessment and workflow automation. Every engagement begins with an inventory and is validated in small steps, with deliverables, permission boundaries and acceptance criteria written into the proposal. Book a free 30-minute consultation to identify the first workflow worth connecting.