MCP Transports

Model Context Protocol (MCP) is an open protocol that standardizes how applications provide context to large language models (LLMs) - https://modelcontextprotocol.io/docs/getting-started/intro

The transports supported are:

STDIO - Standard input/output

STDIO Transport: Uses standard input/output for communication, typically for local, subprocess-based servers.

STDIO: This method communicates via the standard input and output of a process. It’s often used for local, simple, and single-use tools, as well as for quick development and testing. It’s considered a secure and straightforward method, especially for agents running on the same machine. However, it’s not recommended for production environments where you need high reliability or concurrent access.

SHTTP - Streamable HTTP

SHTTP Transport: The modern, recommended network-based transport that uses Streamable HTTP for a robust, multi-client connection.

SHTTP (Streamable HTTP): This is the modern, recommended transport protocol for MCP servers. It’s built for reliability and features, providing a more robust solution for production-grade applications. It allows for advanced features like session management and connection resumability. Many official and remote-hosted MCP servers use this transport.

SSE - Server-Sent Events

SSE Transport: A legacy network-based transport that uses Server-Sent Events for a one-way, server-to-client stream.

SSE (Server-Sent Events): This is a legacy HTTP-based transport that uses a unidirectional stream from the server to the client. While it’s suitable for basic streaming, it has limitations compared to SHTTP in areas like session management. Some services still use SSE, but SHTTP is generally preferred for new implementations