> ## Documentation Index
> Fetch the complete documentation index at: https://notes.kodekloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# What MCP Standardizes

> How MCP standardizes context delivery, JSON‑RPC messaging, version negotiation, and transport and capability discovery to simplify integrations between AI applications and backend systems

Alan is an AI engineer who recently integrated an AI assistant with several company tools. He succeeded, but the result was a tangled set of custom Python wrappers for each system. A colleague suggested he learn about MCP (Model‑Context‑Protocol), which he had never heard of.

This lesson answers the question: What does MCP standardize for Alan? Think of MCP like a USB‑C port for AI applications — one agreed connector, many devices, and fewer adapters to maintain.

MCP standardizes four core areas that matter to Alan:

1. How context reaches an AI application: the data, tools, and prewritten instructions such as prompt templates.
2. The message format used between client and server — `JSON‑RPC 2.0`.
3. How an MCP client and server agree on a protocol version.
4. What a server and a client can offer one another through the transport layer (the pipe the methods travel through).

The transport layer is simply the connection that carries method calls. On a single machine that pipe is often a direct local connection between two processes called `stdio`. Across the internet the pipe is HTTP requests, which let two applications talk to each other.

![An infographic titled "The Pipe the Message Travels" showing plug and terminal icons inside a "Your laptop" box labeled stdio. Below it, an HTTP line crosses "the internet" to a server rack icon, illustrating message flow.](https://mintcdn.com/kodekloud-c4ac6d9a/0UyWJzvxepsOrybu/images/Model-Context-Protocol-Associate-MCPA-Certification/Fundamentals-of-MCP/What-MCP-Standardizes/pipe-message-travels-stdio-http-server.jpg?fit=max\&auto=format\&n=0UyWJzvxepsOrybu\&q=85\&s=dfebdb10f332dc29c323bc154664ca54)

Before diving into `JSON‑RPC 2.0`, let’s briefly revisit RPC.

RPC stands for remote procedure call. A "procedure" is just a function. RPC's goal is to make calling someone else’s function feel like calling a local function — even when that function runs in a different language, process, or machine. Because the two programs share no memory, every piece of information required for the call must be serialized and transmitted: the function name, its arguments, and the return value or error.

![A slide titled "Calling Someone Else's Function" showing a remote procedure call. It depicts "Your program" (purple robot icon) sending a request via RPC to "A function" (blue code icon) on the right.](https://mintcdn.com/kodekloud-c4ac6d9a/0UyWJzvxepsOrybu/images/Model-Context-Protocol-Associate-MCPA-Certification/Fundamentals-of-MCP/What-MCP-Standardizes/calling-others-function-rpc.jpg?fit=max\&auto=format\&n=0UyWJzvxepsOrybu\&q=85\&s=efe00ecadc9e7e385e006637ff7a8e68)

JSON-RPC 2.0 uses JSON objects with well-defined fields and is language-agnostic (nearly every language has a JSON parser). Importantly, the JSON‑RPC spec does not mandate a transport: it works over `stdio`, HTTP, or any other transport that can carry JSON messages. That separation — message format vs transport — is one reason MCP adopts JSON‑RPC.

A minimal JSON‑RPC 2.0 request (a client calling a remote method named `getShipment`) looks like this:

```json theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "getShipment",
  "params": {
    "id": "SHIP12345"
  }
}
```

And the corresponding success response:

```json theme={null}
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "status": "in_transit",
    "eta": "2026-11-30T18:00:00Z"
  }
}
```

Notes about the message fields:

* `jsonrpc` must be `"2.0"` for the JSON‑RPC specification.
* `method` is the remote procedure name, sent as a string (not executable code).
* `params` contains method arguments (either by-position or by-name).
* `id` correlates request and response.
* Successful calls return `result`; failures return an `error` object.

JSON‑RPC 2.0 describes the message format. The `2.0` refers to the JSON‑RPC spec version, not the MCP protocol version. MCP defines its own version negotiation between client and server when they connect.

Because `method` is transmitted as text, a server must map that string to an implementation. Servers typically advertise the methods (capabilities) they expose so clients can discover and call them correctly.

Why MCP reused JSON‑RPC instead of inventing a new format:

* JSON is ubiquitous — every major language parses JSON, lowering the barrier for implementers.
* JSON‑RPC is transport‑agnostic; it does not force a single transport mechanism, which aligns with MCP’s flexibility (local `stdio`, HTTP, etc.).

Alan’s scaling problem revisited

Initially, Alan’s agent worked with a few internal tools. Then requests came in from many departments: “Can it read CRM?”, “Can it file tickets?”, “Can it access invoices?” Eventually the list grew to a dozen systems. Each backend had its own API and required a separate wrapper — and each new front-end (chat widget, mobile app, internal agent) would need its own integrations. That’s the n × m problem: N applications times M systems becomes costly to maintain.

MCP’s approach: wrap each backend system as an MCP server, and make applications (agents, widgets, services) speak the same MCP protocol as clients. With each backend exposing capabilities via MCP and every application speaking MCP, the number of pairwise integrations drops dramatically: you get N + M (or similar), instead of N × M.

![A diagram titled "One Protocol, Not Every Pair" showing an agent and a chat widget routed through a central service to multiple backend modules. Each module (Orders, CRM, Shipping, Billing, Invoicing, Payroll) is linked to paired systems like Returns, Filing, Ticket, Tracker, Marketing, and Analytics.](https://mintcdn.com/kodekloud-c4ac6d9a/0UyWJzvxepsOrybu/images/Model-Context-Protocol-Associate-MCPA-Certification/Fundamentals-of-MCP/What-MCP-Standardizes/one-protocol-not-every-pair-diagram.jpg?fit=max\&auto=format\&n=0UyWJzvxepsOrybu\&q=85\&s=1768ec17f22ea7958d1361da2715cc9e)

At a glance: what MCP standardizes

| Standardized area | What it is | Why it matters |
| - | - | - |
| Context delivery | How data, tools, and prompt templates reach an AI application | Ensures consistent inputs to models and tools across clients |
| Message format | `JSON‑RPC 2.0` for requests and responses | Language-agnostic, widely supported, and transport-agnostic |
| Versioning | Protocol negotiation between client and server | Enables safe upgrades and compatibility checks |
| Transport & capabilities | What methods travel the pipe (`stdio`, HTTP, etc.) and how servers advertise capabilities | Reduces integration complexity and enables discovery-driven clients |

Transport selection affects security, latency, and deployment. `stdio` is common for local integrations; HTTP is required for networked deployments. Consider authentication, encryption, and network policies when exposing MCP servers.

Summary

* MCP standardizes how context and tools reach AI applications.
* It standardizes the message format (JSON‑RPC 2.0) so different languages and runtimes interoperate.
* It defines how client and server agree on protocol versions.
* It defines capabilities and transports (e.g., `stdio`, HTTP), dramatically reducing integration overhead.

Links and references

* [JSON‑RPC 2.0 Specification](https://www.jsonrpc.org/specification)
* [Remote procedure call — Wikipedia](https://en.wikipedia.org/wiki/Remote_procedure_call)

> [card] [Watch Video](https://learn.kodekloud.com/user/courses/model-context-protocol-associate-mcpa-certification/module/1876cd42-7885-48d4-8c36-4c15b23a4bd2/lesson/0b9145b3-54f9-4370-a565-320ec791794b)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.