fly auth signup or fly auth login.
The first step is intended to be run in an empty directory.
Create your app
Now use the fly apps create command:--generate-name with a name of your choice.
You can also specify the organization by passing in a --org parameter, or let it prompt you.
Create IP addresses for your application
The following will create a shared IPv4 address and a dedicated IPv6 address:Create a volume
This demo uses a volume. If your application doesn’t use a volume skip this step.Create a machine
This next part contains a lot of flags, so first an overview:- The first parameter specifies the image we will be running. Fly.io provides an image capable of running
npxanduvx, which is sufficient to run many MCPs. If you have a custom MCP with unique requirements, you can provide your own image. - The next parameter specifies the command we will be running.
--entrypointinvokesfly mcp wrappassing the command we specified.- If you are using a volume, the
--regionselected must match a region in which you have an allocated but unattached volume. --volumespecifies the volume, and where it is to be mounted.- The
--vm-*parameters specify the size of the machine desired. --auto*and--portdefine what network services your application provides.
fly machine create instead.
Once this command completes, you can update your fly.toml to include this new information using the following command:
Accessing the MCP via an inspector
As the MCP inspector is a Node.js application, you need to Download and install Node.js first. MacOS users can use
brew install node.Configure your LLM
Here’s an exampleclaude_desktop_config.json: