每台设备存放明文密钥
- 原始 Fly.io Token 被复制到本地配置文件
- 每位成员在每台电脑都需要重复安装配置
- 每次对话都要注入数十个工具 Schema 占满上下文
一次连接,随时一键吊销
- 每团队独立信封加密保存凭证
- 本地磁盘与大模型提示词中零明文密钥
- 全团队共享同一个远程 MCP 端点
set up https://duang.ai/SKILL.md
可以让智能体这样提问
“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全部操作(84)
| 操作 | 价格 |
|---|---|
GET api.machines.dev/v1/appsThe apps of a Fly.io organization. | 自备 Key |
GET api.machines.dev/v1/apps/{app_name}One Fly.io app: its status and its organization. | 自备 Key |
POST api.machines.dev/v1/appsCreate a Fly.io app. | 自备 Key |
DELETE api.machines.dev/v1/apps/{app_name}Destroy a Fly.io app, with its Machines and volumes. | 自备 Key |
GET api.machines.dev/v1/apps/{app_name}/certificatesThe TLS certificates of an app's hostnames. | 自备 Key |
GET api.machines.dev/v1/apps/{app_name}/certificates/{hostname}One hostname's certificate: its status and the DNS records it needs. | 自备 Key |
POST api.machines.dev/v1/apps/{app_name}/certificates/acmeAsk for a Let's Encrypt certificate for a hostname of an app. | 自备 Key |
POST api.machines.dev/v1/apps/{app_name}/certificates/{hostname}/checkCheck a hostname's DNS again and try to validate its certificate. | 自备 Key |
DELETE api.machines.dev/v1/apps/{app_name}/certificates/{hostname}Remove a hostname and its certificates from an app. | 自备 Key |
DELETE api.machines.dev/v1/apps/{app_name}/certificates/{hostname}/acmeRemove a hostname's ACME certificate and keep the hostname. | 自备 Key |
DELETE api.machines.dev/v1/apps/{app_name}/certificates/{hostname}/customRemove a hostname's custom certificate and keep the hostname. | 自备 Key |
GET api.machines.dev/v1/apps/{app_name}/ip_assignmentsThe IP addresses assigned to an app. | 自备 Key |
POST api.machines.dev/v1/apps/{app_name}/ip_assignmentsAssign a new IP address to an app. | 自备 Key |
DELETE api.machines.dev/v1/apps/{app_name}/ip_assignments/{ip}Release an IP address of an app. | 自备 Key |
GET api.machines.dev/v1/apps/{app_name}/machinesThe Machines of a Fly.io app, and what state each is in. | 自备 Key |
GET api.machines.dev/v1/apps/{app_name}/machines/{machine_id}One Machine of a Fly.io app: its state, configuration and events. | 自备 Key |
POST api.machines.dev/v1/apps/{app_name}/machinesCreate a Machine in a Fly.io app, and start it. | 自备 Key |
POST api.machines.dev/v1/apps/{app_name}/machines/{machine_id}Replace a Machine's configuration, and restart it with it. | 自备 Key |
DELETE api.machines.dev/v1/apps/{app_name}/machines/{machine_id}Destroy a Machine. | 自备 Key |
POST api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/startStart a stopped or suspended Machine. | 自备 Key |
POST api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/stopStop a running Machine. | 自备 Key |
POST api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/restartRestart a Machine. | 自备 Key |
POST api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/suspendSuspend a Machine, keeping its memory. | 自备 Key |
POST api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/signalSend a Unix signal to a Machine's main process. | 自备 Key |
POST api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/cordonCordon a Machine: Fly's proxy stops sending it traffic. | 自备 Key |
POST api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/uncordonUncordon a Machine: Fly's proxy sends it traffic again. | 自备 Key |
GET api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/waitWait for a Machine to reach a state. | 自备 Key |
GET api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/eventsThe recent events of a Machine: launches, starts, exits and so on. | 自备 Key |
GET api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/versionsThe versions of a Machine's configuration. | 自备 Key |
GET api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/psThe processes running in a Machine. | 自备 Key |
POST api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/execRun a command in a started Machine, and return its output. | 自备 Key |
GET api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/leaseThe lease held on a Machine, if any. | 自备 Key |
POST api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/leaseLock a Machine against changes, for a while. | 自备 Key |
DELETE api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/leaseRelease the lease on a Machine. | 自备 Key |
GET api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/memoryA Machine's memory limit and what is available above it. | 自备 Key |
PUT api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/memorySet the memory limit of a running Machine. | 自备 Key |
POST api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/memory/reclaimAsk a Machine to give back memory. | 自备 Key |
GET api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/metadataA Machine's metadata: the key-value pairs set on it. | 自备 Key |
PATCH api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/metadataSet or remove several metadata keys of a Machine. | 自备 Key |
GET api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/metadata/{key}The value of one metadata key of a Machine. | 自备 Key |
POST api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/metadata/{key}Set one metadata key of a Machine. | 自备 Key |
DELETE api.machines.dev/v1/apps/{app_name}/machines/{machine_id}/metadata/{key}Remove one metadata key of a Machine. | 自备 Key |
GET api.machines.dev/v1/orgs/{org_slug}/machinesEvery Machine of an organization, across its apps. | 自备 Key |
GET api.machines.dev/v1/apps/{app_name}/volumesThe volumes of a Fly.io app. | 自备 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. | 自备 Key |
POST api.machines.dev/v1/apps/{app_name}/volumesCreate a volume for a Fly.io app. | 自备 Key |
PUT api.machines.dev/v1/apps/{app_name}/volumes/{volume_id}Change a volume's snapshot settings. | 自备 Key |
PUT api.machines.dev/v1/apps/{app_name}/volumes/{volume_id}/extendMake a volume larger. | 自备 Key |
DELETE api.machines.dev/v1/apps/{app_name}/volumes/{volume_id}Destroy a volume, with its data. | 自备 Key |
GET api.machines.dev/v1/apps/{app_name}/volumes/{volume_id}/snapshotsThe snapshots of a volume. | 自备 Key |
POST api.machines.dev/v1/apps/{app_name}/volumes/{volume_id}/snapshotsTake a snapshot of a volume now. | 自备 Key |
GET api.machines.dev/v1/orgs/{org_slug}/volumesEvery volume of an organization, across its apps. | 自备 Key |
GET api.machines.dev/v1/apps/{app_name}/secretsThe names of an app's secrets. | 自备 Key |
GET api.machines.dev/v1/apps/{app_name}/secrets/{secret_name}One app secret's digest and dates, not its value. | 自备 Key |
DELETE api.machines.dev/v1/apps/{app_name}/secrets/{secret_name}Delete an app secret. | 自备 Key |
GET api.machines.dev/v1/apps/{app_name}/secretkeysThe secret keys of an app: the keys it encrypts and signs with. | 自备 Key |
GET api.machines.dev/v1/apps/{app_name}/secretkeys/{secret_name}One secret key of an app, without the key itself. | 自备 Key |
DELETE api.machines.dev/v1/apps/{app_name}/secretkeys/{secret_name}Delete a secret key of an app. | 自备 Key |
GET api.machines.dev/v1/platform/regionsThe Fly.io regions, and the one nearest the caller. | 自备 Key |
POST api.machines.dev/v1/platform/placementsWhere Fly.io would place Machines, and how many fit in each region. | 自备 Key |
常见问题
如何在 Claude Code 或 Cursor 中接入 Fly.io?
通过 Duang 远程 MCP 网关(https://api.duang.ai/mcp)一键连接,即可让 AI Agent 调用 Fly.io 全部 84 个操作,无需本地维护 MCP 插件或明文密钥。
通过 Duang 接入 Fly.io 需要额外付费吗?
团队应用接入永久 $0 平台费。凭证加密封存于团队金库,永不进入模型上下文。
我的 Fly.io 密钥会暴露给大模型吗?
不会。密钥仅在 Duang 服务端出站请求时解密注入,本地配置文件与大模型上下文中均不包含明文密钥。

