
Fly Io
com.pulsemcpPublished by pulsemcp.comv0.1.7Updated Oct 24, 2026
MCP server for managing Fly.io machines, apps, logs, and Docker images.
Overview
An MCP server that lets an assistant manage Fly.io apps, machines, logs and Docker images through the Fly.io CLI.
- What you can do
- List, inspect, create and delete Fly.io applications, optionally scoped to one app name via FLY_IO_APP_NAME, which disables app management tools and blocks cross-app operations. List, inspect, create, update and delete machines, plus start, stop, restart, suspend and wait for state transitions. Read machine event logs and application logs with region and machine filtering. Execute arbitrary commands on running machines through the machine_exec tool. View the current image, list releases and update an app's image, and push, pull or check images in the Fly.io registry.
- When to use it
- Useful when you want an assistant to operate Fly.io deployments conversationally: inspecting apps and machines, scaling or restarting machines, debugging crashes from logs and events, updating images, or running commands inside a machine. App scoping helps when you want to restrict the assistant to a single application.
- Requirements
- Runs locally via npx, so Node.js 18+ is needed. Requires a Fly.io account and an API token supplied in FLY_IO_API_TOKEN. The Fly.io CLI (fly) must be installed; the Docker CLI is optional and only needed for registry tools. Optional variables: FLY_IO_APP_NAME, ENABLED_TOOLGROUPS, SKIP_HEALTH_CHECKS, DISABLE_DOCKER_CLI_TOOLS.
Installation
In SourceWeft
- Open Fly Io in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
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
Source: experimental/fly-io/README.md at commit 0ed34de
Tools
0Version history
1- v0.1.7LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts