Skip to content

Menu

Fly.io MCP Server logo

Fly.io MCP Server

Published · Updated

At a glance

GitHub repository
superfly/flyctl
Watch out for
Fly's documentation marks fly mcp server as experimental.

Fly.io's MCP server is now part of flyctl, the Fly command-line tool, and is started with fly mcp server. It replaces FlyMCP (superfly/flymcp), an earlier standalone Go wrapper for Claude Desktop that has not been updated since April 2025. The flyctl version lives in the superfly/flyctl repository, which ships regular releases, so it updates whenever you update flyctl. Fly's documentation labels the command experimental.

The server turns a large part of flyctl into MCP tools. The tool definitions in the flyctl source cover apps (list, create, restart, releases, destroy), Machines (list, status, start, stop, restart, run, update, exec and more). They also cover volumes and snapshots, secrets, certificates, IP addresses, organisations, logs, app status and platform information such as regions and VM sizes. Each tool runs the matching flyctl command, so it can do what your flyctl login is allowed to do, including destroying apps and machines.

It runs over stdio by default. The --stream flag serves Streamable HTTP and --sse serves Server-Sent Events, bound to 127.0.0.1 on port 8080 unless you change --bind-addr or --port. The fly mcp command family also has subcommands for running other MCP servers on Fly, such as launch, proxy and wrap, which are separate from this server.

How it connects

Your AI app

An assistant or agent that supports MCP

Fly.io MCP Server

Gives the agent

  • Apps and releases
  • Machines
  • Storage and networking
  • Logs and platform info
  • Client auto-configuration
  • Transports

Fly.io

Signs in with

  • Token
Your AI app talks to Fly.io MCP Server over the Model Context Protocol, and the server carries out the work. Built from the setup and capability sections on this page.

What it can do

Apps and releases
Tools such as fly-apps-list, fly-apps-releases, fly-apps-restart and fly-status show and manage apps.
Machines
fly-machine-list, fly-machine-status, fly-machine-start, fly-machine-stop, fly-machine-run and fly-machine-exec control individual Machines.
Storage and networking
Volume and snapshot tools, plus tools for IP addresses and TLS certificates.
Logs and platform info
fly-logs reads app logs; fly-platform-regions, fly-platform-vm-sizes and fly-platform-status describe the platform.
Client auto-configuration
--claude, --cursor, --vscode, --windsurf, --zed and --neovim write the server into that client's config; --config targets a specific file.
Transports
stdio by default, --stream for Streamable HTTP or --sse for SSE, on 127.0.0.1:8080 unless changed.

Setting it up

Install or update flyctl and sign in with fly auth login. Then run fly mcp server with the flag for your client, for example fly mcp server --claude, --cursor or --vscode, and flyctl adds itself to that client's MCP configuration. Use --config to point at a specific config file and --server to choose the name it is saved under. To have the server use a particular Fly API token instead of your login, pass it with --access-token. For debugging, --inspector launches the MCP inspector. Because the command is experimental, keep flyctl current and check fly mcp server --help for the flags your version supports.

Where each client keeps its MCP config file, and the JSON it expects (cheat sheet)

Where it helps

  • Checking the status and recent releases of your Fly apps from a chat
  • Reading logs for an app that is failing health checks
  • Restarting or stopping a Machine that is misbehaving
  • Looking up regions and VM sizes before launching something new

Limitations and things to watch

  • Fly's documentation marks fly mcp server as experimental.
  • Tools act with your flyctl credentials and include destructive ones such as destroying apps, machines and volumes.
  • Fly's docs list the flags but not the tools; the tool list here comes from the flyctl source and may change.
  • The older superfly/flymcp repository is stale and should not be used for new setups.

Sources

Written from the project's own documentation, checked November 2026.

How we research: where our facts come from, how often we re-check them, and why no one can pay for a review or a verdict.

Reviews and commentsShow

Reviews

Sign in to leave a review.

Loading reviews…

Comments

Sign in to leave a comment.

Loading comments…