productivity
Fly.io MCP, CLI, and Lua Integration for AI Agents
Fly.io integration docs for AI agents: MCP gateway setup, Fly.io CLI commands, Lua API reference, credentials, and function schemas.
7 functions 6 read 1 write Bearer token auth
Fly.io for agents
Credentials can be configured manually in web or CLI hosts.
Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.
Machine-Readable Metadata
- integration_slug
fly-io- route_slug
fly-io- package
fly-io- auth_strategy
bearer_tokenBearer token- cli_setup_supported
true- cli_runtime_supported
true- mcp_gateway_supported
true- lua_supported
true- supports_multi_account
true
Quick Links
Lua APIAgent-facing namespace and function reference. Fly.io CLIHeadless setup and direct function calls. Fly.io MCPMCP gateway setup for external clients. Submit feedbackReport missing tools, auth problems, wrong docs, or runtime issues. ContributeAdd tools or improve metadata in the integrations repo.
Fly.io MCP Client Matrix
Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Fly.io.
Claude Code Fly.io MCP setup for Claude Code. Cursor Fly.io MCP setup for Cursor. Codex Fly.io MCP setup for Codex. OpenAI Agents Fly.io MCP setup for OpenAI Agents SDK. Claude Agent SDK Fly.io MCP setup for Claude Agent SDK. Vercel AI SDK Fly.io MCP setup for Vercel AI SDK. LangChain Fly.io MCP setup for LangChain. LangGraph Fly.io MCP setup for LangGraph. CrewAI Fly.io MCP setup for CrewAI. MCP clients Fly.io MCP setup for Generic MCP Clients.
Fly.io CLI Matrix
Use these pages for direct Fly.io CLI workflows in scripts, CI, cron, and agent wrappers.
CI Fly.io CLI for CI. Cron Jobs Fly.io CLI for cron jobs. Shell Scripts Fly.io CLI for shell scripts. Headless Automation Fly.io CLI for headless automation. Coding Agents Fly.io CLI for coding agents.
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
fly-io.fly_io_list_apps | Read read | 0 | List all Fly.io apps in the organization. Returns app names, IDs, status, and network details. |
fly-io.fly_io_get_app | Read read | 1 | Get details for a specific Fly.io app, including status, network, and machine count. |
fly-io.fly_io_create_app | Write write | 2 | Create a new Fly.io app. Requires an app name and optionally an organization ID. |
fly-io.fly_io_list_machines | Read read | 1 | List all machines for a Fly.io app. Returns machine IDs, state, region, and configuration. |
fly-io.fly_io_get_machine | Read read | 2 | Get details for a specific Fly.io machine, including its state, config, and region. |
fly-io.fly_io_list_volumes | Read read | 1 | List all persistent volumes for a Fly.io app. Returns volume IDs, name, size, and region. |
fly-io.fly_io_get_current_user | Read read | 0 | Get the current authenticated Fly.io user information, including email and account details. |