MCP Transports
The MCP standard define two types of base transports: stdio and Streaming HTTP. Previously there was also a Server Sent Events (SSE) transport; this is now deprecated but still supported by a number of tools.
At the present time, MCPs that implement the stdio transport are by far most common, most interoperable, and is the transport we recommend.
Below are instructions on how to deploy each of these transport mechanisms on Fly.io using the Everything MCP Server provided by Anthropic which attempts to exercise all the features of the MCP protocol. It is not intended to be a useful server, but rather a test server for builders of MCP clients. It implements prompts, tools, resources, sampling, and more to showcase MCP capabilities.. It currently supports stdio, SSE, and Streaming HTTP.
One thing worth trying independent of the transport method you chose is the printEnv
tool. From the inspector click on tools at the top, then List Tools, then printEnv, and finally Run Tool.
stdio
This guide shows you how to wrap and proxy a stdio MCP server so that it can be deployed remotely.
SSE
SSE servers can be deployed as is.
Streaming HTTP
Streaming HTTP servers can be deployed as is.