Deploy on

MCP servers can run in a variety of locations.

The Docker MCP Catalog and Toolkit announcement identifies a number of problems and potential solutions with running MCP servers on your laptop.

Running an MCP server on a Fly Machine is easy and provides an additional level of security and isolation. It can also provide access to resources that are not on your laptop such as volumes, sqlite databases, and your application’s internal state.

We recommend that you start with deploying each MCP server on a separate machine and only explore other options if you have specific needs.

A Fly Machine

Demonstrates using flyctl launch to create a Fly.io machine that runs an MCP server remotely.

A container

Demonstrates running an MCP server in a container on a fly machine

Your application

Demonstrates running an MCP server inside your application