
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 分