Home›Blog›AI and tech

AI and techNovember 14, 202645 min read

MCP Server Explained

An MCP server gives an AI application a standard way to reach data and actions. The 2026-07-28 specification removed the startup handshake and sessions, changed how servers ask users for input, and deprecated four features. This guide follows the official pages and marks every inference.

MCP ServerHow it works, and what changed.AI AND TECH - PROTOCOLSMCP ServerHow it works, and what changed.esimgomobile.com

What you will learn

  • An MCP server offers tools, resources and prompts to a host through one client each.
  • The 2026-07-28 version has no handshake and no session header.
  • Four features are deprecated, earliest removal July 28, 2027.
  • Never accept tokens issued for another server, and validate Origin.
  • Treat local servers as code with your privileges, and keep a human approving actions.
On this page
  1. The short answer: what an MCP server is, and what changed in 2026
  2. Hosts, clients and servers: who is who
  3. Two layers: the data layer and the transport layer
  4. Three building blocks: tools, resources and prompts
  5. Tools in detail: definitions, calls, errors and annotations
  6. Resources, prompts and the list of things a server can notify about
  7. Transport one: stdio, for servers that run on your own machine
  8. Transport two: Streamable HTTP, for servers other people reach
  9. What changed in the 2026-07-28 specification
  10. Asking the user a question: input_required and the new request pattern
  11. Deprecations and the 12-month window
  12. Authorization: how a remote server decides who you are
  13. Client registration: client ID metadata documents replace dynamic registration
  14. Attacks the specification names, and what it says to do
  15. Local servers: the trust model and how a catalog gets poisoned
  16. A checklist for teams building or adopting an MCP server
  17. Common mistakes, and a short glossary
  18. Frequently asked questions
  19. Sources and audit notes

The short answer: what an MCP server is, and what changed in 2026

An MCP server is a program that gives an AI application a standard way to reach outside data and actions. MCP stands for Model Context Protocol. The protocol's own specification describes it as an open protocol that enables integration between LLM applications and external data sources and tools, and says it provides a standardized way to connect LLMs with the context they need.

In plain terms, a server is the piece that sits next to something useful, such as a file system, a database, a calendar or a company's API, and describes that thing to an AI application in a format the application already understands. The official documentation gives common examples: file system servers for document access, database servers for data queries, GitHub servers for code management, Slack servers for team communication, and calendar servers for scheduling.

Why this guide exists

Many explainers on this topic were written for earlier versions of the protocol. The MCP project published a new specification, version 2026-07-28, on July 28, 2026. Its release blog post says the highlight is a stateless protocol core: MCP is moving from a bidirectional stateful protocol to a request and response stateless one. The same release retired the startup handshake and the session header, redesigned how servers ask users for input, and deprecated several features.

So there are two stories to tell. The first is what MCP is and how its parts fit together, which has stayed mostly stable. The second is what changed, which matters if you read an older tutorial or run an older server. This guide covers both, and it marks which statements apply only to the new version.

What you will find here

  • Chapters 2 to 6: the participants, the two protocol layers, and the three building blocks called tools, resources and prompts.
  • Chapters 7 and 8: the two transports, stdio and Streamable HTTP.
  • Chapters 9 to 11: the 2026-07-28 changes, the new request pattern for asking users questions, and the deprecations with their dates.
  • Chapters 12 and 13: authorization and client registration.
  • Chapters 14 and 15: the attacks the project's security documents describe, and how to run local servers more safely.
  • Chapters 16 and 17: a checklist for teams, common mistakes and a glossary.

How we sourced it

Every protocol rule, version, date and quotation in this guide comes from the official MCP specification, the project's documentation and its release blog, all fetched on November 14, 2026. The sources are listed at the end. Where we reasoned beyond a page, we say so. We did not run any server in testing for this guide, and we make no performance claims.

A disclosure

esimgomobile sells phone numbers and eSIMs and has written about MCP before, so we have a commercial interest in this topic. This guide is about the protocol. It does not describe or rank any vendor's server, including anything of ours. If you read our earlier MCP overview, treat the 2026-07-28 specification described here as the newer source on protocol behavior, since it describes sessions and a startup handshake that this version removed.

Host, client and serverHost, client and server layers: Layer 1: host; Layer 2: client; Layer 3: serverTHREE PARTICIPANTSHost, client and serverLayer 1: hostThe AI app. Manages many clients.Layer 2: clientOne per server. Holds the connection.Layer 3: serverProvides tools, resources and prompts.
Figure 1. The three participants from the MCP architecture overview. The host creates one client per server.

Hosts, clients and servers: who is who

The official architecture overview names three participants. It helps to get the names straight early, because people use "client" and "server" loosely and the protocol does not.

The three participants

  • MCP host. The AI application that coordinates and manages one or more MCP clients. The documentation's examples are Claude Code and Claude Desktop, and it also uses Visual Studio Code as a host.
  • MCP client. A component that maintains a connection to one MCP server and obtains context from it for the host to use.
  • MCP server. A program that provides context to MCP clients.

The detail that surprises people is the one-to-one pairing. The overview says the host creates one MCP client for each MCP server, and each client keeps a dedicated connection with its server. If you connect an AI application to three servers, the host runs three client objects. The documentation's example is Visual Studio Code: when it connects to the Sentry server it creates a client for that connection, and when it then connects to a local file system server it creates a second client.

"Local" and "remote" describe where a server runs

The overview notes that "MCP server" refers to the program that serves context data, regardless of where it runs. Two common patterns follow:

  • A local server runs on the same machine as the host. The documentation's example is the file system server that Claude Desktop launches. It uses the stdio transport and typically serves a single client.
  • A remote server runs elsewhere and is reached over the network. The example is the official Sentry server, which runs on the Sentry platform and uses the Streamable HTTP transport. Remote servers typically serve many clients.

What MCP does not do

The overview states a boundary that is easy to miss. MCP focuses solely on the protocol for context exchange. It does not dictate how AI applications use LLMs or manage the provided context. A host decides which servers to connect, which tools to show the model, how to ask the user for approval and how to feed results back into a model. The protocol only defines how the pieces talk.

What the project includes

The documentation lists four projects under the MCP name: the specification, which outlines requirements for clients and servers; SDKs for different programming languages; development tools such as the MCP Inspector; and reference server implementations. The release blog adds that the Tier 1 SDKs for TypeScript, Python, Go and C# were updated to the 2026-07-28 version on the release date, and that the Rust SDK supports it in beta.

Why the pairing matters for security and operations

One client per server means each connection can be tracked, authorized and closed on its own. It also means that a host with many servers has many connections to manage. The project's local server security guide adds a warning that applies to the host as a whole: every server you configure shares the same model context, so a malicious server can influence how the agent uses the tools of every other server. Chapter 15 returns to this point.

A mental model we find useful

Think of the host as a person at a desk, each client as a phone line to one office, and each server as the office on the other end. The person decides who to call and what to do with the answers. The line only carries the conversation. This is our own analogy, not the project's.

It is useful as long as you remember that, unlike a person, a model may follow instructions that appear in what it is told, which is why the security chapters matter.

Local and remote serversLocal and remote servers: Local (stdio) vs Remote (Streamable HTTP)WHERE SERVERS RUNLocal and remote serversLocal (stdio)•Runs on your machine•Usually one client•Credentials from environmentRemote (Streamable HTTP)•Runs on a network•Many clients•HTTP authorization, OAuth advised
Figure 2. From the architecture overview and transport pages.

Two layers: the data layer and the transport layer

The architecture overview divides MCP into two layers. Understanding the split makes the rest of the specification easier to read, and it explains why the same server logic can run over very different connections.

The data layer

The data layer defines the JSON-RPC based protocol for client and server communication. The overview says it includes capability and version discovery and the core primitives: tools, resources, prompts and notifications. It lists four groups of features:

  • Discovery. Lets clients ask a server which protocol versions, capabilities and identity it supports, through the server/discover request.
  • Server features. Tools for AI actions, resources for context data, and prompts for interaction templates.
  • Client features. Lets servers ask the user for input, called elicitation. The overview notes that sampling is deprecated as of protocol version 2026-07-28.
  • Utility features. Notifications for real-time updates and progress tracking for long-running operations.

JSON-RPC in one paragraph

MCP messages use JSON-RPC 2.0. The specification says requests must include a string or integer ID, and unlike base JSON-RPC, the ID must not be null. A result response must include the same ID as its request. Under the 2026-07-28 version, every result must also carry a resultType field. A value of complete means the request finished and the result holds the final content.

A value of input_required means more information is needed, and chapter 10 explains how that works. For compatibility with older servers, clients must treat a missing resultType as complete, and any value the client does not recognize must be treated as invalid.

The transport layer

The transport layer manages the communication channels and authentication between clients and servers. The overview says it handles connection establishment, message framing and secure communication. It describes the data layer as the inner layer and the transport layer as the outer one.

MCP supports two transports:

  • stdio, which uses standard input and output streams for direct process communication between local processes on the same machine, with no network overhead.
  • Streamable HTTP, which uses HTTP POST for client-to-server messages and optional Server-Sent Events for streaming. It enables remote server communication and supports standard HTTP authentication such as bearer tokens, API keys and custom headers. The overview recommends OAuth to obtain authentication tokens.

Why the split is useful

Because the data layer is independent of the transport, the same tool definitions work whether a server runs as a local subprocess or behind a web endpoint. The overview says this explicitly: the transport layer abstracts the communication details from the protocol layer, enabling the same JSON-RPC message format across all transport mechanisms.

The specification's wording

The specification states that it defines the authoritative protocol requirements and is based on a TypeScript schema. It uses the key words MUST, SHOULD and MAY as defined in the IETF's BCP 14, meaning RFC 2119 and RFC 8174, only when they appear in capitals. That matters when you read this guide's source pages.

A MUST is a requirement for conformance. A SHOULD is a recommendation with room for exceptions. A MAY is optional. In this guide, when we write "must", we are reporting a capitalized MUST in the specification.

What this layering does not tell you

It does not tell you which features a given server implements. That is declared through capabilities. For example, the tools page says servers that support tools must declare the tools capability, and may also declare listChanged to say whether they will emit notifications when the list of tools changes. A client should read capabilities rather than assume a server supports everything in the specification.

Data layer and transport layerData layer and transport layer: Data and transport to Data layer (); Data and transport to Transport layer (); Data and transport to Transport options ()LAYERSData layer and transport layerData andtransportParts of MCPData layerJSON-RPC messages,primitives, discovery.Transport layerConnection, framing,authentication.Transport optionsstdio and StreamableHTTP.
Figure 3. Separate parts, not steps. The layering described in the architecture overview.

Three building blocks: tools, resources and prompts

The project's guide to servers says servers provide functionality through three building blocks. The most useful thing to learn about them is who controls each one, because that decides how a host should present them and how much trust each deserves.

The comparison

FeatureWhat it isWho controls it
ToolsFunctions the model can actively call, and the model decides when to use them based on user requestsModel
ResourcesPassive, read-only data sources that provide contextApplication
PromptsPre-built instruction templates that tell the model to work with specific tools and resourcesUser

This table follows the documentation's own wording. The three-way split is a design choice, not a technical limit. A tool can read data and a resource can be large, but the controller differs: the model chooses tools, the application chooses resources, and the user chooses prompts.

Tools: actions the model can take

The documentation says tools can write to databases, call external APIs, modify files or trigger other logic. Its examples are searching flights, sending messages and creating calendar events. Each tool is a schema-defined interface: it has a name, a description and an input schema written in JSON Schema. The model requests execution and the server performs it.

Resources: context the application selects

Resources expose data from files, APIs, databases or any other source an AI needs to understand context. Each resource has a unique URI, such as file:///path/to/document.md, and declares a MIME type. The documentation says applications can access this information directly and decide how to use it, whether that means selecting relevant portions, searching with embeddings or passing it all to the model.

Prompts: templates the user chooses

Prompts are structured templates with defined inputs. The documentation says they are user-controlled, requiring explicit invocation rather than automatic triggering. A server author can use them to offer parameterized prompts for a domain, or to show how best to use the server. Its example is a "Plan a vacation" prompt with arguments such as destination, duration, budget and interests.

An example that uses all three

The documentation builds one scenario around travel. A user selects the "Plan a vacation" prompt and fills in Barcelona, seven days, a budget and some interests. The application reads resources such as calendar data and past itineraries to give the model context. The model then calls tools, such as flight search and calendar blocking, to act. The three building blocks cooperate, each controlled by a different party.

The operations behind each block

  • Tools: tools/list discovers tools and tools/call runs one.
  • Resources: resources/list lists direct resources, resources/templates/list lists templates, resources/read retrieves content, and subscriptions/listen monitors changes.
  • Prompts: prompts/list discovers prompts and prompts/get retrieves one.

Why control matters

If the model controls a tool, a mistaken or manipulated model can trigger an action. That is why the tools page says there should always be a human in the loop with the ability to deny tool invocations, and why the clients' approval screens matter. Resources are chosen by the application, so a risk there is what the application chooses to include.

Prompts are chosen by the user, so the user is the one who triggers them. We return to these risks in chapters 14 and 15.

A common confusion

Many people call everything a "tool". In the protocol, tools are only the model-controlled actions. If your integration only needs to give an application read access to documents, resources may fit better, and if you want to offer a repeatable workflow, a prompt may fit. We did not find guidance in the documentation that ranks one above the others. It describes the three as complementary.

What each one is and who controls itWhat each one is and who controls it comparison of Model decides, App decides, User decides, Can change thingsBUILDING BLOCKSWhat each one is and who controls itModel decidesApp decidesUser decidesCan change thingsToolsResourcesPrompts
Figure 4. The control column is from the server concepts page. "Can change things" is our simplification: tools may act, the others supply context or templates.

Tools in detail: definitions, calls, errors and annotations

Tools are the part of MCP that most people care about, because they turn a model from a reader into an actor. The specification's tools page sets out the rules, and the project's guide to servers explains the intent.

What a tool definition contains

Each tool is uniquely identified by a name and includes metadata describing its schema. The server guide's example defines a searchFlights tool with a description and an input schema that lists origin, destination and date, with all three required. The 2026-07-28 changelog notes that inputSchema and outputSchema now allow any JSON Schema 2020-12 keywords, and adds requirements for resolving $ref references and bounds for composition keywords.

Listing tools

Servers that declare the tools capability must respond to tools/list with the set of tools currently available to the requesting client. The specification says this set may be empty and may change over time, but must not vary per connection or as a side effect of other requests on the connection.

It may vary by the authorization presented on the request. This reflects the stateless design: what a client sees should depend on who it is, not on what happened earlier on a connection.

Two newer rules apply. The changelog says servers should return tools in a deterministic order, to enable client-side caching and improve LLM prompt cache hit rates. It also requires ttlMs and cacheScope fields on list results, which chapter 9 covers.

Calling a tool

A client runs a tool with tools/call, passing the tool name and arguments. Over Streamable HTTP, the 2026-07-28 version requires standard request headers Mcp-Method and Mcp-Name on POST requests, so a gateway can see which method and which tool name a request carries without parsing the body. The release blog's example shows a call to a tool named search with the header Mcp-Name: search.

Two kinds of error

The tools page separates errors into two groups. Protocol errors are for problems such as unknown tools or invalid requests. Tool execution errors are for problems such as API failures, input validation errors and business logic errors, and they are reported inside a normal result with isError: true. The page's example is a result that says the departure date must be in the future.

The page says clients may provide protocol errors to language models, though these are less likely to result in successful recovery, and that clients should provide tool execution errors to language models to enable self-correction. In plain terms, an error message written for the model should say what went wrong and how to fix it.

Annotations are hints, not guarantees

Tools can carry optional annotations that describe their behavior. The specification says that for trust and safety and security, clients must consider tool annotations to be untrusted unless they come from trusted servers. A server that labels a tool as harmless is making a claim, and the client cannot take it as fact unless it trusts the server.

Human oversight

The specification's warning says there should always be a human in the loop with the ability to deny tool invocations. It lists what applications should do, including providing UI that makes clear which tools are exposed to the model. The server guide adds examples of mechanisms: showing available tools in the UI, approval dialogs for individual executions, permission settings for pre-approving safe operations, and activity logs.

The specification's security list for tools

The tools page lists what servers must do: validate all tool inputs, implement proper access controls, rate limit tool invocations and sanitize tool outputs. It lists what clients should do: prompt for user confirmation on sensitive operations, show tool inputs to the user before calling the server to avoid malicious or accidental data exfiltration, validate tool results before passing them to the model, implement timeouts for tool calls, and log tool usage for audit purposes.

A design note

Writing a good tool is mostly writing a good description and a tight schema. The model reads both. A tool that does one operation with clearly defined inputs and outputs, as the documentation recommends, is easier to approve, easier to rate limit and easier to audit than one that takes a free-form command.

What the spec says about tool safetyWhat the spec says about tool safety: Servers validate all tool inputs; Servers implement access controls; Servers rate limit tool calls; Servers sanitize tool outputs; Clients show tool inputs before calling; Clients prompt on sensitive operations; Clients validate results before the model; A human can deny tool callsTOOLS PAGEWhat the spec says about tool safetyServers validate all tool inputsServers implement access controlsServers rate limit tool callsServers sanitize tool outputsClients show tool inputs before callingClients prompt on sensitive operationsClients validate results before the modelA human can deny tool calls
Figure 5. Short form of the tools page security considerations.

Resources, prompts and the list of things a server can notify about

Tools get the attention, but resources and prompts do real work in a well-designed server. This chapter covers the parts of the specification the earlier chapters only named.

Direct resources and templates

The server guide describes two discovery patterns for resources. Direct resources have fixed URIs that point to specific data, such as calendar://events/2024. Resource templates have dynamic URIs with parameters, such as travel://activities/{city}/{category}, which lets a client ask for travel://activities/barcelona/museums. Templates include metadata such as a title, a description and the expected MIME type, so they are discoverable and self-documenting.

Both kinds are read with resources/read. Under 2026-07-28, results from resources/read and the list operations carry cache hints. The changelog also says the error code for a resource that is not found changed from -32002 to -32602, which is the JSON-RPC code for invalid params.

Parameter completion

The guide says dynamic resources and prompts support parameter completion. Typing "Par" for a city parameter might suggest "Paris" or "Park City". The aim is to help people discover valid values without knowing the exact format.

Watching for changes: subscriptions

Earlier protocol versions used an HTTP GET endpoint and resources/subscribe and resources/unsubscribe calls. The 2026-07-28 changelog replaced them with subscriptions/listen: a single long-lived POST-response stream for changes the client has opted into. Clients choose which types to receive: toolsListChanged, promptsListChanged, resourcesListChanged and resourceSubscriptions. The server acknowledges and tags each notification with a subscription ID. Notifications that belong to one request, such as progress and log messages, continue to travel on the response stream of that request.

Prompts in practice

Prompts are retrieved with prompts/get, which returns the full prompt definition with its arguments. The guide's principle is that prompts are user-controlled. A host might show them as slash commands or menu items. The protocol does not mandate a user interface, and the guide says the freedom is deliberate.

Who should trust what

Resources and prompts are chosen by the application and the user, but their content still comes from a server. The local server security guide warns that tool names and descriptions are instructions the model reads, and that a server can hide directives in them. That guide's wording is about tool catalogs.

We read the same caution as sensible for any server-supplied text that reaches a model, including resource contents and prompt text, but the guide does not make that extension explicitly, so treat it as our inference.

Pagination and completion utilities

The specification's table of contents also lists utility pages for caching, completion, pagination and logging under the server section. We fetched the caching rules, summarized in chapter 9. We did not read the pagination and completion pages in full for this guide, so we make no claims about their details beyond what the changelog and server guide state.

Choosing the right block

The documentation does not give a rule for choosing among tools, resources and prompts. Our practical reading of its descriptions:

  • If the model should decide when to run it, and it changes something or computes something, it is a tool.
  • If the application should decide when to include it, and it is read-only context, it is a resource.
  • If a person should start it on purpose, and it is a workflow, it is a prompt.

This is a reading of the documentation's "who controls it" column, not an official decision tree.

Two kinds of tool errorTwo kinds of tool error: A tool call fails to Protocol error (); A tool call fails to Execution error (); A tool call fails to Why the split matters ()ERRORSTwo kinds of tool errorA tool call failsTwo kindsProtocol errorUnknown tool or badrequest.Execution errorA result with isErrortrue.Why the splitmattersExecution errors helpthe model retry.
Figure 6. Separate cases, not steps. Summarized from the tools page. Protocol errors are less likely to lead to recovery, per the page.

Transport one: stdio, for servers that run on your own machine

The stdio transport is the simpler of the two, and it is the one behind most "install this server and add it to your config" instructions. The specification's stdio page describes it in a few rules that are worth knowing exactly.

How it works

The client launches the MCP server as a subprocess. The server reads JSON-RPC messages from its standard input and writes them to its standard output. Messages are newline-delimited, so each message ends with a newline and must not contain an embedded newline. Both sides exchange the same message format used over any other transport.

The rules a server author must follow

  • The server must not write anything to stdout that is not a valid MCP message. This is the most common source of broken servers, because a stray print statement corrupts the stream. We state it as a rule from the specification, not as a statistic about how often it happens.
  • The server may write logging output to standard error. A client may capture, forward or ignore it.
  • The client must not write anything to the server's stdin that is not a valid MCP message.

Shutdown

The stdio page describes shutdown as closing the server's input stream. The client closes stdin, waits for the server to exit, and escalates to stronger signals only if the server does not exit in time. A well-behaved server therefore exits when its input ends.

Authorization for stdio

The authorization page says implementations using stdio should not follow its OAuth flow and should instead retrieve credentials from the environment. This is why local server configuration usually passes secrets as environment variables rather than prompting through a browser.

What a local server can do

The local server security guide is blunt about the trust model. With stdio, the client launches the server as a subprocess with the same privileges as the client, so the client and server share one trust domain. A local server can read the files the user can read and make network requests the user can make. The guide's list of threats includes a malicious server, an overcollecting server, a compromised dependency and a poisoned tool catalog. Chapter 15 covers them.

When stdio is a good fit

Our reading, not an official rule: stdio fits tools that act on local resources, such as files, a local database or a developer tool, where network exposure would be an extra risk with no benefit. It also keeps setup simple, since there is no web server, no certificate and no OAuth flow. The documentation's example of a local server is the file system server run by Claude Desktop, which uses stdio and typically serves a single client.

Limits

A stdio server runs where the client runs. It cannot be shared by many users unless each starts their own copy. It also depends on a runtime being present on the user's machine, which the local server security guide treats as part of the risk surface: the exact command the client runs matters, and a client should show it before starting a server.

A practical test

Before you publish a stdio server, run it by hand and watch stdout. If anything other than JSON-RPC lines appears, move it to stderr. This is a debugging habit we recommend, drawn from the rule above. The project also provides the MCP Inspector among its development tools, and it is the project's own named option for exercising a server.

The life of a local serverThe life of a local server: Client launches to Messages flow (); Messages flow to Client closes stdin ()STDIOThe life of a local serverClient launchesA subprocess with yourprivileges.Messages flowJSON lines on stdin andstdout. Logs go tostderr, never stdout.Client closesstdinThe server exits.
Figure 7. Summarized from the stdio transport page.

Transport two: Streamable HTTP, for servers other people reach

Streamable HTTP is the transport for remote servers. The 2026-07-28 version simplified it a great deal, so older descriptions are now wrong in several places.

One endpoint

The server provides a single HTTP endpoint that supports POST. The client sends each JSON-RPC message as the body of a POST request. The server answers in one of two ways: a single JSON response, or a Server-Sent Events stream that carries the response and possibly related notifications. The client must be ready for either.

What was removed

The 2026-07-28 changelog and the transports page remove the pieces that made earlier versions stateful:

  • The Mcp-Session-Id header is gone. Servers no longer create sessions to track clients.
  • The initialize handshake is gone. Each request carries what the server needs.
  • The standalone GET stream is gone, replaced by subscriptions/listen where a client wants change notifications.
  • Resumability of event streams was removed.
  • Separately, the older HTTP+SSE transport is listed on the deprecated features page, where it was already marked deprecated as of 2025-03-26 and points to Streamable HTTP as its migration path.

What was added

Requests on HTTP carry the MCP-Protocol-Version header, and the new Mcp-Method header, plus Mcp-Name for tool, resource and prompt operations. The purpose, given in the release blog, is that load balancers, gateways and web application firewalls can route and filter on those headers without parsing JSON bodies.

Security rules for the endpoint

The page lists requirements that matter to anyone running a server:

  • Servers must validate the Origin header on incoming connections, and respond with HTTP 403 if the origin is invalid. The reason, as the specification explains, is to prevent DNS rebinding attacks, where a web page reaches a server running on a visitor's own machine.
  • When running locally, servers should bind only to localhost (127.0.0.1) rather than all network interfaces.
  • Servers should implement proper authentication for all connections.

Why statelessness helps

The release blog says the earlier design meant a server often had to keep per-connection memory, which makes load balancing and scaling harder. With every request self-describing, any server instance can answer any request. This is our summary of the blog's argument, and we did not measure it. Teams running a remote server behind a standard load balancer are the ones who gain most.

What statelessness does not remove

A server can still hold application state. The changelog and security pages are explicit that something like a task handle or a subscription must be treated carefully: handles must be random and bound to an authenticated user, because possessing a handle is not authentication. Chapter 14 covers this.

Choosing between the two transports

QuestionstdioStreamable HTTP
Where does the server run?Same machine as the clientAnywhere reachable by network
Typical client countOneMany
How are credentials passed?EnvironmentHTTP authorization, ideally OAuth
Main extra riskLocal code with user privilegesNetwork exposure and token handling

The table summarizes the documentation. It is not exhaustive.

Custom transports

The authorization page allows alternative transports, and says implementations using them must follow established security best practices for their protocol. We did not find a catalogue of custom transports in the pages we read, so we make no claim about which exist.

Four rules from the transport pageFour rules from the transport page: Streamable HTTP to One endpoint (); Streamable HTTP to Reject bad Origin (); Streamable HTTP to Bind locally (); Streamable HTTP to Two reply forms ()STREAMABLE HTTPFour rules from the transport pageStreamable HTTPFour rulesOne endpointOne POST endpoint forall messages.Reject bad OriginServers must reject aninvalid Origin, withHTTP 403.Bind locallyLocal servers shouldbind to localhost.Two reply formsOne JSON response or anSSE stream.
Figure 8. Separate rules, not steps. From the Streamable HTTP section of the transports page.

What changed in the 2026-07-28 specification

This chapter is a plain list of the changes that most affect people who build or run servers, taken from the specification's key changes page, the changelog and the release blog. The predecessor is version 2025-11-25.

The headline: a stateless core

The release blog calls the stateless protocol core the highlight. In earlier versions, a client and server opened a connection, exchanged an initialize request and result, and then confirmed with an initialized notification. In 2026-07-28 there is no such exchange. The version, client identity and capabilities travel with every request in its _meta field, and the server accepts or rejects each request on its own.

If a server does not support the requested version, it must respond with an UnsupportedProtocolVersionError listing the versions it does support. The versioning page's example uses error code -32022 and returns the supported versions 2026-07-28 and 2025-11-25. The client should pick a mutually supported version and retry.

Discovery without a handshake

Servers must implement server/discover. A client may call it before any other request to learn the server's supported versions, capabilities and identity. It is optional for the client, but mandatory for the server.

New headers

Mcp-Method and Mcp-Name expose the operation to HTTP infrastructure, as chapter 8 explained. Tool definitions can also use x-mcp-header annotations, a mechanism the tools page documents for surfacing chosen parameters in headers.

Caching hints

