What transports does MCP support?medium

Type
conceptual
Topic
transports
Frequency
common
Tags
mcp, transport
Answer

Primarily stdio for local processes and HTTP with server-sent events for remote servers.

Explanation

Stdio is simple and fast for a server running on the same machine as the host, such as a local CLI tool. HTTP/SSE supports remote servers over a network and allows multiple clients to share one long-running server process.

Follow-upWhen would you pick a remote server over a local one?