Model Context Protocol

Fly.io is a great place to run MCP servers. We also provide an MCP server that you can use to provision your application.

Anthropic announced the Model Context Protocol on November 25, 2024, along with a number of SDKs in a variety of languages. There also is a large list of existing servers that you can use.

Deploying a MCP server involves making four choices: MCP transport, the interface you use to deploy it with, where you want to deploy it on, and access control. In each case we present your choices, starting with our recommendation.


General considerations that apply across these pages:

  • Most guides presume that you have flyctl installed, and have successfully run either fly auth signup or fly auth login.
  • As the MCP protocol is both asynchronous and stateful, these examples will be run on a single machine (also known as a non highly available configuration). This enables MCP clients to fetch replies from the same server that they sent the request to.
  • As the MCP inspector is a Node.js application, you need to Download and install Node.js before you use it. MacOS users can use brew install node.