Model Context Protocol › Why a protocol at all

Michael BrenndoerferDecember 1, 20264 min read
Language AI HandbookAll chapters
Part 49 of 67Long-Horizon Agents and Interoperability
Chapter 377Model Context Protocol › Why a protocol at all
Reading section 2 of 14 · Why a protocol at all · 4 minSection 2 of 14 · 4 min

Section 2 of 14 · 4 min read

Reading settings

Definitions

Choose how many terms have tooltips.

Article links

Make inline references clickable

Notes & comments

Consider a small company with a reading assistant in its web application and another assistant in its editor. A researcher asks either assistant for a title, then needs the same record in the other application. The catalog owner would like to publish the lookup once, describe what input it accepts and maintain its own reader permissions. Each host still has a separate job. The editor may offer lookup only when someone opens a catalog panel. The web app may offer it during a research conversation but ask for approval before sending a call.

You could write two adapters for those surfaces, and for a stable internal API that may be a reasonable choice. The reusable interface matters when separate teams own the applications and data. An app author can connect a new catalog without rewriting the model's conversation interface, and the catalog owner can update the server without shipping a new prompt for every connected model. Both still need compatible features and a clear agreement about policy. The adapter count below is a way to express the interface savings under ideal reuse. It leaves out testing, installation and changes peculiar to a deployment.

First decide what needs to be shared. Lookups that operate on server data fit tools. An existing record with a stable identifier may fit a resource. A repeatable user-invoked request with intentional inputs may fit a prompt. Choosing one clarifies which participant initiates the interaction and where the application should show state. It also helps a team avoid adding a general-purpose operation when the task needs a single bounded lookup.

Suppose two assistants need the same reading catalog. Each has its own model-facing tool format, but both need to list the catalog's operations, send arguments and receive a result. A shared protocol gives the catalog one interface to implement. The assistants still decide which actions to offer, how to show approvals and what to do with returned content.

With NN hosts and MM providers, one adapter for every host–provider pair gives NMN M adapters. If each participant implements a common interface once, the model counts N+MN+M implementations. This counts interfaces under ideal interoperability. Testing deployment-specific combinations, setting policy and adapting incompatible features can still take separate work.

Model Context Protocol (MCP) defines that common interface using JSON-RPC 2.0. This chapter follows the dated 2026-07-28 revision and calls out where the 2025-11-25 handshake differs. The worked example uses a fictional in-memory catalog and a read-only lookup. One caller can see the tool, and the host asks for approval before sending the request. A separate server check decides whether the caller can read the catalog.

PythonIn [3]
CollapseExpand
host_counts = range(1, 21)
pairwise_adapters = [n * n for n in host_counts]
shared_implementations = [2 * n for n in host_counts]
VisualizationOut [4]
CollapseExpand
The pairwise adapter count grows quadratically with hosts and providers per side, while implementing a shared interface grows linearly.
Adapter counts in the idealized case where the number of hosts equals the number of providers. The formulas count interfaces, without estimating the time needed to build or test them.

The curves use the same count on both sides. At five hosts and five providers, the pairwise model needs 25 adapters. The shared model counts 10 implementations. At one host and one provider, the pairwise model counts one adapter and the shared model counts two implementations.

Comments

Add to the conversation

A question, a correction, or an example from your own work.

No comments yet. Be the first to share your thoughts!

Newsletter

Stay up to date

Get new articles, book updates, and notes on AI and technology.

Unsubscribe at any time. Privacy policy