List results and read results now carry two fields. ttlMs says how long a result may be reused, and cacheScope says whether it may be shared between users or is private. The tools page requires deterministic ordering of tool lists so that clients and model prompt caches can reuse them. We have not tested the effect.

New ways to receive updates

subscriptions/listen replaces the old subscription calls, as chapter 6 described.

Asking the user for input

Servers can no longer open a request to the client mid-operation. Instead they return a result with resultType: "input_required". Chapter 10 covers this in detail.

Long-running work

The changelog moves experimental tasks out of the core and into an official extension, io.modelcontextprotocol/tasks. It says the redesign replaces the blocking tasks/result method with polling through tasks/get, adds tasks/update for client-to-server input, and removes tasks/list. We read the changelog's description and not the extension's full page, so we limit our claims to that.

Authorization updates

The authorization page now requires clients to validate the iss parameter in authorization responses according to RFC 9207 where applicable, and to bind credentials to the issuer that granted them. Dynamic Client Registration is deprecated in favor of Client ID Metadata Documents. Chapters 12 and 13 explain.

Error codes

The range -32020 to -32099 is reserved for MCP. The not-found code for resources changed to -32602, as chapter 6 noted.

Schema changes

Tool schemas allow JSON Schema 2020-12 keywords, with extra rules for $ref and composition keywords.

Tools should be consistent

The tools list must not vary by connection or as a side effect of other requests, only by the authorization presented. That rule follows from statelessness and removes a source of surprise.

Who has updated

The release blog says the Tier 1 SDKs for TypeScript, Python, Go and C# were updated on release day and Rust is in beta. It also cites download figures: close to half a billion a month and over a billion total for the TypeScript and Python SDKs. These are the project's figures, which we did not verify independently.

What did not change

The three building blocks, JSON-RPC 2.0, JSON Schema for tools, and the host, client and server roles all remain. If you understand chapters 2 to 6, you understand the part that stayed.

What the spec removed or addedWhat the spec removed or added: Version dates to 2025-03-26 (); Version dates to 2025-11-25 (); Version dates to Jul 28, 2026 (); Version dates to Jul 28, 2026 (); Version dates to Jul 28, 2027 ()DATESWhat the spec removed or addedVersion datesFive dated facts2025-03-26HTTP+SSE markeddeprecated2025-11-25Last handshake-basedversionJul 28, 2026Stateless core releasedJul 28, 2026Roots, sampling,logging, DCR deprecatedJul 28, 2027Earliest removal ofthose four
Figure 9. Separate dated facts, not steps. Dates from the changelog, versioning page and deprecated features page. Removal is earliest, not scheduled.

Asking the user a question: input_required and the new request pattern

One change deserves its own chapter, because it alters how a server and client cooperate during a single operation.

The old pattern

In earlier protocol versions, a server that needed more information in the middle of a request could send its own request back to the client, for example asking the user to confirm something. That required a live bidirectional connection and kept the original request waiting.

The new pattern

With the stateless core, a request gets one response. If the server needs more, the response is a result whose resultType is input_required. The specification calls the payload an InputRequiredResult. It lists the input requests the server needs answered. The client gathers the answers, which may involve showing the user a form, and sends the original request again with inputResponses attached.

The server then continues, and the final result has resultType: "complete". The release blog refers to this as multi round-trip requests, or MRTR.

A worked example, clearly invented

Suppose a tool called book_table needs a party size that the model did not supply. This is our made-up illustration of the flow, not an example from the specification.

  1. The client calls book_table with a restaurant and a time.
  2. The server replies with input_required, asking for the party size.
  3. The host shows the user a small form. The user enters 4.
  4. The client repeats the book_table call and includes the answer in inputResponses.
  5. The server completes the booking and replies with complete.

Notice that no connection was held open between steps 2 and 4, and that a different server instance could handle step 4. That is the point of the change.

Why this matters for hosts

Because the user is asked directly by the host, the host controls what is shown. The specification names the feature elicitation and keeps it in the client features list. Sampling, where a server asks the host's model to generate text, is deprecated in this version.

Rules about unrecognized results

The base specification says a client must treat an unrecognized resultType as invalid. Extensions can add result types, but only those advertised through capabilities. A client therefore should not guess how to handle new types.

Backward compatibility

Old servers do not send resultType. Clients must treat a missing value as complete. The versioning page also defines dual-era implementations that support both modern and legacy versions, so a client can talk to both sorts during the transition.

Design advice, our own

If your server collects input this way, keep the repeated request idempotent where you can, because the client sends the same operation twice. The specification pages we read do not give this advice. It is our engineering inference from the repeat-request design, and teams should test it against their own tools.

A security angle

Information requests shown to a user should come from the host's interface, so a user can see who is asking. The local server security and tools pages both stress showing users what is happening. A server that asks for sensitive data in an input request is asking the user, not the model, and a host should make clear which server is asking. This is our reading of those principles, not a quoted rule.

Asking the user mid-requestAsking the user mid-request: Client sends request to Needs input (); Needs input to Host asks the user (); Host asks the user to Client repeats it (); Client repeats it to Server completes ()INPUT_REQUIREDAsking the user mid-requestClient sendsrequestA tool call.Needs inputReplies input_required.Host asks theuserThe user answers.Client repeats itAdds inputResponses.Server completesReplies complete.
Figure 10. The multi round-trip pattern. Our invented booking example in chapter 10 follows these steps.

Deprecations and the 12-month window

The 2026-07-28 specification adds a formal deprecation policy, and it uses it right away. This is useful for planning because it gives dates.

The policy

The deprecated features page says a deprecated feature remains part of the specification but is scheduled for removal, and that new implementations should not adopt it. It marks an earliest removal point, which for the features deprecated in 2026-07-28 is the first revision released on or after 2027-07-28. The page says actual removal is a Core Maintainer decision taken during release preparation and may happen later. So the date is when removal becomes possible, not a promise.

The MCP blog post of November 11, 2026 says specification releases move to a regular six-month schedule, generally the last Tuesday of March and September. It targets March 30, 2027 for the next release, as version 2027-03-30, and its timeline graphic names September 28, 2027 as the one after. The post says a proposal that is not ready moves to a later release.

It does not mention the deprecated list. Reading the two pages together is our inference: if those targets hold, the first revision on or after July 28, 2027 would be the September 2027 one. Removal would still be a maintainer decision, and the dates are targets, not commitments.

What is on the deprecated list

The deprecated features page is a table with a migration path for each row. Its rows, as we read them:

FeatureDeprecated inMigration pathEarliest removal
Roots2026-07-28Pass directories or files via tool parameters, resource URIs, or server configurationFirst revision on or after 2027-07-28
Sampling2026-07-28Integrate directly with LLM provider APIsFirst revision on or after 2027-07-28
Logging2026-07-28Log to stderr for stdio; use OpenTelemetry for observabilityFirst revision on or after 2027-07-28
Dynamic Client Registration2026-07-28Client ID Metadata DocumentsFirst revision on or after 2027-07-28
HTTP+SSE transport2025-03-26Streamable HTTPThree months after SEP-2596 reaches Final

