flyctl server
flyctl
provides an MCP server that you can use to provision your application. At the present time, most of the following commands and their subcommands are supported:
You can explore the flyctl mcp server
using the MCP 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
.
fly mcp server -i
Navigate to http://127.0.0.1:6274 ; click Connect; then List Tools; then a tool like fly-platform-status
, fly-orgs-list
, fly-apps-list
, or fly-machines-list
; then fill out the form (if any) and click Run tool.
To see the same MCP server using an MCP client, a configuration like the following is used:
{
"mcpServers": {
"filesystem": {
"command": "/Users/rubys/.fly/bin/flyctl",
"args": [
"mcp",
"server"
]
}
}
}
Adjust the flyctl path, restart your LLM (for example, Claude) and try out the tools.