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.
Say what should happen.
The workflow builds itself.
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.
Each badge shows the default agent permission of an endpoint (allowed: an agent calls it without asking; ask first: you are asked before an agent calls it, when the agent or chat asks permission for sensitive actions; never: no agent may call it), which every user can change endpoint by endpoint in their credential settings.
Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.
Machine, 12 operations
cordon_machineCordon machinePOSTAgents: ask firstCordons a machine to drain requests.create_machineCreate machinePOSTAgents: ask firstCreates a new machine in a Fly App.delete_machineDelete machineDELETEAgents: ask firstDeletes a machine from a Fly App.execute_machine_commandExecute machine commandPOSTAgents: ask firstExecutes a command on a running machine.get_machineGet machineGETAgents: ask firstRetrieves details about a specific machine.list_machinesList machinesGETAgents: ask firstLists all machines for a Fly App.start_machineStart machinePOSTAgents: ask firstStarts a stopped machine.stop_machineStop machinePOSTAgents: ask firstStops a running machine.suspend_machineSuspend machinePOSTAgents: ask firstSuspends a running machine to save memory state.uncordon_machineUncordon machinePOSTAgents: ask firstUncordons a machine to resume request routing.update_machineUpdate machinePOSTAgents: ask firstUpdates a machine's configuration.wait_machineWait machineGETAgents: ask firstWaits for a machine to reach a target state.
Volume, 6 operations
create_volumeCreate volumePOSTAgents: ask firstCreates a new persistent volume.delete_volumeDelete volumeDELETEAgents: ask firstDeletes a volume with soft-delete period.extend_volumeExtend volumePUTAgents: ask firstExtends a volume to a larger size.get_volumeGet volumeGETAgents: ask firstRetrieves details about a specific volume.list_volumesList volumesGETAgents: ask firstLists all volumes for a Fly App.update_volumeUpdate volumePUTAgents: ask firstUpdates a volume's backup settings.
App, 4 operations
create_appCreate appPOSTAgents: ask firstCreates a new Fly App for deploying machines.delete_appDelete appDELETEAgents: ask firstDeletes a Fly App and its resources.get_appGet appGETAgents: ask firstRetrieves details about a specific Fly App.list_appsList appsGETAgents: ask firstLists all Fly Apps in an organization.
Lease, 3 operations
create_leaseCreate leasePOSTAgents: ask firstCreates an exclusive lease on a machine.get_leaseGet leaseGETAgents: ask firstGets the current lease on a machine.release_leaseRelease leaseDELETEAgents: ask firstReleases a lease on a machine.
Metadata, 3 operations
delete_machine_metadataDelete machine metadataDELETEAgents: ask firstDeletes a metadata key from a machine.get_machine_metadataGet machine metadataGETAgents: ask firstGets all metadata for a machine.set_machine_metadataSet machine metadataPOSTAgents: ask firstSets a metadata key-value pair on a machine.
Snapshot, 2 operations
create_volume_snapshotCreate volume snapshotPOSTAgents: ask firstCreates an on-demand volume snapshot.list_volume_snapshotsList volume snapshotsGETAgents: ask firstLists 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 mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"
[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"{
"mcpServers": {
"livecontext": {
"type": "http",
"url": "https://livecontext.ai/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}How to connect Fly.io
- Create your workspace
Sign up free. Nothing to install.
- 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.
- 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.
