Get started free
All integrations

Fly.io integration

Fly.io Machines API for deploying and managing fast-launching VMs (Machines) globally. Fly.io runs applications close to users in datacenters worldwide, providing subsecond VM startup, persistent volumes, automatic scaling, and a comprehensive REST API for programmatic control of apps, machines, volumes, and configuration.

30 toolsTokenAPI docs

Common Fly.io use cases

  • Graceful shutdown
  • View machine tags
  • Check volume status
  • View backup history
  • Add database storage
  • Check machine status
  • Remove obsolete tags
  • Pre-deployment backup
  • Remove unused storage
  • View attached storage

What you can do with Fly.io

Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.

Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.

Machine, 12 operations

  • POSTcordon_machine

    Cordons a machine to drain requests.

  • POSTcreate_machine

    Creates a new machine in a Fly App.

  • DELETEdelete_machine

    Deletes a machine from a Fly App.

  • POSTexecute_machine_command

    Executes a command on a running machine.

  • GETget_machine

    Retrieves details about a specific machine.

  • GETlist_machines

    Lists all machines for a Fly App.

  • POSTstart_machine

    Starts a stopped machine.

  • POSTstop_machine

    Stops a running machine.

  • POSTsuspend_machine

    Suspends a running machine to save memory state.

  • POSTuncordon_machine

    Uncordons a machine to resume request routing.

  • POSTupdate_machine

    Updates a machine's configuration.

  • GETwait_machine

    Waits for a machine to reach a target state.

Volume, 6 operations

  • POSTcreate_volume

    Creates a new persistent volume.

  • DELETEdelete_volume

    Deletes a volume with soft-delete period.

  • PUTextend_volume

    Extends a volume to a larger size.

  • GETget_volume

    Retrieves details about a specific volume.

  • GETlist_volumes

    Lists all volumes for a Fly App.

  • PUTupdate_volume

    Updates a volume's backup settings.

App, 4 operations

  • POSTcreate_app

    Creates a new Fly App for deploying machines.

  • DELETEdelete_app

    Deletes a Fly App and its resources.

  • GETget_app

    Retrieves details about a specific Fly App.

  • GETlist_apps

    Lists all Fly Apps in an organization.

Lease, 3 operations

  • POSTcreate_lease

    Creates an exclusive lease on a machine.

  • GETget_lease

    Gets the current lease on a machine.

  • DELETErelease_lease

    Releases a lease on a machine.

Metadata, 3 operations

  • DELETEdelete_machine_metadata

    Deletes a metadata key from a machine.

  • GETget_machine_metadata

    Gets all metadata for a machine.

  • POSTset_machine_metadata

    Sets a metadata key-value pair on a machine.

Snapshot, 2 operations

  • POSTcreate_volume_snapshot

    Creates an on-demand volume snapshot.

  • GETlist_volume_snapshots

    Lists all snapshots for a volume.

Use Fly.io from Claude Code, Cursor or Codex

Connect Fly.io in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Fly.io operations become tools the client can call, next to every other integration you connected.

Claude Code
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"
Codex (~/.codex/config.toml)
[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"

[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"
Cursor, Claude Desktop and other JSON configs
{
  "mcpServers": {
    "livecontext": {
      "type": "http",
      "url": "https://livecontext.ai/mcp",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Set up the MCP server step by step

How to connect Fly.io

  1. Create your workspace

    Sign up free. Nothing to install.

  2. Connect Fly.io once

    Add your Fly.io connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.

  3. Describe the job in chat

    The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.

Fly.io integration FAQ

What can you do with the Fly.io integration?
LiveContext exposes 30 operations on Fly.io, covering machine, volume, app and lease. Common uses include Graceful shutdown, View machine tags and Check volume status.

Popular integrations

Browse the whole catalog