sintaxis.

Model Context Protocol

EstablishedCategory: ProtocolsReviewed on By Andres Felix
Contents
  1. Architecture
  2. Base protocol
  3. Transports
  4. Authorization
  5. Server primitives
  6. Specification versions
  7. Security
  8. References

The Model Context Protocol (MCP) is an open protocol, built on JSON-RPC 2.0, for communication between LLM application hosts and servers that expose context and capabilities. The specification is versioned by date. The current version is 2026-07-281.

Architecture

  • Host: the application process (IDE, chat, agent). It manages permissions, consent and the model’s context.
  • Client: the connector inside the host. There is one per server, with a 1:1 connection.
  • Server: exposes primitives. It can run locally or remotely.
Host
 ├─ Client A ⇄ Server A   (stdio, local)
 ├─ Client B ⇄ Server B   (Streamable HTTP, remote)
 └─ LLM

Base protocol

Messages are JSON-RPC 2.0 requests, responses and notifications. A session starts with initialize, where client and server exchange the protocol version and their capabilities. After that, only the features both sides declared are used1.

Transports

Transport Use
stdio Server launched as a local subprocess. Messages go over stdin/stdout.
Streamable HTTP Remote server: an HTTP endpoint whose responses can be streamed. It replaced the original HTTP+SSE transport.

Authorization

On HTTP transports, authorization is based on OAuth 2.1, and the MCP server acts as a resource server1.

Server primitives

Primitive Controlled by Methods
Tools The model decides to call them tools/list, tools/call
Resources The application decides to include them resources/list, resources/read
Prompts The user picks them prompts/list, prompts/get

Specification versions

Version Main changes
2024-11-05 First public version
2025-03-26 Streamable HTTP and authorization framework
2025-06-18 Structured tool output and elicitation
2025-11-25 Anniversary revision
2026-07-28 Stateless core, server/discover and extensions framework. Roots, Sampling and Logging are deprecated

Security

The specification requires explicit user consent before accessing data or running tools. Tool descriptions are treated as untrusted unless they come from a trusted server1. The risks specific to agentic systems are covered by the OWASP Top 10 for Agentic Applications2.

References

  1. 1
    MCP specification (version 2026-07-28) and changelogmodelcontextprotocol.io · accessed Dec 4, 2026
  2. 2
    OWASP Top 10 for Agentic Applications 2026genai.owasp.org · Dec 9, 2025

Suggest an edit