
Fly Io
com.pulsemcp由 pulsemcp.com 发布v0.1.7更新于 Oct 24, 2026
MCP server for managing Fly.io machines, apps, logs, and Docker images.
概览
一个 MCP 服务器,让助手通过 Fly.io CLI 管理 Fly.io 应用、机器、日志和 Docker 镜像。
- 可以做什么
- 列出、查看、创建和删除 Fly.io 应用;可通过 FLY_IO_APP_NAME 限定到单个应用,此时应用管理工具被禁用且跨应用操作被阻止。列出、查看、创建、更新和删除机器,并可启动、停止、重启、挂起机器以及等待状态转换。读取机器事件日志和应用日志,支持按区域和机器过滤。通过 machine_exec 工具在运行中的机器上执行任意命令。查看当前镜像、列出发布记录并更新应用镜像,以及向 Fly.io 镜像仓库推送、拉取或检查镜像。
- 适用场景
- 适合希望用对话方式操作 Fly.io 部署的场景:查看应用和机器、扩缩容或重启机器、通过日志和事件排查崩溃、更新镜像,或在机器内执行命令。当需要把助手限制在单个应用时,应用限定模式很有用。
- 运行要求
- 通过 npx 在本地运行,需要 Node.js 18+。需要 Fly.io 账号,并在 FLY_IO_API_TOKEN 中提供 API 令牌。必须安装 Fly.io CLI(fly);Docker CLI 为可选项,仅镜像仓库工具需要。可选变量:FLY_IO_APP_NAME、ENABLED_TOOLGROUPS、SKIP_HEALTH_CHECKS、DISABLE_DOCKER_CLI_TOOLS。
安装
在 SourceWeft 中
- 打开 控制台中的 Fly Io,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Fly.io MCP Server
MCP server for managing Fly.io machines and applications. This server provides tools for CRUD operations on Fly.io apps and machines (VMs).
Highlights
- Manage Fly.io applications and machines via MCP
- Full CRUD operations for apps and machines
- Start, stop, restart, and suspend machines
- Get machine event logs for debugging
- Wait for machine state transitions
- Deploy Docker images to Fly.io
- Retrieve application logs with region and machine filtering
- Execute commands on running machines
- Manage Docker images - view current image, list releases, update to new versions
- Push/pull images to Fly.io registry - interact with registry.fly.io directly
- Tool grouping for permission-based access control
- Health checks for API credential and CLI tool validation
Capabilities
Tools
Security Considerations
The machine_exec tool allows executing arbitrary commands on Fly.io machines. This is a powerful capability that should be used with caution:
- Consider using
ENABLED_TOOLGROUPS="readonly"orENABLED_TOOLGROUPS="readonly,write"to disable administrative tools includingmachine_exec - The server requires the
flyCLI to be installed, which means it has access to execute shell commands - All operations are authenticated via your
FLY_IO_API_TOKEN
Tool Groups
Control which tools are available via the ENABLED_TOOLGROUPS environment variable. Two types of groups are supported and can be combined:
Permission Groups (what operations are allowed)
Feature Groups (what features are enabled)
Examples:
ENABLED_TOOLGROUPS="readonly"- Only read operations (all features)ENABLED_TOOLGROUPS="readonly,write"- Read and write, no delete (all features)ENABLED_TOOLGROUPS="machines,logs"- All permissions, only machines and logs featuresENABLED_TOOLGROUPS="readonly,machines"- Read-only access to machines only- Not set - All tools enabled (default)
App Scoping
When FLY_IO_APP_NAME is set, the server operates in "scoped mode":
- App management tools are disabled:
list_apps,get_app,create_app,delete_appare not available - Machine tools are restricted: All machine operations only work on the configured app
- app_name becomes optional: Machine tools will automatically use the scoped app
- Cross-app operations are blocked: Attempting to operate on a different app returns an error
This is useful for:
- Restricting access to a single application
- Simplifying tool usage (no need to specify app_name)
- Preventing accidental operations on wrong apps
Quick Start
Prerequisites
- A Fly.io account - Sign up at fly.io
- A Fly.io API token - Create one here
- Fly.io CLI (
fly) installed - Install instructions - Docker CLI installed (optional) - Required for registry tools (
push_image,pull_image,check_registry_image) - Node.js 18+ installed
Configuration
Environment Variables
Claude Desktop Configuration
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
With app scoping (restricts to a single app):
Restart Claude Desktop and you should be ready to go!
Usage Examples
List all apps
Create a new app and deploy a machine
Scale machines
Update a deployment
Debug a crashed machine
Restart a stuck machine
View application logs
Execute a command on a machine
Check current image version
List deployment history
Update to a new image
Push a local image to Fly.io registry
Check if an image exists in the registry
Development
Setup
Running in Development Mode
Testing
Linting and Formatting
Architecture
This server uses the Fly.io CLI (fly) for all operations instead of the REST API directly. This approach:
- Ensures consistent behavior across all tools
- Enables CLI-only features like logs and command execution
- Simplifies authentication (uses
FLY_API_TOKENenvironment variable)
Rate Limits
The Fly.io API enforces rate limiting (applied by the CLI):
- General: 1 request/second/action (burst: 3 req/s)
- Get Machine: 5 req/s (burst: 10 req/s)
- Delete App: 100/minute
Project Structure
License
MIT
来源:experimental/fly-io/README.md,提交 0ed34de
工具
0版本历史
1- v0.1.7最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分