Skip to content
BENIBIX Learn

MCP Transport

AI🔌 MCPTransports and Authorization

Also known as Transport (MCP), MCP Transports

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

Think of it like

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

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.

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.
On one computer, messages go through the program's input and output. On a network, they go over HTTP.

Common mistake

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

Key takeaways

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