# MCP Transport

> How MCP messages get from a client to a server and back.

**Field:** Artificial Intelligence  
**Category:** MCP  
**Also known as:** Transport (MCP), MCP Transports

## Think of it like

Think of it like sending a letter. The words are the same whether it goes by hand or by post.

## Definition

An MCP transport is the way messages travel between a client and a server. Every message is JSON-RPC, whatever the transport. There are two standard ones. stdio is for a server on the same computer, and Streamable HTTP is for a server on a network. The choice changes how the link is opened and kept safe, not what is said.

## Example

Lucy runs her notes server on her laptop over stdio. Her team's shared ticket server runs in the cloud over Streamable HTTP. Both speak the same messages.

## Why it matters

It decides where a server can live and how it is secured. Local and remote servers need different care.

## Common mistake

Thinking a remote server needs other tools or messages. Only the transport changes.

## Three principles

- **Same messages.** Always JSON-RPC.
- **Two standard ways.** Local and remote.
- **Changes the link.** Not what is said.

## Related terms

- [MCP stdio Transport](https://learn.benibix.com/term/ai/stdio-transport)
- [Streamable HTTP Transport](https://learn.benibix.com/term/ai/streamable-http-transport)
- [JSON-RPC](https://learn.benibix.com/term/development/json-rpc)
- [HTTP+SSE Transport](https://learn.benibix.com/term/ai/http-sse-transport)

![The same JSON-RPC messages can travel two ways. On one computer they go through standard input and output. Across a network they go over HTTP.](https://learn.benibix.com/diagrams/mcp-transport.svg)

---

Source: https://learn.benibix.com/term/ai/mcp-transport
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-18
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
