Fly.io MCP Server with Zero-Key Team Vault
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.
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
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
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-machineOperations (84)
| Operation | Price |
|---|---|
GET api.machines.dev/v1/appsThe 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/appsCreate 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}/certificatesThe 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/acmeAsk for a Let's Encrypt certificate for a hostname of an app. | Own key |
POST api.machines.dev/v1/apps/{app_name}/certificates/{hostname}/checkCheck 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}/acmeRemove a hostname's ACME certificate and keep the hostname. | Own key |
DELETE api.machines.dev/v1/apps/{app_name}/certificates/{hostname}/customRemove a hostname's custom certificate and keep the hostname. | Own key |
GET api.machines.dev/v1/apps/{app_name}/ip_assignmentsThe IP addresses assigned to an app. | Own key |
POST api.machines.dev/v1/apps/{app_name}/ip_assignmentsAssign 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}/machinesThe 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}/machinesCreate 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}/startStart a stopped or suspended Machine. | Own key |
POST api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/stopStop a running Machine. | Own key |
POST api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/restartRestart a Machine. | Own key |
POST api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/suspendSuspend a Machine, keeping its memory. | Own key |
POST api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/signalSend a Unix signal to a Machine's main process. | Own key |
POST api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/cordonCordon a Machine: Fly's proxy stops sending it traffic. | Own key |
POST api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/uncordonUncordon a Machine: Fly's proxy sends it traffic again. | Own key |
GET api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/waitWait for a Machine to reach a state. | Own key |
GET api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/eventsThe recent events of a Machine: launches, starts, exits and so on. | Own key |
GET api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/versionsThe versions of a Machine's configuration. | Own key |
GET api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/psThe processes running in a Machine. | Own key |
POST api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/execRun a command in a started Machine, and return its output. | Own key |
GET api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/leaseThe lease held on a Machine, if any. | Own key |
POST api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/leaseLock a Machine against changes, for a while. | Own key |
DELETE api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/leaseRelease the lease on a Machine. | Own key |
GET api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/memoryA Machine's memory limit and what is available above it. | Own key |
PUT api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/memorySet the memory limit of a running Machine. | Own key |
POST api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/memory/reclaimAsk a Machine to give back memory. | Own key |
GET api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/metadataA Machine's metadata: the key-value pairs set on it. | Own key |
PATCH api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/metadataSet 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}/machinesEvery Machine of an organization, across its apps. | Own key |
GET api.machines.dev/v1/apps/{app_name}/volumesThe 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}/volumesCreate 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}/extendMake 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}/snapshotsThe snapshots of a volume. | Own key |
POST api.machines.dev/v1/apps/{app_name}/volumes/{volume_id}/snapshotsTake a snapshot of a volume now. | Own key |
GET api.machines.dev/v1/orgs/{org_slug}/volumesEvery volume of an organization, across its apps. | Own key |
GET api.machines.dev/v1/apps/{app_name}/secretsThe 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}/secretkeysThe 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/regionsThe Fly.io regions, and the one nearest the caller. | Own key |
POST api.machines.dev/v1/platform/placementsWhere Fly.io would place Machines, and how many fit in each region. | Own key |
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.