The page also lists the includeContext values "thisServer" and "allServers" for sampling, deprecated in 2025-11-25, which follow sampling's removal. The page states that no features have been removed under the policy yet.

We list these as the pages state them. We did not find the reasons for each deprecation spelled out on every page, so we do not speculate about motives.

What deprecated means in practice

A deprecated feature still works. Servers and clients may keep supporting it for compatibility. The risk is building new work on it. Our advice, which is a judgment and not a rule: do not design new servers around deprecated features, and plan to replace existing uses before the window closes.

Checking your own server

  1. List the features your server and client use, and compare them with the table above.
  2. Check whether you rely on the old HTTP+SSE transport, and plan a move to Streamable HTTP. Its removal timing is tied to a different trigger than the others.
  3. If your authorization server only supports Dynamic Client Registration, check whether it can also support Client ID Metadata Documents.
  4. Record the 2027-07-28 date as the earliest possible removal and review it at each new revision.

Version support

The versioning page lets servers support more than one revision at once. The example error lists both 2026-07-28 and 2025-11-25 as supported. If you serve both eras, the page defines how a dual-era server behaves. We read the terminology section only and recommend reading the full page before implementing dual support.

The project's wording on stability

The release material describes the stateless core as a major change, and the specification defines versioning and deprecation to make later changes more predictable. We offer no forecast of future revisions, because the pages do not give a schedule for any.

A reminder about dates

All dates here are the project's. We fetched the pages on November 14, 2026, and the specification may have changed since. Check the current deprecated features page before making a plan with dates in it.

Four deprecated features and what replaces themFour deprecated features and what replaces them: Deprecated to Roots (); Deprecated to Sampling (); Deprecated to Logging (); Deprecated to Dynamic Client Registration ()DEPRECATED 2026-07-28Four deprecated features and what replaces themDeprecatedFour featuresRootsInstead: toolparameters, resourceURIs or server config.SamplingInstead: integratedirectly with LLMprovider APIs.LoggingInstead: log to stderrfor stdio, or useOpenTelemetry.Dynamic ClientRegistrationInstead: Client IDMetadata Documents.
Figure 11. Separate features, not steps. Replacements are from the deprecated features page. For all four, removal is possible no earlier than the first revision released on or after July 28, 2027, and the page says it may happen later.

Authorization: how a remote server decides who you are

Authorization is where most real-world risk sits for remote servers, and it is the part of the specification with the most moving pieces. The page is long, so here is the structure in plain language.

Optional, and only for HTTP

The authorization page says authorization is optional for MCP implementations. When supported, implementations using an HTTP-based transport should conform to the page. Implementations using stdio should not, and should retrieve credentials from the environment instead.

The roles

A protected MCP server acts as an OAuth 2.1 resource server, able to accept and respond to requests that carry access tokens. An MCP client acts as an OAuth 2.1 client, making requests on behalf of a resource owner. The authorization server interacts with the user when needed and issues access tokens. The specification leaves its implementation out of scope, and it may be hosted with the resource server or separately.

The standards underneath

The page says the mechanism is based on a selected subset of several standards: the OAuth 2.1 draft (draft-ietf-oauth-v2-1-13), RFC 6750 for bearer tokens, RFC 8414 for authorization server metadata, RFC 7591 for Dynamic Client Registration, RFC 8707 for resource indicators, RFC 9728 for protected resource metadata, RFC 9207 for issuer identification, the OAuth Client ID Metadata Documents draft, and OpenID Connect Discovery.

We list them so you can look each one up. We did not read the RFCs themselves for this guide beyond what the MCP pages quote.

Discovery: how a client finds the authorization server

MCP servers must implement OAuth 2.0 Protected Resource Metadata (RFC 9728), and clients must use it to discover the authorization server. The authorization server must provide at least one of two discovery mechanisms, RFC 8414 metadata or OpenID Connect Discovery, and clients must support both.

When a client calls a protected server without a valid token, the server's 401 response carries a WWW-Authenticate header pointing at the resource metadata URL, and servers should include a scope parameter that names the scopes needed.

Scopes and least privilege

Clients should follow least privilege. The page gives a priority order: use the scope from the 401 challenge if present, otherwise use all scopes in scopes_supported, and omit the parameter if that is undefined. Clients must treat challenged scopes as authoritative for the current operation, and must not assume any particular set relationship between the challenged scopes and scopes_supported.

The resource parameter

Clients must implement Resource Indicators (RFC 8707). The resource parameter must be included in both authorization requests and token requests, and it must identify the MCP server the client intends to use the token with. The point is to tie a token to one server.

The new issuer check

Before redirecting the user, the client must record the issuer value from the authorization server's validated metadata and associate it with the per-request record that holds the PKCE verifier. When the response returns, the client must apply the RFC 9207 validation before sending the authorization code to a token endpoint. The page gives four cases:

Server advertises iss supportiss in responseClient action
truepresentCompare with the recorded issuer
trueabsentReject the response
false or absentpresentCompare with the recorded issuer
false or absentabsentProceed

Comparison is a simple string comparison. Clients must not fold case, drop default ports, trim trailing slashes or normalize percent-encoding first. On a mismatch, the client must not act on or display the error fields. The page adds that a future revision is expected to upgrade the server's inclusion of iss from SHOULD to MUST, and encourages implementers to emit and validate it now.

Why this check exists

Our reading: if a client talks to several authorization servers, an attacker-controlled one could try to trick it into sending a code to the wrong place. Recording the issuer and checking it on return closes that gap. The page's own rationale is in its security sections, which we summarize in chapter 14.

From a 401 to a tokenFrom a 401 to a token: Call without token to Find metadata (); Find metadata to Discover auth server (); Discover auth server to Authorize (); Authorize to Check iss ()AUTHORIZATIONFrom a 401 to a tokenCall withouttokenServer answers 401.Find metadataWWW-Authenticate pointsto it.Discover authserverRFC 9728, then 8414 orOIDC.Authorizeresource parameter,PKCE.Check issCompare with recordedissuer.
Figure 12. A simplified summary of the authorization page. The page has more steps and conditions.

Client registration: client ID metadata documents replace dynamic registration

Before a client can start the authorization flow, it needs a client ID. The 2026-07-28 client registration page names three ways to get one and ranks them.

The three mechanisms

  • Client ID Metadata Documents. For when client and server have no prior relationship, which the page calls the most common case.
  • Pre-registration. For when they already have a relationship.
  • Dynamic Client Registration. For backwards compatibility or specific requirements. It is deprecated in this version.

The priority order

Clients that support all options should try them in order:

  1. Use pre-registered client information for the server, if the client has it.
  2. Use Client ID Metadata Documents if the authorization server says it supports them, through client_id_metadata_document_supported in its metadata.
  3. Use Dynamic Client Registration as a fallback if the server has a registration_endpoint.
  4. Prompt the user to enter client information if nothing else works.

How a metadata document works

The client identifies itself with an HTTPS URL that points to a JSON document describing it. The page's requirements for clients are that the client_id URL must use https and contain a path, such as https://example.com/client.json, that the document must include client_id, client_name and redirect_uris, and that the client_id in the document must match the document's URL exactly. Clients may use private_key_jwt for authentication at the token endpoint.

