What your agents can do

Real Fly actions, managed and audited.

Your user connects Fly once; your agent can then create, start, and stop machines, run commands in them, and create volumes and Postgres clusters — scoped to the OAuth permissions you grant and the tool allowlist you configure. Every action is least-privilege and written to a tamper-evident audit trail.

  1. 01Connect

    Your user grants Fly access once (OAuth) — the token lands in the vault.

  2. 02Call

    Your agent calls a tool over MCP or the typed API; Open Connector injects the credential server-side.

  3. 03Audit

    Every routed call appends a hash-chained audit record — nothing leaves your infra.

Tools & triggers

Supported Fly tools.

Browse 98 tools in the Fly catalog. Each action uses your configured authentication and tool allowlist.

Showing 98 tools.

Create App
FLY_APPS_CREATE
Create an app with the specified details in the request body.
Apps
Destroy App
FLY_APPS_DELETE
Delete an app by its name.
Apps
List Apps
FLY_APPS_LIST
List all apps with the ability to filter by organization slug.
Apps
Get App
FLY_APPS_SHOW
Retrieve details about a specific app by its name.
Apps
Request ACME certificate
FLY_APP_CERTIFICATES_ACME_CREATE
Request ACME certificate
TLS Certificates
Remove ACME certificates
FLY_APP_CERTIFICATES_ACME_DELETE
Remove ACME certificates
TLS Certificates
Check DNS and re-validate certificate
FLY_APP_CERTIFICATES_CHECK
Check DNS and re-validate certificate
TLS Certificates
Upload custom certificate
FLY_APP_CERTIFICATES_CUSTOM_CREATE
Upload custom certificate
TLS Certificates
Remove custom certificate
FLY_APP_CERTIFICATES_CUSTOM_DELETE
Remove custom certificate
TLS Certificates
Remove certificate
FLY_APP_CERTIFICATES_DELETE
Remove certificate
TLS Certificates
List certificates for app
FLY_APP_CERTIFICATES_LIST
List certificates for app
TLS Certificates
Get certificate details
FLY_APP_CERTIFICATES_SHOW
Get certificate details
TLS Certificates
Create App deploy token
FLY_APP_CREATE_DEPLOY_TOKEN
Create App deploy token
Apps
Assign new IP address to app
FLY_APP_IPASSIGNMENTS_CREATE
Assign new IP address to app
Apps
Remove IP assignment from app
FLY_APP_IPASSIGNMENTS_DELETE
Remove IP assignment from app
Apps
List IP assignments for app
FLY_APP_IPASSIGNMENTS_LIST
List IP assignments for app
Apps
Create Snapshot
FLY_CREATE_VOLUME_SNAPSHOT
Create a snapshot for a specific volume within an app.
Volumes
Get Current Token Information
FLY_CURRENT_TOKEN_SHOW
Get information about the current macaroon token(s), including organizations, apps, user identity hashes, and machine restrictions
Tokens
Cordon Machine
FLY_MACHINES_CORDON
“Cordoning” a Machine refers to disabling its services, so the Fly Proxy won’t route requests to it. In flyctl this is used by blue/green deployments; one set of Machines is started up with services disabled, and when they are all healthy, the services are enabled on the new Machines and disabled on the old ones.
Machines
Create Machine
FLY_MACHINES_CREATE
Create a Machine within a specific app using the details provided in the request body. **Important**: This request can fail, and you’re responsible for handling that failure. If you ask for a large Machine, or a Machine in a region we happen to be at capacity for, you might need to retry the request, or to fall back to another region. If you’re working directly with the Machines API, you’re taking some responsibility for your own orchestration!
Machines
Create Lease
FLY_MACHINES_CREATE_LEASE
Create a lease for a specific Machine within an app using the details provided in the request body. Machine leases can be used to obtain an exclusive lock on modifying a Machine.
Machines
Destroy Machine
FLY_MACHINES_DELETE
Delete a specific Machine within an app by Machine ID, with an optional force parameter to force kill the Machine if it's running.
Machines
Delete Metadata
FLY_MACHINES_DELETE_METADATA
Delete metadata for a specific Machine within an app by providing a metadata key.
Machines
Execute Command
FLY_MACHINES_EXEC
Execute a command on a specific Machine and return the raw command output bytes.
Machines
Get Machine Memory
FLY_MACHINES_GET_MEMORY
Get current memory limit and available capacity for a machine
Machines
Get Metadata Value
FLY_MACHINES_GET_METADATA_KEY
Get the value of a specific metadata key
Machines
List Machines
FLY_MACHINES_LIST
List all Machines associated with a specific app, with optional filters for including deleted Machines and filtering by region.
Machines
List Events
FLY_MACHINES_LIST_EVENTS
List all events associated with a specific Machine within an app.
Machines
List Processes
FLY_MACHINES_LIST_PROCESSES
List all processes running on a specific Machine within an app, with optional sorting parameters.
Machines
List Versions
FLY_MACHINES_LIST_VERSIONS
List all versions of the configuration for a specific Machine within an app.
Machines
List All Machines
FLY_MACHINES_ORG_LIST
List all Machines associated with a specific organization. Machines are sorted by their `updated_at` timestamps, oldest to newest. This API call represents "a point in time". Recent machine changes, including creations and destructions, may take time to propagate. When polling with `updated_after`, offset your timestamps to catch late-arriving events.
Organizations
Reclaim Machine Memory
FLY_MACHINES_RECLAIM_MEMORY
Trigger the balloon device to reclaim memory from a machine
Machines
Release Lease
FLY_MACHINES_RELEASE_LEASE
Release the lease of a specific Machine within an app. Machine leases can be used to obtain an exclusive lock on modifying a Machine.
Machines
Restart Machine
FLY_MACHINES_RESTART
Restart a specific Machine within an app, with an optional timeout parameter.
Machines
Set Machine Memory Limit
FLY_MACHINES_SET_MEMORY_LIMIT
Set the memory limit for a machine using the balloon device
Machines
Get Machine
FLY_MACHINES_SHOW
Get details of a specific Machine within an app by the Machine ID.
Machines
Get Lease
FLY_MACHINES_SHOW_LEASE
Retrieve the current lease of a specific Machine within an app. Machine leases can be used to obtain an exclusive lock on modifying a Machine.
Machines
Get Metadata
FLY_MACHINES_SHOW_METADATA
Retrieve metadata for a specific Machine within an app.
Machines
Signal Machine
FLY_MACHINES_SIGNAL
Send a signal to a specific Machine within an app using the details provided in the request body.
Machines
Start Machine
FLY_MACHINES_START
Start a specific Machine within an app.
Machines
Stop Machine
FLY_MACHINES_STOP
Stop a specific Machine within an app, with an optional request body to specify signal and timeout.
Machines
Suspend Machine
FLY_MACHINES_SUSPEND
Suspend a specific Machine within an app. The next start operation will attempt (but is not guaranteed) to resume the Machine from a snapshot taken at suspension time, rather than performing a cold boot.
Machines
Uncordon Machine
FLY_MACHINES_UNCORDON
“Cordoning” a Machine refers to disabling its services, so the Fly Proxy won’t route requests to it. In flyctl this is used by blue/green deployments; one set of Machines is started up with services disabled, and when they are all healthy, the services are enabled on the new Machines and disabled on the old ones.
Machines
Update Machine
FLY_MACHINES_UPDATE
Update a Machine's configuration using the details provided in the request body.
Machines
Update Metadata (set/remove multiple keys)
FLY_MACHINES_UPDATE_METADATA
Update multiple metadata keys at once. Null values and empty strings remove keys. + If `machine_version` is provided and no longer matches the current machine version, returns 412 Precondition Failed.
Machines
Upsert Metadata Key
FLY_MACHINES_UPSERT_METADATA
Update metadata for a specific machine within an app by providing a metadata key.
Machines
Wait for State
FLY_MACHINES_WAIT
Wait for a Machine to reach a specific state. Specify the desired state with the state parameter. See the [Machine states table](https://fly.io/docs/machines/working-with-machines/#machine-states) for a list of possible states. The default for this parameter is `started`. This request will block for up to 60 seconds. Set a shorter timeout with the timeout parameter.
Machines
Update Metadata (set/remove multiple keys)
FLY_PATCH_APPS_APP_NAME_MACHINES_MACHINE_ID_METADATA
Update multiple metadata keys at once. Null values and empty strings remove keys. + If `machine_version` is provided and no longer matches the current machine version, returns 412 Precondition Failed.
Machines
Get Placements
FLY_PLATFORM_PLACEMENTS_POST
Simulates placing the specified number of machines into regions, depending on available capacity and limits.
Platform
Get Regions
FLY_PLATFORM_REGIONS_GET
List all regions on the platform with their details.
Platform
Attach Cluster to App
FLY_POSTGRES_ATTACHMENTS_CREATE
Attach a specific cluster to a Fly app. The attachment is created if it does not already exist.
Postgres Clusters
Detach Cluster from App
FLY_POSTGRES_ATTACHMENTS_DELETE
Detach a specific cluster from a Fly app.
Postgres Clusters
Create Backup
FLY_POSTGRES_BACKUPS_CREATE
Create a backup for a specific cluster. The backup runs asynchronously and is rejected if one is already in progress.
Postgres Clusters
List Backups
FLY_POSTGRES_BACKUPS_LIST
List all backups associated with a specific cluster.
Postgres Clusters
Create Postgres Cluster
FLY_POSTGRES_CREATE
Create a Managed Postgres cluster for the organization named in the request body. Provisioning is asynchronous, and a name is generated when one is not supplied.
Postgres Clusters
Create Database
FLY_POSTGRES_DATABASES_CREATE
Create a database within a specific cluster.
Postgres Clusters
Drop Database
FLY_POSTGRES_DATABASES_DELETE
Delete a specific database within a cluster, along with objects that depend on it.
Postgres Clusters
List Databases
FLY_POSTGRES_DATABASES_LIST
List all databases within a specific cluster.
Postgres Clusters
Delete Postgres Cluster
FLY_POSTGRES_DELETE
Delete a Managed Postgres cluster. The cluster is marked for deletion and removed asynchronously.
Postgres Clusters
Disable Extension
FLY_POSTGRES_EXTENSIONS_DISABLE
Disable a specific Postgres extension within a database, optionally dropping objects that depend on it. System extensions cannot be disabled.
Postgres Clusters
Enable Extension
FLY_POSTGRES_EXTENSIONS_ENABLE
Enable a Postgres extension within a specific database. PostGIS extensions require a PostGIS-enabled cluster.
Postgres Clusters
List Extensions
FLY_POSTGRES_EXTENSIONS_LIST
List all extensions available within a specific database, indicating which are installed.
Postgres Clusters
Fork Cluster to New Cluster
FLY_POSTGRES_FORK
Fork a ready Managed Postgres cluster into a new cluster that inherits the source's settings. The source cluster is left unchanged, and the fork is provisioned asynchronously.
Postgres Clusters
List Postgres Clusters
FLY_POSTGRES_LIST
List Managed Postgres clusters for an organization.
Postgres Clusters
Restore Backup to New Cluster
FLY_POSTGRES_RESTORE
Restore a backup into a new Managed Postgres cluster. The source cluster is left unchanged, and a new cluster is provisioned from the specified backup.
Postgres Clusters
Get Postgres Cluster
FLY_POSTGRES_SHOW
Get details of a specific Managed Postgres cluster.
Postgres Clusters
Create User
FLY_POSTGRES_USERS_CREATE
Create a Postgres user within a specific cluster. Fetch the generated password from the credentials endpoint.
Postgres Clusters
Get User Credentials
FLY_POSTGRES_USERS_CREDENTIALS
Get the connection credentials for a specific Postgres user within a cluster.
Postgres Clusters
Delete User
FLY_POSTGRES_USERS_DELETE
Delete a specific Postgres user within a cluster.
Postgres Clusters
List Users
FLY_POSTGRES_USERS_LIST
List all Postgres users within a specific cluster.
Postgres Clusters
Rotate User Password
FLY_POSTGRES_USERS_ROTATE_PASSWORD
Rotate a specific Postgres user's password within a cluster, optionally terminating the user's existing sessions.
Postgres Clusters
Update User Role
FLY_POSTGRES_USERS_UPDATE_ROLE
Update a specific Postgres user's role within a cluster.
Postgres Clusters
List secret keys belonging to an app
FLY_SECRETKEYS_LIST
List secret keys belonging to an app
Secrets
Decrypt with a secret key
FLY_SECRETKEY_DECRYPT
Decrypt with a secret key
Secrets
Delete an app's secret key
FLY_SECRETKEY_DELETE
Delete an app's secret key
Secrets
Encrypt with a secret key
FLY_SECRETKEY_ENCRYPT
Encrypt with a secret key
Secrets
Generate a random secret key
FLY_SECRETKEY_GENERATE
Generate a random secret key
Secrets
Get an app's secret key
FLY_SECRETKEY_GET
Get an app's secret key
Secrets
Create or update a secret key
FLY_SECRETKEY_SET
Create or update a secret key
Secrets
Sign with a secret key
FLY_SECRETKEY_SIGN
Sign with a secret key
Secrets
Verify with a secret key
FLY_SECRETKEY_VERIFY
Verify with a secret key
Secrets
List app secrets belonging to an app
FLY_SECRETS_LIST
List app secrets belonging to an app
Secrets
Update app secrets belonging to an app
FLY_SECRETS_UPDATE
Update app secrets belonging to an app
Secrets
Create or update Secret
FLY_SECRET_CREATE
Create or update Secret
Secrets
Delete an app secret
FLY_SECRET_DELETE
Delete an app secret
Secrets
Get an app secret
FLY_SECRET_GET
Get an app secret
Secrets
Authenticate token header
FLY_TOKENS_AUTHENTICATE
Verify a token header without checking resource access.
Tokens
Authorize token for resource access
FLY_TOKENS_AUTHORIZE
Verify a token header and validate it against a requested access scope.
Tokens
Request a Petsem token for accessing KMS
FLY_TOKENS_REQUEST_KMS
This site hosts documentation generated from the Fly.io Machines API OpenAPI specification. Visit our complete [Machines API docs](https://fly.io/docs/machines/api/apps-resource/) for details about using the Apps resource.
Tokens
Request an OIDC token
FLY_TOKENS_REQUEST_OIDC
Request an Open ID Connect token for your machine. Customize the audience claim with the `aud` parameter. This returns a JWT token. Learn more about [using OpenID Connect](/docs/reference/openid-connect/) on Fly.io.
Tokens
Create Volume
FLY_VOLUMES_CREATE
Create a volume for a specific app using the details provided in the request body.
Volumes
Extend Volume
FLY_VOLUMES_EXTEND
Extend a volume's size within an app using the details provided in the request body.
Volumes
Get Volume
FLY_VOLUMES_GET_BY_ID
Retrieve details about a specific volume by its ID within an app.
Volumes
List Volumes
FLY_VOLUMES_LIST
List all volumes associated with a specific app.
Volumes
List Snapshots
FLY_VOLUMES_LIST_SNAPSHOTS
List all snapshots for a specific volume within an app.
Volumes
List All Volumes
FLY_VOLUMES_ORG_LIST
List all volumes for an organization with optional filters and cursor-based pagination.
Organizations
Update Volume
FLY_VOLUMES_UPDATE
Update a volume's configuration using the details provided in the request body.
Volumes
Destroy Volume
FLY_VOLUME_DELETE
Delete a specific volume within an app by volume ID.
Volumes
FAQ

Fly integration, answered

How do AI agents use Fly through Open Connector?
Your user connects Fly once with one of its cataloged authentication methods. Open Connector stores the credential in an encrypted vault and exposes Fly tools to your agent over MCP or a typed API, with credentials injected server-side on each call.
Is this a Fly MCP server?
Yes. Open Connector can serve Fly as a named MCP server with a scoped allowlist and a per-user connection URL, so any MCP client can call Fly actions with credentials injected server-side.
Where do Fly credentials live?
In your own infrastructure. Open Connector keeps credentials in its own vault and injects them at call time, so they never leave your environment.

Give your agents Fly — keep the keys.

Open source, self-hostable, with Fly credentials that never leave your infrastructure. Run it from source today.