---
title: "Fly.io Machines MCP server for AI agents - actionlake"
description: "Give Claude 99 Fly.io Machines actions through one MCP server: machines, postgres. Your agent never holds the credential. 100,000 calls a month free."
canonical: https://actionlake.com/connectors/fly-io-machines
updated: 2026-10-23
---

Connectors · Developer & infrastructure

# Fly.io Machines MCP server for AI agents.

actionlake is an MCP gateway: one remote MCP server that connects Claude and other MCP clients to Fly.io Machines and the rest of your systems. It gives your agent 99 Fly.io Machines actions (43 reads, 38 writes and 18 that wait for a confirmation) and holds the Fly.io Machines credential itself, so the agent never does. It paces Fly.io Machines's limits and records every call.

[Connect Fly.io Machines free](https://actionlake.com/console?start=sandbox) [See pricing](https://actionlake.com/pricing)

100,000 free calls a month. No card, no email, no password: press Start a free sandbox on the next screen and keep the key it shows you.

`claude mcp add --transport http actionlake https://connect.actionlake.com/mcp`

the first call

```
do {
  action: "fly_io_machines.platform.regions.list",
  intent: "check which Fly.io Machines account is connected"
}
# List Fly.io regions · read · 1 upstream call
```

- 99 actions in one signed file
- 43 read look, never change
- 38 write create and update
- 18 wait for a yes destructive, confirmed first

Set up

## Connect Fly.io Machines in three steps.

1. 01
   ### Add actionlake to Claude.
   Run the command once in Claude Code; its consent page can create a free sandbox: 100,000 calls a month, no card. In the Claude app, add a custom connector with the URL below and paste your key on the consent page. Creating a new sandbox from the Claude app is not yet tested by us.
   `https://connect.actionlake.com/mcp`
2. 02
   ### Connect Fly.io Machines.
   Bearer token. No consent screen: your agent can connect it for you, but the key then passes through your chat. To keep it out of the model's context, paste it in the console instead. actionlake stores what you paste write-only, sealed under your tenant's key.
   - `api_token` Fly.io API token (from `fly tokens create org` or `fly tokens deploy`; paste the whole value, including any `FlyV1 `…
   ```
   account { op: "connections.requirements", service: "fly_io_machines" }
   # free: exactly what to paste, and what is found for you
   ```
3. 03
   ### Make the first call. Check before a write.
   Ask in plain words; Claude picks the action. Before anything changes, `check` validates the call and prices it, for free.
   ```
   do    { action: "fly_io_machines.platform.regions.list" }
   # list fly.io regions · read · 1 upstream call
   check { action: "fly_io_machines.machines.create", input: { … } }
   # free: inputs, permissions, cost and confirmations, nothing sent
   ```

Fly.io Machines at a glance

**Sign-in**

Bearer token. No consent screen: your agent can connect it for you, but the key then passes through your chat. To keep it out of the model's context, paste it in the console instead.

**You provide**

`api_token`

**Limits we pace to**

3 calls a second, per connection

**API covered**

Machines API 1.0 (OpenAPI 3.1.0)`api.machines.dev`

**Built from**

Fly.io Machines's documentation, read 23 October 2026[docs.fly.io](https://docs.fly.io/api/machines/openapi.json) [fly.io](https://fly.io/docs/machines/api/working-with-machines-api/)

**Service file**

Version 1.0.0, signed (Ed25519)

**Cached reads**

25 of 43 reads, for up to an hour; a write clears what it affects

**Shared entities**

2, so ask can line Fly.io Machines up with your other systems

**Data**

Processed and stored in Sydney, Australia. No US region yet

Capabilities

## What an AI agent can do in Fly.io Machines.

99 actions in 12 areas. Every one carries its effect, so a key can allow the reads and hold the rest.

- **43** read look, never change
- **38** write create and update
- **18** destructive wait for a confirmation

1. ### Machines
   29
   10 read · 15 write · 4 destructive
   Get a machine · Create a machine · Update a machine's configuration · Destroy a machine
2. ### Postgres
   25
   10 read · 9 write · 6 destructive
   List Managed Postgres clusters · List a cluster's databases · List a cluster's users · Get a Managed Postgres cluster
3. ### Secret keys
   9
   6 read · 2 write · 1 destructive
   List an app's secret keys · Get an app secret key · Decrypt ciphertext with an app secret key · Encrypt plaintext with an app secret key
4. ### Certificates
   8
   2 read · 3 write · 3 destructive
   List an app's certificates · Get a certificate for a hostname · Request an ACME (Let's Encrypt) certificate · Upload a custom certificate
5. ### Volumes
   8
   3 read · 4 write · 1 destructive
   List a volume's snapshots · Get a volume · Create a volume · Create a volume snapshot
6. ### Apps
   5
   2 read · 2 write · 1 destructive
   List apps in an organization · Get an app · Create an app · Delete an app
7. ### Secrets
   5
   2 read · 2 write · 1 destructive
   List an app's secrets · Get an app secret · Set or unset several app secrets · Delete an app secret
8. ### Ip assignments
   3
   1 read · 1 write · 1 destructive
   List an app's IP addresses · Allocate an IP address to an app · Release an app's IP address

**4 more areas · 7 actions**

- Tokens **3**
- Platform **2**
- Org machines **1**
- Org volumes **1**

Top actions

## The Fly.io Machines API, shaped for agents.

The ids your agent types, what each does, and the one name it shares with other systems. 35 of Fly.io Machines's 35 action names are shared with at least one other connector, so an agent learns them once.

| Action | What it does | Effect | Same name in |
| --- | --- | --- | --- |
| `fly_io_machines.org_machines.list` List machines across an organization | List All Machines. | read | `infra.instance.list` 18 connectors |
| `fly_io_machines.apps.list` List apps in an organization | List Apps. | read | `infra.container_service.list` 11 connectors |
| `fly_io_machines.machines.get` Get a machine | Get Machine. | read | `infra.instance.get` 15 connectors |
| `fly_io_machines.apps.get` Get an app | Get App. | read | `infra.container_service.get` 11 connectors |
| `fly_io_machines.machines.create` Create a machine | Create Machine. | write | `infra.instance.create` 10 connectors |
| `fly_io_machines.apps.create` Create an app | Create App. | write | `infra.container_service.create` 8 connectors |
| `fly_io_machines.org_volumes.list` List volumes across an organization | List All Volumes. | read | `infra.volume.list` 10 connectors |
| `fly_io_machines.machines.update` Update a machine's configuration | Update Machine. | write | `infra.instance.update` 15 connectors |
| `fly_io_machines.ip_assignments.list` List an app's IP addresses | List IP assignments for app. | read | `infra.ip_address.list` 9 connectors |
| `fly_io_machines.platform.regions.list` List Fly.io regions | Get Regions. | read | `infra.region.list` 16 connectors |
| `fly_io_machines.volumes.snapshots.list` List a volume's snapshots | List Snapshots. | read | `infra.snapshot.list` 12 connectors |
| `fly_io_machines.machines.delete` Destroy a machine | Destroy Machine. | destructive | `infra.instance.delete` 13 connectors |

Try it

## Prompts to paste into Claude.

Each one names the Fly.io Machines actions it will call, so you know what it reads and what it changes before you send it.

1. Read read
   List Fly.io regions in Fly.io Machines and tell me what stands out.
   calls `fly_io_machines.platform.regions.list`
2. Write write
   Create a machine in Fly.io Machines. Show me exactly what you will send before you save it.
   calls `fly_io_machines.machines.create`

Governance for Fly.io Machines

## Destructive actions wait for a yes.

18 Fly.io Machines actions are destructive. These are all of them:

- Destroy a machine `fly_io_machines.machines.delete`
- Delete an app `fly_io_machines.apps.delete`
- Destroy a volume `fly_io_machines.volumes.delete`
- Release an app's IP address `fly_io_machines.ip_assignments.delete`
- Delete a Managed Postgres cluster `fly_io_machines.postgres.delete`
- Delete a cluster user `fly_io_machines.postgres.users.delete`
- Delete a database from a cluster `fly_io_machines.postgres.databases.delete`
- Delete an app secret `fly_io_machines.secrets.delete`
- Restart a machine `fly_io_machines.machines.restart`
- Delete an app secret key `fly_io_machines.secret_keys.delete`
- Remove a hostname and all its certificates `fly_io_machines.certificates.delete`
- Release a machine lease `fly_io_machines.machines.lease.delete`
- Remove a hostname's ACME certificates `fly_io_machines.certificates.acme.delete`
- Remove a hostname's custom certificate `fly_io_machines.certificates.custom.delete`
- Detach a Managed Postgres cluster from an app `fly_io_machines.postgres.attachments.delete`
- Disable an extension on a database `fly_io_machines.postgres.extensions.disable`
- Rotate a cluster user's password `fly_io_machines.postgres.users.rotate_password`
- Delete one machine metadata value `fly_io_machines.machines.metadata.key.delete`

A destructive action runs only with `confirm: true`. Under the `human` policy the agent cannot confirm for itself: the run stops until a named person approves, in the console or from a signed link in an email. The cap on a key is refused before the call is sent, never after.

do fly_io_machines.machines.delete confirm_policy: **human**

Destroy a machine?

**intent:** the user asked me to destroy a machine

run suspended · waiting for a named person · key _fly-io-machines-agent_ cannot confirm itself

In the console, or from an emailed signed link.

a key for this connector

```
account {
  op: "keys.create", name: "fly-io-machines-agent",
  allowed_actions: ["fly_io_machines.*"], cap_calls: 2000,
  confirm_policy: "human_for_writes",
  approval_rules: [
    { match: "fly_io_machines.machines.delete", approver: "lead@example.com" },
    { match: "fly_io_machines.apps.delete", approver: "lead@example.com" },
    { match: "fly_io_machines.volumes.delete", approver: "lead@example.com" }
  ]
}
```

Illustrative. Scoped to Fly.io Machines only, capped at 2,000 upstream calls, every write confirmed, and the destructive ones approved by a named person.

Cost

## What Fly.io Machines costs on actionlake.

Every Fly.io Machines action is one upstream call, the only thing actionlake bills. Searching, `check`, `cost`, `account` and any call Fly.io Machines refused with 401, 403, 429 or a 5xx are free. Paid plans start at US$49 a month for 250,000 calls, with overage from US$0.30 down to US$0.18 per 1,000.

- 1 upstream call per action all 99 Fly.io Machines actions
- 99 actions page each page of a long list is one call
- 25 reads can be cached a cache hit costs nothing
- 100,000 calls a month, free paid plans from US$49 a month for 250,000

[See pricing](https://actionlake.com/pricing)

Action index

## Every Fly.io Machines action.

99 actions by area: the id your agent calls, what it does, and its effect.

**Machines 29**

- `fly_io_machines.machines.cordon` Cordon a machine (stop routing traffic to it) write
- `fly_io_machines.machines.create` Create a machine write
- `fly_io_machines.machines.delete` Destroy a machine destructive
- `fly_io_machines.machines.events.list` List a machine's events read
- `fly_io_machines.machines.exec` Execute a command on a machine write
- `fly_io_machines.machines.get` Get a machine read
- `fly_io_machines.machines.lease.create` Create or refresh a machine lease write
- `fly_io_machines.machines.lease.delete` Release a machine lease destructive
- `fly_io_machines.machines.lease.get` Get a machine's lease read
- `fly_io_machines.machines.list` List an app's machines read
- `fly_io_machines.machines.memory.get` Get a machine's memory limit and availability read
- `fly_io_machines.machines.memory.reclaim` Reclaim memory from a machine's balloon device write
- `fly_io_machines.machines.memory.update` Set a machine's memory limit write
- `fly_io_machines.machines.metadata.get` Get a machine's metadata read
- `fly_io_machines.machines.metadata.key.delete` Delete one machine metadata value destructive
- `fly_io_machines.machines.metadata.key.get` Get one machine metadata value read
- `fly_io_machines.machines.metadata.key.upsert` Set one machine metadata value write
- `fly_io_machines.machines.metadata.replace` Replace a machine's metadata (deprecated PUT) write
- `fly_io_machines.machines.metadata.update` Update a machine's metadata write
- `fly_io_machines.machines.processes.list` List processes running on a machine read
- `fly_io_machines.machines.restart` Restart a machine destructive
- `fly_io_machines.machines.signal` Send a signal to a machine write
- `fly_io_machines.machines.start` Start a machine write
- `fly_io_machines.machines.stop` Stop a machine write
- `fly_io_machines.machines.suspend` Suspend a machine write
- `fly_io_machines.machines.uncordon` Uncordon a machine (resume routing traffic) write
- `fly_io_machines.machines.update` Update a machine's configuration write
- `fly_io_machines.machines.versions.list` List a machine's config versions read
- `fly_io_machines.machines.wait` Wait for a machine to reach a state read

**Postgres 25**

- `fly_io_machines.postgres.attachments.create` Attach a Managed Postgres cluster to an app write
- `fly_io_machines.postgres.attachments.delete` Detach a Managed Postgres cluster from an app destructive
- `fly_io_machines.postgres.backups.create` Start a cluster backup write
- `fly_io_machines.postgres.backups.list` List a cluster's backups read
- `fly_io_machines.postgres.create` Create a Managed Postgres cluster write
- `fly_io_machines.postgres.databases.create` Create a database in a cluster write
- `fly_io_machines.postgres.databases.delete` Delete a database from a cluster destructive
- `fly_io_machines.postgres.databases.list` List a cluster's databases read
- `fly_io_machines.postgres.delete` Delete a Managed Postgres cluster destructive
- `fly_io_machines.postgres.extensions.disable` Disable an extension on a database destructive
- `fly_io_machines.postgres.extensions.enable` Enable an extension on a database write
- `fly_io_machines.postgres.extensions.list` List a database's extensions read
- `fly_io_machines.postgres.fork` Fork a cluster write
- `fly_io_machines.postgres.get` Get a Managed Postgres cluster read
- `fly_io_machines.postgres.list` List Managed Postgres clusters read
- `fly_io_machines.postgres.plans.list` List Managed Postgres plans read
- `fly_io_machines.postgres.queries.active.list` List a cluster's active queries read
- `fly_io_machines.postgres.queries.slow.list` List a cluster's slow queries read
- `fly_io_machines.postgres.restore` Restore a cluster into a new cluster write
- `fly_io_machines.postgres.users.create` Create a cluster user write
- `fly_io_machines.postgres.users.credentials.get` Get a cluster user's credentials read
- `fly_io_machines.postgres.users.delete` Delete a cluster user destructive
- `fly_io_machines.postgres.users.list` List a cluster's users read
- `fly_io_machines.postgres.users.rotate_password` Rotate a cluster user's password destructive
- `fly_io_machines.postgres.users.update` Change a cluster user's role write

**Secret keys 9**

- `fly_io_machines.secret_keys.decrypt` Decrypt ciphertext with an app secret key read
- `fly_io_machines.secret_keys.delete` Delete an app secret key destructive
- `fly_io_machines.secret_keys.encrypt` Encrypt plaintext with an app secret key read
- `fly_io_machines.secret_keys.generate` Generate a random app secret key write
- `fly_io_machines.secret_keys.get` Get an app secret key read
- `fly_io_machines.secret_keys.list` List an app's secret keys read
- `fly_io_machines.secret_keys.set` Create or replace an app secret key write
- `fly_io_machines.secret_keys.sign` Sign plaintext with an app secret key read
- `fly_io_machines.secret_keys.verify` Verify a signature with an app secret key read

**Certificates 8**

- `fly_io_machines.certificates.acme.create` Request an ACME (Let's Encrypt) certificate write
- `fly_io_machines.certificates.acme.delete` Remove a hostname's ACME certificates destructive
- `fly_io_machines.certificates.check` Check a certificate's DNS and trigger validation write
- `fly_io_machines.certificates.custom.create` Upload a custom certificate write
- `fly_io_machines.certificates.custom.delete` Remove a hostname's custom certificate destructive
- `fly_io_machines.certificates.delete` Remove a hostname and all its certificates destructive
- `fly_io_machines.certificates.get` Get a certificate for a hostname read
- `fly_io_machines.certificates.list` List an app's certificates read

**Volumes 8**

- `fly_io_machines.volumes.create` Create a volume write
- `fly_io_machines.volumes.delete` Destroy a volume destructive
- `fly_io_machines.volumes.extend` Extend a volume's size write
- `fly_io_machines.volumes.get` Get a volume read
- `fly_io_machines.volumes.list` List an app's volumes read
- `fly_io_machines.volumes.snapshots.create` Create a volume snapshot write
- `fly_io_machines.volumes.snapshots.list` List a volume's snapshots read
- `fly_io_machines.volumes.update` Update a volume write

**Apps 5**

- `fly_io_machines.apps.create` Create an app write
- `fly_io_machines.apps.delete` Delete an app destructive
- `fly_io_machines.apps.deploy_token.create` Create a deploy token for an app write
- `fly_io_machines.apps.get` Get an app read
- `fly_io_machines.apps.list` List apps in an organization read

**Secrets 5**

- `fly_io_machines.secrets.delete` Delete an app secret destructive
- `fly_io_machines.secrets.get` Get an app secret read
- `fly_io_machines.secrets.list` List an app's secrets read
- `fly_io_machines.secrets.set` Create or replace an app secret write
- `fly_io_machines.secrets.update` Set or unset several app secrets write

**Ip assignments 3**

- `fly_io_machines.ip_assignments.create` Allocate an IP address to an app write
- `fly_io_machines.ip_assignments.delete` Release an app's IP address destructive
- `fly_io_machines.ip_assignments.list` List an app's IP addresses read

**Tokens 3**

- `fly_io_machines.tokens.authenticate` Authenticate a Fly token and list its permissions read
- `fly_io_machines.tokens.authorize` Check whether a Fly token grants an access read
- `fly_io_machines.tokens.current.get` Get the current token's details read

**Platform 2**

- `fly_io_machines.platform.placements.query` Get recommended regions for machine placement read
- `fly_io_machines.platform.regions.list` List Fly.io regions read

**Org machines 1**

- `fly_io_machines.org_machines.list` List machines across an organization read

**Org volumes 1**

- `fly_io_machines.org_volumes.list` List volumes across an organization read

Questions

## The Fly.io Machines MCP server, answered.

**Is there a Fly.io Machines MCP server for Claude?**

Yes. actionlake is an MCP gateway: a remote MCP server that gives Claude, or another MCP client, 99 Fly.io Machines actions across machines, postgres, secret keys and certificates, through the same eight tools it uses for every other connector. actionlake is independent; it is not made or endorsed by Fly.io Machines.

**What do I need to connect Fly.io Machines?**

Fly.io API token (from `fly tokens create org` or `fly tokens deploy`; paste the whole value, including any `FlyV1 `…. The free call account { op: "connections.requirements", service: "fly_io_machines" } lists exactly what to paste.

**Can an AI agent delete or change things in Fly.io Machines?**

Only if its key allows it, and only with an explicit confirmation. 18 Fly.io Machines actions are destructive, including destroy a machine, delete an app and destroy a volume. Each runs only with confirm: true. Under the human confirm policy, or an approval rule on the key, the run waits until a named person approves it.

**Will an AI agent use up my Fly.io Machines API limit?**

actionlake paces every call to the limits in the Fly.io Machines service file: 3 calls a second per connection. Repeated reads are answered from cache (25 Fly.io Machines actions can be), which never reaches Fly.io Machines.

**What does a Fly.io Machines action cost?**

One upstream call, the only unit actionlake bills. A list that pages bills one call per page (99 Fly.io Machines actions page). Cache hits, searches, dry runs and calls Fly.io Machines refused with 401, 403, 429 or a 5xx are free. The Free plan includes 100,000 calls a month with no card. Paid plans start at US$49 a month for 250,000 calls, with overage from US$0.30 down to US$0.18 per 1,000.

**Which Fly.io Machines API does it cover?**

The Machines API 1.0 (OpenAPI 3.1.0) at api.machines.dev. It is built from Fly.io Machines's documentation as read on 23 October 2026. 99 actions in 12 areas, each one in the signed service file (version 1.0.0).

**Does actionlake keep my Fly.io Machines data, and where?**

actionlake processes and stores data in Sydney, Australia; there is no US region yet. Reads may be cached for up to an hour, and a write clears the reads it affects. Each run's request and response is kept, sealed, for your plan's trace window: 1 day on Free, 3 days on Starter, 7 days on Pro, 14 days on Team, 30 days on Business and 30 days on Enterprise. Your Fly.io Machines credential is sealed under your tenant's key, never logged and never returned. Your traffic is not used to train models.

**Which AI clients can use it?**

Claude Code, tested by us end to end, and the Claude app as a custom connector, tested by us with an existing key. Other MCP clients that support remote servers over Streamable HTTP (MCP revisions 2025-06-18 and 2025-11-25) and OAuth dynamic client registration, or a bearer header, should connect the same way; we have not tested them. Or plain REST, under the same action names.

## More connectors like Fly.io Machines

Shares the most action names with

- [Google Compute Engine 19](https://actionlake.com/connectors/google-compute-engine)
- [Render 18](https://actionlake.com/connectors/render)
- [Google Cloud SQL Admin 13](https://actionlake.com/connectors/google-cloud-sql-admin)
- [Coolify 8](https://actionlake.com/connectors/coolify)
- [Hetzner Cloud 7](https://actionlake.com/connectors/hetzner-cloud)
- [Akamai Cloud (Linode) 7](https://actionlake.com/connectors/akamai-cloud-linode)

Joins with, on shared entities

- [DigitalOcean 2](https://actionlake.com/connectors/digitalocean)
- [NetBox 1](https://actionlake.com/connectors/netbox)
- [Azure App Service (Web Apps and Functions) 1](https://actionlake.com/connectors/azure-app-service-web-apps-and-functions)
- [Vultr 1](https://actionlake.com/connectors/vultr)
- [Hostinger 1](https://actionlake.com/connectors/hostinger)
- [Azure Compute (Virtual Machines) 1](https://actionlake.com/connectors/azure-compute-virtual-machines)

Browse

- [All Developer & infrastructure connectors](https://actionlake.com/connectors/category/developer-and-infrastructure)
- [All connectors](https://actionlake.com/connectors)
- [How actionlake compares](https://actionlake.com/compare)

actionlake is independent. It is not made or endorsed by Fly.io Machines; the name is the vendor's own. Counts are from the Fly.io Machines service file, version 1.0.0.

## Give your agent Fly.io Machines today.

[Connect Fly.io Machines free](https://actionlake.com/console?start=sandbox) [See pricing](https://actionlake.com/pricing)

Start free - 100,000 calls/month, no card. No signup. Hard caps on every key. Cached answers are free.

---

Source: https://actionlake.com/connectors/fly-io-machines
More: https://actionlake.com/llms.txt
