Fly.io MCP Server with Zero-Key Team Vault

Team appAuth: api_key

Connect your team's Fly.io account once in Duang's encrypted vault and give Claude Code, Cursor, Codex, or any MCP/CLI agent access to 84 operations without exposing API keys or OAuth tokens to models.

Local Fly.io MCP setup

Plaintext keys on every machine

  • Raw Fly.io tokens copied into local configs
  • Re-install and configure on every laptop
  • Dozens of tool schemas loaded in every prompt
Fly.io via Duang Vault

Connect once, revoke in one click

  • Per-team envelope encryption in one vault
  • Zero raw keys on disk or in LLM prompts
  • One remote MCP URL shared across your team
Chat promptPaste into Claude Code, OpenClaw, OpenCode, Grok Bot, Antigravity, Hermes, or Pi

set up https://duang.ai/SKILL.md

What you can ask your agent

“List the Fly.io apps of our organization.”

## Fly.io apps in acme | App | Machines | Volumes | |---|---|---| | **acme-web** | 3 | 0 | | **acme-api** | 2 | 0 | | **acme-worker** | 1 | 1 | That is 6 Machines across 3 apps, and **acme-worker** is the only one with a volume. Want me to check that all the Machines are running?

apps

“Restart the Machine 148ed599e12e08 of acme-api.”

Done. Machine **148ed599e12e08** of **acme-api** was restarted. - It was stopped with the default signal (SIGTERM), then started again - Fly.io reported no error It may take a few seconds to come back. Want me to check its status?

restart-machine

Operations (84)

OperationPrice
GET api.machines.dev/v1/apps

The apps of a Fly.io organization.

Own key
GET api.machines.dev/v1/apps/{app_name}

One Fly.io app: its status and its organization.

Own key
POST api.machines.dev/v1/apps

Create a Fly.io app.

Own key
DELETE api.machines.dev/v1/apps/{app_name}

Destroy a Fly.io app, with its Machines and volumes.

Own key
GET api.machines.dev/v1/apps/{app_name}/certificates

The TLS certificates of an app's hostnames.

Own key
GET api.machines.dev/v1/apps/{app_name}/certificates/{hostname}

One hostname's certificate: its status and the DNS records it needs.

Own key
POST api.machines.dev/v1/apps/{app_name}/certificates/acme

Ask for a Let's Encrypt certificate for a hostname of an app.

Own key
POST api.machines.dev/v1/apps/{app_name}/certificates/{hostname}/check

Check a hostname's DNS again and try to validate its certificate.

Own key
DELETE api.machines.dev/v1/apps/{app_name}/certificates/{hostname}

Remove a hostname and its certificates from an app.

Own key
DELETE api.machines.dev/v1/apps/{app_name}/certificates/{hostname}/acme

Remove a hostname's ACME certificate and keep the hostname.

Own key
DELETE api.machines.dev/v1/apps/{app_name}/certificates/{hostname}/custom

Remove a hostname's custom certificate and keep the hostname.

Own key
GET api.machines.dev/v1/apps/{app_name}/ip_assignments

The IP addresses assigned to an app.

Own key
POST api.machines.dev/v1/apps/{app_name}/ip_assignments

Assign a new IP address to an app.

Own key
DELETE api.machines.dev/v1/apps/{app_name}/ip_assignments/{ip}

Release an IP address of an app.

Own key
GET api.machines.dev/v1/apps/{app_name}/machines

The Machines of a Fly.io app, and what state each is in.

Own key
GET api.machines.dev/v1/apps/{app_name}/machines/{machine_id}

One Machine of a Fly.io app: its state, configuration and events.

Own key
POST api.machines.dev/v1/apps/{app_name}/machines

Create a Machine in a Fly.io app, and start it.

Own key
POST api.machines.dev/v1/apps/{app_name}/machines/{machine_id}

Replace a Machine's configuration, and restart it with it.

Own key
DELETE api.machines.dev/v1/apps/{app_name}/machines/{machine_id}

Destroy a Machine.

Own key
POST api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/start

Start a stopped or suspended Machine.

Own key
POST api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/stop

Stop a running Machine.

Own key
POST api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/restart

Restart a Machine.

Own key
POST api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/suspend

Suspend a Machine, keeping its memory.

Own key
POST api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/signal

Send a Unix signal to a Machine's main process.

Own key
POST api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/cordon