Authorization servers should fetch the document when they see a URL-shaped client ID. They must check that the fetched client_id matches the URL exactly, must validate the redirect URIs in the authorization request against those in the document, and must check the document is valid JSON with the required fields. They should cache according to HTTP cache headers.

Why the project prefers it

The page says metadata documents address the common MCP case in which servers and clients have no pre-existing relationship. Under Dynamic Client Registration, a server has to accept registration requests from unknown clients and store a record for each. A metadata document lets the client prove its identity with a URL it controls, so the server stores less. This explanation is our reading of the design, and the page states only the use case.

What it means in practice

  • If you run an authorization server, check whether you can support metadata documents and advertise client_id_metadata_document_supported.
  • If you build a client, host a stable HTTPS document, keep redirect URIs exact, and keep the client_id equal to the document's URL.
  • If you rely on Dynamic Client Registration today, it continues to work for now. The deprecation table gives the earliest removal as the first revision released on or after 2027-07-28.

A caution about fetching URLs

An authorization server that fetches client-supplied URLs creates a request it must make safely. The security best practices page, summarized next, covers server-side request forgery in OAuth discovery and lists mitigations such as blocking private address ranges and requiring HTTPS. The registration page itself points implementers to the security considerations of the metadata document draft. We did not read that draft, so we do not describe its details here.

Credentials bound to the issuer

The changelog also says credentials are now bound to the issuer. Practically, a client that stores a client registration or tokens should keep them tied to the authorization server that issued them, and not reuse them with another one. We read this in the changelog summary, and recommend reading the authorization page before implementing it.

Which mechanism to try firstWhich mechanism to try first: Pre-registered to Metadata doc (); Metadata doc to Dynamic registration (); Dynamic registration to Ask the user ()CLIENT REGISTRATIONWhich mechanism to try firstPre-registeredUse client informationthe client already hasfor the server.Metadata docIf the authorizationserver says it supportsthem.DynamicregistrationFallback if the serverhas a registrationendpoint.Ask the userIf nothing else works.
Figure 13. The priority order from the client registration page, tried in this order by clients that support all options. Dynamic Client Registration is on the deprecated list.

Attacks the specification names, and what it says to do

The project publishes a security best practices page that names specific attacks. These are the ones we read, with the mitigations the page gives. We report what the page says and do not rate how likely any attack is.

The confused deputy problem

This attack involves an MCP proxy server that connects to a third-party API using a single static client ID. If the proxy also lets clients register dynamically, and the third-party authorization server sets a consent cookie after the first approval, an attacker may be able to send a user a crafted link.

The user's browser still has the cookie, so the consent screen is skipped, and the authorization code goes to the attacker's redirect. The page's mitigations include requiring consent for each dynamically registered client before forwarding to the third party, storing consent decisions securely, using __Host- prefixed cookies, matching redirect URIs exactly, and validating the OAuth state parameter.

Token passthrough

The page forbids it. MCP servers must not accept any tokens that were not explicitly issued for the MCP server. Accepting a token meant for another service and passing it downstream breaks audience checks and makes it hard to tell which client did what. This ties back to the resource parameter in chapter 12.

Server-side request forgery in OAuth discovery

During discovery, a client fetches URLs that a server supplies. A malicious server could point those URLs at internal addresses. The page recommends blocking private and link-local ranges, requiring HTTPS in production, validating redirect targets, and using an egress proxy where practical.

State handle hijacking

With stateless servers, handles for things like tasks or subscriptions become the way a server remembers work. The page says handles must be random and bound to an authenticated user, and that possession of a handle is not authentication. Otherwise a person who guesses or obtains a handle could read someone else's results.

Compromised local servers

The page warns that a local server installed through a one-line command could run arbitrary code. For one-click local configuration, the page says the client must show the exact command without truncation, identify it as a potentially dangerous operation and require explicit approval. It also recommends highlighting dangerous command patterns and running servers in a sandbox with minimal privileges. Chapter 15 expands on this.

OAuth authorization URL validation

A client that opens an authorization URL supplied by a server should validate it before opening a browser. The page lists this among the risks, and our reading is that an unvalidated URL is another way a malicious server could steer a user. We did not retrieve the full wording of every mitigation, so check the page for exact requirements.

The common thread

Each attack depends on something being trusted that should not be: a cookie, a token, a URL, a handle or a command. The mitigations check each item against what it was issued for. This summary of the pattern is ours.

What we are not saying

We are not saying MCP is unsafe or safe. The page is a best practices document, and following it reduces named risks without eliminating them. We ran no tests of any server for this guide.

Local servers: the trust model and how a catalog gets poisoned

The local server security guide deals with what happens when you run someone else's code next to your files. It is worth reading in full if you install servers.

The trust model

For stdio servers, the client launches the server as a subprocess with the same privileges as the client. The guide says the two share one trust domain. It follows that a local server can do what you can do: read files you can read, call networks you can reach and run commands your account can run. No protocol feature changes that, so the protection has to come from what you choose to run and how you contain it.

The threats the guide lists

  • A malicious server. Code written to do harm once installed.
  • An overcollecting server. A server that asks for or reads more than its function needs.
  • A compromised dependency. A server that was fine until a library it uses was altered.
  • A poisoned tool catalog. The tool names and descriptions that the model reads are themselves instructions. A server can hide directives there, shadow another server's tool, or change its descriptions after you approved it, which the guide calls a rug pull.
  • A vulnerable bridge. A component that connects a local server to the network and exposes it.

One sentence to remember

The guide says no check proves what a server will do. That is why it recommends containment and visibility rather than inspection alone.

Practical measures drawn from the pages

  1. Show the exact command a client will run and ask the user for approval, as the security best practices page recommends.
  2. Run servers in a sandbox with limited file and network access.
  3. Bind local HTTP servers to localhost and validate the Origin header, as the transports page requires.
  4. Keep human approval on tool calls, and show tool inputs before they are sent, as the tools page advises.
  5. Pass secrets through the environment narrowly, giving each server only what it needs. This is our inference from the stdio authorization rule, not a quoted instruction.
  6. Re-check a server's tool descriptions when it updates, because the guide names changes after approval as a threat.

Interactions between servers

Every server connected to a host contributes to one shared context for the model. The guide warns that a malicious server can influence how the model uses tools from another. A host that connects a trusted file server and an unvetted server together is only as safe as the weaker one. That is a key reason to connect fewer servers.

What a user can check

Look at the publisher and the source, the command being run, the permissions the server needs, and whether it needs the network. These are our practical questions. They reduce risk, and the guide is clear that they do not prove safety.

For server authors

Write descriptions that say what a tool does and nothing more. Do not ask for more data than you use. Pin your dependencies and review updates. Make your tool behavior stable, because users and hosts treat changes as suspicious. These are our suggestions based on the threats above.

A checklist for teams building or adopting an MCP server

This checklist turns the earlier chapters into questions you can answer. Each item points to a rule or recommendation in the pages we read, and we mark our own additions.

