Fly.io MCP server integration for AI agents.

Connect AI agents to Fly.io through 9 structured actions, including get app, create machine, and restart machine. Review authentication, inputs, workflows, a…

ACTION CONTRACTS
9
AUTHENTICATION
API key
SOURCE STATUS
Provider-backed

CATALOG SOURCE REVIEWED AUGUST 23, 2026 / ACTION NAMES AND SCHEMAS DERIVED FROM WORKING MACHINES PROVIDER SOURCE

CAPABILITY PROFILE

What the Fly.io integration exposes

The Fly.io Agent App exposes 9 provider-backed actions for developer tools work. Its current contract lets an authorized agent retrieve details for a fly app by name, create a fly machine in an app using a json machine configuration, and restart a fly machine, optionally with a unix signal and timeout. These operations are called through Working Machines as typed capabilities rather than through browser navigation or copied UI steps.

A connection uses API key. Before execution, the agent can inspect the selected action, its required fields, declared scopes, and expected output contract. Provider credentials remain inside the Working Machines runtime; the calling agent receives the capability and its structured result, not the underlying secret.

For reliable operation, start with the narrowest action that satisfies the task, resolve stable provider identifiers before changing state, and validate the returned object or status after execution. Availability still depends on the connected Fly.io account, granted provider permissions, workspace policy, region, plan, and upstream API behavior.

VERIFIED ACTION SAMPLE

Real Fly.io capabilities.

Showing 9 of 9 actions. Risk labels are conservative signals based on operation names, not substitutes for provider documentation or runtime policy.

get_appREAD

Retrieve details for a Fly App by name.

INPUTS: app_name

create_machineWRITE

Create a Fly Machine in an app using a JSON Machine configuration.

INPUTS: app_name / config / lease_ttl / lsvd / min_secrets_version

restart_machineREVIEW

Restart a Fly Machine, optionally with a Unix signal and timeout.

INPUTS: app_name / machine_id / signal / timeout

get_machineREAD

Retrieve a Fly Machine by app and Machine ID.

INPUTS: app_name / machine_id

list_appsREAD

List Fly Apps for an organization through the Machines API.

INPUTS: org_slug / app_role

list_machinesREAD

List Fly Machines in an app with optional state, region, and summary filters.

INPUTS: app_name / include_deleted / region / state / summary

start_machineWRITE

Start a Fly Machine.

INPUTS: app_name / machine_id

stop_machineREVIEW

Stop a Fly Machine, optionally with a Unix signal and timeout.

INPUTS: app_name / machine_id / signal / timeout

wait_for_machineREVIEW

Wait for a Fly Machine to reach a desired state.

INPUTS: app_name / machine_id / from_event_id / state / timeout

INPUT CONTRACTS

Know what the action needs before it runs.

get_app

app_nameOPTIONAL
The Fly App name.

create_machine

app_nameREQUIRED
The Fly App name.
configREQUIRED
The Fly Machine configuration object. Include the documented image field when creating a Machine, and pass additional Fly Machine config fields as needed.
lease_ttlOPTIONAL
Seconds to acquire a lease on the newly created Machine.
lsvdOPTIONAL
Whether to enable Log Structured Virtual Disks for this Machine.
min_secrets_versionOPTIONAL
Minimum secrets version required for the Machine.

restart_machine

app_nameREQUIRED
The Fly App name.
machine_idREQUIRED
The Fly Machine ID.
signalOPTIONAL
Unix signal to use for the restart.
timeoutOPTIONAL
Restart timeout as a Go duration string or number of seconds.

get_machine

app_nameOPTIONAL
The Fly App name.
machine_idOPTIONAL
The Fly Machine ID.

PROVIDER-SPECIFIC WORKFLOWS

Jobs this Agent App can support

Inspect Get App

Retrieve details for a Fly App by name. Use this as a bounded discovery step, retain the returned identifier, and avoid expanding the read beyond the task's stated scope.

get_app

Control Create Machine

Create a Fly Machine in an app using a JSON Machine configuration. Resolve the target first, present material changes for confirmation, and make retries idempotent where the provider supports it.

create_machine

Verify with Get Machine

Retrieve a Fly Machine by app and Machine ID. Compare the returned provider state with the intended outcome and preserve stable IDs or canonical links in the run record.

get_machine

SAFETY BOUNDARY

Operate Fly.io with explicit limits

  • Authorize Fly.io with API key and grant only the provider access required by the selected actions.
  • 2 actions are change-capable by name. Confirm the target identity and material parameters before allowing a write.
  • Do not infer permission from catalog visibility. Workspace policy, connection identity, and upstream authorization still govern execution.
  • No provider scope string is declared on the sampled actions. Verify the connected account's actual permissions in Fly.io rather than assuming unrestricted access.
  • After a call, inspect the structured result and execution record before reporting that the Fly.io task completed successfully.

CONNECTION MODEL

API key

Fly.io API token sent as a Bearer token to the Machines API. Generate a token with flyctl as described in the official Machines API guide: https://fly.io/docs/machines/api/working-with-machines-api/

Working Machines stores provider credentials behind the execution boundary. An agent can use an authorized connection identity, but catalog discovery alone does not reveal OAuth tokens, API keys, or provider secrets.

READ SIGNALS
4
WRITE SIGNALS
2
HIGH IMPACT
0
REVIEW SIGNALS
3

EVIDENCE AND AVAILABILITY

Provider reference

Action names, input fields, authentication types, and counts on this page are generated from the Working Machines provider catalog. Provider behavior, quotas, object semantics, account eligibility, and regional availability remain governed by Fly.io.

Official Fly.io website

ONE CONNECTION. REAL WORK.

Give your agent software it can use.

Connect through MCP or explore the Agent App catalog and choose only the capabilities your workflow needs.

EXPLORE AGENT APPS