Cordon a Machine: Fly's proxy stops sending it traffic.

Own key
POST api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/uncordon

Uncordon a Machine: Fly's proxy sends it traffic again.

Own key
GET api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/wait

Wait for a Machine to reach a state.

Own key
GET api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/events

The recent events of a Machine: launches, starts, exits and so on.

Own key
GET api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/versions

The versions of a Machine's configuration.

Own key
GET api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/ps

The processes running in a Machine.

Own key
POST api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/exec

Run a command in a started Machine, and return its output.

Own key
GET api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/lease

The lease held on a Machine, if any.

Own key
POST api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/lease

Lock a Machine against changes, for a while.

Own key
DELETE api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/lease

Release the lease on a Machine.

Own key
GET api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/memory

A Machine's memory limit and what is available above it.

Own key
PUT api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/memory

Set the memory limit of a running Machine.

Own key
POST api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/memory/reclaim

Ask a Machine to give back memory.

Own key
GET api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/metadata

A Machine's metadata: the key-value pairs set on it.

Own key
PATCH api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/metadata

Set or remove several metadata keys of a Machine.

Own key
GET api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/metadata/{key}

The value of one metadata key of a Machine.

Own key
POST api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/metadata/{key}

Set one metadata key of a Machine.

Own key
DELETE api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/metadata/{key}

Remove one metadata key of a Machine.

Own key
GET api.machines.dev/v1/orgs/{org_slug}/machines

Every Machine of an organization, across its apps.

Own key
GET api.machines.dev/v1/apps/{app_name}/volumes

The volumes of a Fly.io app.

Own key
GET api.machines.dev/v1/apps/{app_name}/volumes/{volume_id}

One volume of a Fly.io app: its size, use and the Machine it is attached to.

Own key
POST api.machines.dev/v1/apps/{app_name}/volumes

Create a volume for a Fly.io app.

Own key
PUT api.machines.dev/v1/apps/{app_name}/volumes/{volume_id}

Change a volume's snapshot settings.

Own key
PUT api.machines.dev/v1/apps/{app_name}/volumes/{volume_id}/extend

Make a volume larger.

Own key
DELETE api.machines.dev/v1/apps/{app_name}/volumes/{volume_id}

Destroy a volume, with its data.

Own key
GET api.machines.dev/v1/apps/{app_name}/volumes/{volume_id}/snapshots

The snapshots of a volume.

Own key
POST api.machines.dev/v1/apps/{app_name}/volumes/{volume_id}/snapshots

Take a snapshot of a volume now.

Own key
GET api.machines.dev/v1/orgs/{org_slug}/volumes

Every volume of an organization, across its apps.

Own key
GET api.machines.dev/v1/apps/{app_name}/secrets

The names of an app's secrets.

Own key
GET api.machines.dev/v1/apps/{app_name}/secrets/{secret_name}

One app secret's digest and dates, not its value.

Own key
DELETE api.machines.dev/v1/apps/{app_name}/secrets/{secret_name}

Delete an app secret.

Own key
GET api.machines.dev/v1/apps/{app_name}/secretkeys

The secret keys of an app: the keys it encrypts and signs with.

Own key
GET api.machines.dev/v1/apps/{app_name}/secretkeys/{secret_name}

One secret key of an app, without the key itself.

Own key
DELETE api.machines.dev/v1/apps/{app_name}/secretkeys/{secret_name}

Delete a secret key of an app.

Own key
GET api.machines.dev/v1/platform/regions

The Fly.io regions, and the one nearest the caller.

Own key
POST api.machines.dev/v1/platform/placements

Where Fly.io would place Machines, and how many fit in each region.

Own key
Showing 60 of 84 operations — type above to search all.

Frequently asked questions

Does connecting Fly.io to Duang cost anything?

No. Connecting your team's own Fly.io account is free on Duang. Credentials are stored with per-team envelope encryption and never sent to AI models.

Why use Duang instead of a local Fly.io MCP server?

A local MCP server requires storing plaintext tokens on every developer laptop and adds dozens of tool definitions to every prompt. Duang serves all 84 Fly.io operations through one remote MCP endpoint with only 4 meta-tools and one-click token revocation.

What happens if my Fly.io token or OAuth connection expires?

Duang pauses the call and returns a reconnect link for a human teammate. It never falls back to another account or charges your wallet.

Related team apps