For anyone building a server

  1. Pick a transport on purpose. Use stdio for local single-user tools and Streamable HTTP for shared remote servers. Do not build on the deprecated HTTP+SSE transport.
  2. Declare capabilities honestly. Servers that support tools must declare the tools capability.
  3. Implement server/discover. It is required in 2026-07-28.
  4. Return a deterministic tool order. The tools page says servers should.
  5. Set caching hints. Provide ttlMs and cacheScope on list results.
  6. Write errors for the model. Use isError: true for execution errors and say how to fix the input.
  7. Validate everything. Inputs, access, rate limits and output sanitization are all listed as server requirements.
  8. Validate Origin. Return 403 for an invalid origin on HTTP.
  9. Never write non-MCP data to stdout on stdio servers.

For authorization

  1. Serve protected resource metadata and a WWW-Authenticate challenge with scopes.
  2. Accept only tokens issued for your server, and never pass tokens through.
  3. Require and check the resource parameter.
  4. Emit and validate iss so you are ready for the expected SHOULD to MUST change.
  5. Support client ID metadata documents.
  6. Make handles random and tied to an authenticated user.

For anyone adopting a server

  1. Read the exact command and the publisher before you install.
  2. Keep a person in the approval loop for actions that change things.
  3. Connect only the servers you need.
  4. Log tool use so you can see what happened.
  5. Review a server again when it changes.

For planning

  1. Record the earliest removal date for deprecated features, July 28, 2027.
  2. Keep support for the older protocol version if some clients have not updated. The versioning page explains dual-era behavior.
  3. Re-fetch the specification before each release. Pages change.

How to use this list

It is a starting point and not a certification. Nothing here replaces reading the specification pages for your own implementation. The page that governs a requirement is the page we cite in the sources.

If you only do three things

Validate inputs and origins, never accept tokens meant for someone else, and keep a human approving actions that change things. Those three show up repeatedly across the pages. That ranking is ours.

Common mistakes, and a short glossary

Common mistakes, from the rules above

  • Printing to stdout in a stdio server. The specification forbids anything that is not an MCP message.
  • Following a tutorial for the old handshake. A client or server built only for the older version will not behave as the new one does. The versioning page defines how the two eras interoperate.
  • Treating annotations as facts. The tools page says to treat them as untrusted unless the server is trusted.
  • Using a token for the wrong server. Token passthrough is forbidden.
  • Skipping consent for each client in a proxy. This is the confused deputy setup.
  • Building new features on deprecated ones. The deprecated features page says new implementations should not adopt them.
  • Assuming local means safe. Local servers run with your privileges.
  • Treating handle possession as login. Handles must be bound to a user.
  • Trusting one-off checks. The local security guide says no check proves what a server will do.

Glossary

  • Host: the AI application that manages clients.
  • Client: the connection component inside the host, one per server.
  • Server: the program that provides context and actions.
  • Tool: a model-controlled function a server exposes.
  • Resource: application-controlled read-only context identified by a URI.
  • Prompt: a user-controlled template.
  • stdio: the local transport that uses standard input and output.
  • Streamable HTTP: the remote transport built on a single POST endpoint.
  • server/discover: the request that returns a server's versions, capabilities and identity.
  • input_required: a result type that asks the client for more input before completing.
  • MRTR: multi round-trip requests, the project's name for the input pattern.
  • ttlMs and cacheScope: cache lifetime and sharing scope on list results.
  • PRM: protected resource metadata, RFC 9728.
  • CIMD: Client ID Metadata Document.
  • DCR: Dynamic Client Registration, deprecated in 2026-07-28.
  • Confused deputy: an attack in which a trusted service is tricked into using its authority for an attacker.

Where this guide stops

We read the specification, the documentation and the release blog. We did not read every extension page, the full text of the underlying RFCs or the SDK documentation, and we ran no servers. If your question depends on those, go to the source. Our claims are limited to what the pages said when we fetched them on November 14, 2026.

Five rules to keepFive rules to keep: An MCP server offers tools, resources and prompts to a host through one client each. The 2026-07-28 version has no handshake and no session header. Four features are deprecated, earliest removal July 28, 2027. Never accept tokens issued for another server, and validate Origin. Treat local servers as code with your privileges, and keep a human approving actions.SUMMARYFive rules to keep01An MCP server offers tools, resources and prompts to a host throughone client each.02The 2026-07-28 version has no handshake and no session header.03Four features are deprecated, earliest removal July 28, 2027.04Never accept tokens issued for another server, and validate Origin.05Treat local servers as code with your privileges, and keep a humanapproving actions.
Figure 14. The guide in five rules.

Frequently asked questions

What is an MCP server?

A program that gives an AI application context or actions through the Model Context Protocol. The documentation gives file system, database, GitHub, Slack and calendar servers as examples.

What is the difference between an MCP host, client and server?

The host is the AI application. It creates one client for each server, and each client keeps a dedicated connection to its server.

What are tools, resources and prompts?

Tools are functions the model can call. Resources are read-only context the application selects. Prompts are templates the user chooses.

What changed in the 2026-07-28 MCP specification?

The core became stateless, with no initialize handshake and no Mcp-Session-Id header. It added server/discover, Mcp-Method and Mcp-Name headers, caching fields, subscriptions/listen, input_required results and a Tasks extension, and it deprecated roots, sampling, logging and Dynamic Client Registration.

Which transports does MCP support?

stdio for local servers and Streamable HTTP for remote servers. The older HTTP+SSE transport is deprecated.

Is authorization required?

No. The authorization page says it is optional. HTTP-based implementations that support it should follow the page. stdio servers should take credentials from the environment instead.

Why is token passthrough forbidden?

The security best practices page says servers must not accept tokens not issued for them. Passing one through breaks audience checks and makes it hard to tell which client did what.

When will deprecated features be removed?

The earliest removal is the first revision released on or after July 28, 2027 for roots, sampling, logging and Dynamic Client Registration. The page says actual removal may happen later. The MCP blog targets releases on March 30, 2027 and September 28, 2027, so by our reading the earliest eligible revision would be the September one, if the targets hold.

Are local MCP servers safe?

The local server security guide says a stdio server shares the client trust domain and that no check proves what a server will do. It recommends showing the exact command, sandboxing and keeping human approval.

Does this guide test any server?

No. We read the official pages on November 14, 2026 and ran no servers.

Sources and audit notes

How we audited this guide. On November 14, 2026 we fetched the specification pages, documentation pages and release blog listed below and took every rule, date, field name and quotation from their text. The specification is the primary source. We did not read the extension pages, the pagination and completion pages, the underlying RFCs or any SDK documentation, and we ran no servers, so we make no performance or reliability claims. Where we reasoned beyond a page we say so, and the booking example in chapter 10 is invented. The SDK download figures are the project's own and we did not check them. esimgomobile sells phone numbers and eSIMs and has written about MCP before, so we have a commercial interest in this topic. Specifications change, so check the current pages before you build.

Keep reading

Building with AI agents?

esimgomobile sells phone numbers and eSIMs. Read the MCP specification pages before you connect any server, including ours.

See plans and pricing Try the free tools