---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://elaichi.ai/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

# Fly.io MCP connector

The Fly.io connector lets Claude, ChatGPT and other AI assistants look after your Fly.io apps, machines, certificates and IP addresses through plain requests, with each person working inside their own Fly.io access.

Source: https://elaichi.ai/connectors/flyio/

## Facts

| | |
| --- | --- |
| Application | Fly.io |
| Category | Application Development |
| AI tools | 101 |
| Authentication | Connects with an API key |
| Bring your own OAuth app | No |
| MCP endpoint | https://api.elaichi.ai/mcp |
| Works with | Claude, ChatGPT, Perplexity, Grok, Cursor, Microsoft Copilot, any MCP client, and the Elaichi Agent |
| Tools advertised by name | No. Connected tools are never listed one by one, however few there are. The endpoint advertises `search_tools` and `execute_tool` instead |

## What you can ask once Fly.io is connected

- Which Fly.io apps have certificates that are not issued yet?
- Show machine events for the api app since this morning.
- Create a deploy token for the storefront app's CI pipeline.

## Connect Fly.io in Elaichi

This happens once for the organization, before any client is involved.

1. Open Connections, choose Add connection, and pick Fly.io.
2. Optionally set Share with, then press Connect.
3. Paste a Fly.io API key. One person generates a token in Fly.io and pastes it once. Everyone else works through Share with, and never sees it.

Credentials are vaulted and nobody, including the AI, reads them back. The connection becomes a toolbox immediately, so you can curate which Fly.io tools are exposed, rename them, or freeze arguments before anyone points a client at it.

## Fly.io MCP connector for Claude

Endpoint: https://api.elaichi.ai/mcp

1. Open Customize, then Connectors.
2. Press Add.
3. Name it, paste the MCP server URL, then Continue.
4. Sign in and approve.

On Team and Enterprise, an Owner adds it once. Everyone else turns it on for themselves.

## Fly.io MCP connector for Claude Code

Endpoint: https://api.elaichi.ai/mcp

1. Copy the `claude mcp add` command and run it in a terminal.
2. Start Claude Code and run `/mcp`.
3. Pick elaichi, then sign in and approve in the browser.

```bash
claude mcp add --transport http elaichi --scope user https://api.elaichi.ai/mcp
```

Use `--scope project` instead to share it with the repository through `.mcp.json`.

## Fly.io MCP connector for ChatGPT

Endpoint: https://api.elaichi.ai/mcp

1. Open Plugins, then press the + button.
2. Name it and paste the endpoint into Server URL.
3. Leave Authentication on OAuth, then tick the risk acknowledgement.
4. Press Create, then sign in and approve.

Works on the web. The plugin directory lives at chatgpt.com/plugins.

## Fly.io MCP connector for Perplexity

Endpoint: https://api.elaichi.ai/mcp

1. In the left sidebar, click Plugins, then Add custom, then Add MCP connector, then Remote.
2. Name it Elaichi.
3. Paste the endpoint as the MCP server URL.
4. Open Advanced. Pick OAuth, so you can sign in, and Streamable HTTP, which is how Elaichi talks. Leave the client ID and secret empty.
5. Tick the box about custom connectors, then click Add.
6. Click the Elaichi card. Sign in to Elaichi and approve.

Needs a paid Perplexity plan. In an organization, an admin may first need to allow custom connectors.

[Setup guide for Perplexity](/blog/connect-elaichi-to-perplexity/)

## Fly.io MCP connector for Grok

Endpoint: https://api.elaichi.ai/mcp

On grok.com:

1. Go to grok.com/connectors and click New Connector.
2. Choose Custom.
3. Paste the endpoint as the MCP server URL.
4. Sign in to Elaichi and approve.

In Grok Bot:

1. Open Connect apps and click Add a custom connector.
2. Name it Elaichi.
3. Set the type to Remote HTTPS.
4. Paste the endpoint as the Server URL.
5. Leave Client ID empty.
6. Click Add plugin. Then click Authorize, sign in to Elaichi and approve.

On Grok Business and Enterprise, a team admin adds the connector in console.x.ai first.

[Setup guide for Grok](/blog/connect-elaichi-to-grok/)

## Fly.io MCP connector for Cursor

Endpoint: https://api.elaichi.ai/mcp

1. Open `~/.cursor/mcp.json`.
2. Add the endpoint under `mcpServers`.
3. Reload Cursor, then sign in and approve.

Set up per machine, so repeat it on each computer you work from.

## Fly.io MCP connector for Microsoft Copilot

Endpoint: https://api.elaichi.ai/mcp

1. In Copilot Studio, open your agent, then Tools, Add a tool, New tool and Model Context Protocol.
2. Paste the endpoint into Server URL, choose OAuth 2.0, then Dynamic discovery, and press Create.
3. Create a new connection, sign in and approve, then press Add to agent.
4. Under Channels, open Teams and Microsoft Copilot and make the agent available in Microsoft Copilot.

Microsoft Copilot was called Microsoft 365 Copilot. Keep the tool on end-user credentials, so each person signs in as themselves.

## Connect Fly.io to any MCP client

Endpoint: https://api.elaichi.ai/mcp

1. Add the endpoint as a remote MCP server.
2. Sign in and approve.

The Elaichi Agent already has these tools, with nothing to set up.

## What the consent screen decides

Every scope the client asks for starts ticked except "Delete things", which you tick yourself. Calling a Fly.io tool needs "Use your connected apps". Over MCP there is no trusted place to confirm a write in the moment, so the consent screen is the standing approval rather than a formality. Think hard before granting Use your connected apps, which can also delete in connected apps and cannot be undone.

## What teams do with Fly.io through Elaichi

### Spin up a new app for a project

Engineering. Ask for a new Fly.io app under the right organization and get it created without opening a terminal. Old test apps can be found and cleaned up the same way.

### Hand out a deploy token for CI

Engineering. Create a Fly.io deploy token for one app so a build pipeline can ship releases. Nobody has to share a personal key to get it done.

### Get a custom domain live with HTTPS

Platform. Add a certificate for a new domain on the right app, then check whether it has been issued and is ready. Retired domains can have their certificates removed.

### Assign and tidy up IP addresses

Platform. See which IP addresses each Fly.io app has, assign a new one when a service needs it, and release the ones nobody uses.

### Find out what happened to a machine

On call. Pull the recent events for a machine to see when it started, stopped or restarted. It gives the person on call a timeline before they start guessing.

### Keep machine memory and labels in order

Operations. Review how much memory each machine uses, set a limit, or reclaim memory that is sitting idle. Update the metadata on many machines at once so ownership labels stay accurate.

## Elaichi vs Zapier MCP vs Composio for Fly.io

All three can connect Fly.io to an AI assistant, and all three have admin controls. They differ in where access lives and how you pay.

| What to check | Elaichi | Zapier MCP | Composio |
| --- | --- | --- | --- |
| Where the AI connects | One address for the whole organization. Endpoint: https://api.elaichi.ai/mcp | A server per member, created at sign-in. | An MCP endpoint per team, or an SDK. |
| Control over Fly.io tools | Allow or restrict single Fly.io tools, per role or user. | App and action restrictions on the account. | Role permissions, down to the action. |
| Record of calls | One audit entry per Fly.io call. | A History tab of tool calls. | A log of every tool call. |
| Single sign-on | SAML or OIDC, plus SCIM, on Gold. | SAML on Enterprise. | SAML and OIDC on Enterprise. |
| Price | Free for one person; $15 per user per month on Gold. | 2 tasks per successful call. | Billed per tool call. |

Sources: Zapier MCP [docs](https://docs.zapier.com/mcp/get-started/quickstart), [security](https://docs.zapier.com/mcp/manage/security), [usage](https://docs.zapier.com/mcp/features/usage); Composio [docs](https://docs.composio.dev/docs/composio-connect), [gateway](https://composio.dev/mcp-gateway), [enterprise](https://composio.dev/enterprise), [pricing](https://composio.dev/pricing). Checked September 2026.

Longer take: [Zapier MCP alternative](/blog/zapier-mcp-alternative/) and [whether you need an MCP gateway on your own](/blog/when-you-dont-need-an-mcp-gateway/).

## Frequently asked questions

### How do I connect Fly.io to Claude?

First connect Fly.io in Elaichi by pasting in a Fly.io API key, which is the only sign-in step Fly.io needs. Then open Claude, go to Customize, then Connectors, then Add, and paste https://api.elaichi.ai/mcp. There is no OAuth application to register and no client ID or secret to generate.

### Does Fly.io work with ChatGPT, Perplexity, Grok and Cursor as well as Claude?

Yes. Once Fly.io is connected in Elaichi, the same address, https://api.elaichi.ai/mcp, works in Claude, ChatGPT, Perplexity, Grok, Cursor, Microsoft Copilot, any other MCP client and the Elaichi Agent. You connect Fly.io once, not once per assistant.

### What can an AI agent actually do with my Fly.io apps?

An agent connected to Fly.io can list and create apps, add and check certificates for custom domains, assign IP addresses, create deploy tokens, read machine events, and adjust machine memory and metadata. Short, concrete asks like "check the certificate for shop.example.com" tend to work better than long sentences.

### Does connecting Fly.io give the AI access to every app in my organization?

No. A Fly.io connection can only reach what the API key behind it can reach, so the agent works inside that person's own Fly.io access. Elaichi can narrow that access further with restrictions, and it never widens it.

### Can my team share one Fly.io connection?

Yes. One person connects Fly.io in Elaichi and shares the connection with a team, and nobody else ever sees or handles the API key. Each person still signs in to Elaichi as themselves, so the audit log names who did what in Fly.io.

### Can I stop an agent from deleting or changing things in Fly.io?

Yes. In Elaichi you can restrict individual Fly.io actions, such as deleting an app or removing a certificate, on a role or on one person. A restricted action still appears in Elaichi's tool search, flagged as restricted, but no client can run it, whatever the prompt says.

### What happens to a Fly.io connection when someone leaves?

Offboarding a person in Elaichi ends their access to Fly.io at once. A shared Fly.io connection keeps working for everyone else it was shared with, and disconnecting Fly.io once in Elaichi removes it from every client.

### Does the Fly.io MCP connector work with Gemini, Codex, Claude Code or other MCP clients?

Yes. Fly.io is reached over the same MCP endpoint every client uses, so anything that speaks MCP can call it — Gemini, Codex, Claude Code, Windsurf, Cline, Zed and OpenCode among them — alongside Claude, ChatGPT, Perplexity, Grok, Cursor, Microsoft Copilot, and the Elaichi Agent. The tools on offer and the access behind them are identical whichever client asks. Only the setup screen differs.

### Is Elaichi an alternative to Zapier MCP for Fly.io?

Yes. Both let Claude, ChatGPT or Cursor use Fly.io. Zapier MCP fits a team that already automates in Zapier, since each person signs in and acts as themselves in that account. Elaichi fits when IT wants one address for the whole company, per-tool rules by role, and a record of every Fly.io call.

### How is Elaichi different from Composio for Fly.io?

Composio gives AI agents tools and sign-in handling across 1,000+ apps, for developers building agents or people using an assistant, billed per tool call. Elaichi gives a company's own people governed access to Fly.io: one address, restrictions per role or user, and $15 per user per month. Both have role permissions and a log of every call.

## All 101 Fly.io tools

Every tool below is callable through https://api.elaichi.ai/mcp once Fly.io is connected, subject to the toolbox it is in and the restrictions on the caller.

- **Create a Fly.io app** (Create). Create App. Create an app with the specified details in the request body. Returns: created_at, id. Required: name, org_slug.
- **Delete a Fly.io app by ID** (Delete). Destroy App. Delete an app by its name. The id is the app name. Required: id.
- **Get single Fly.io app by ID** (Get). Get App. Retrieve details about a specific app by its name. The id is the app name. Returns: id, internal_numeric_id, machine_count, name, network, network_cidr, organization, status, volume_count. Required: id.
- **List all Fly.io apps** (List). List Apps. List all apps with the ability to filter by organization slug. Pages through every result. Returns: id, internal_numeric_id, machine_count, name, network, network_cidr, organization, status, volume_count. Required: org_slug.
- **Fly.io certificates check** (Action). Check DNS and re-validate certificate. Returns: acme_requested, certificates, configured, dns_provider, dns_records, dns_requirements, hostname, rate_limited_until, status, validation, validation_errors. Required: app_name, hostname.
- **Fly.io certificates create acme** (Create). Request ACME certificate. Certificates are billed per hostname beyond the free allowance. Returns: acme_requested, certificates, configured, dns_provider, dns_requirements, hostname, rate_limited_until, status, validation, validation_errors. Required: app_name, hostname.
- **Fly.io certificates create custom** (Create). Upload custom certificate. Certificates are billed per hostname beyond the free allowance. Returns: acme_requested, certificates, configured, dns_provider, dns_requirements, hostname, rate_limited_until, status, validation, validation_errors. Required: app_name, fullchain, hostname, private_key.
- **Delete a Fly.io certificate by ID** (Delete). Remove certificate. The id is the hostname. Required: id, app_name.
- **Fly.io certificates delete acme** (Delete). Remove ACME certificates. Returns: acme_requested, certificates, configured, dns_provider, dns_requirements, hostname, rate_limited_until, status, validation, validation_errors. Required: app_name, hostname.
- **Fly.io certificates delete custom** (Delete). Remove custom certificate. Returns: acme_requested, certificates, configured, dns_provider, dns_requirements, hostname, rate_limited_until, status, validation, validation_errors, warning. Required: app_name, hostname.
- **Get single Fly.io certificate by ID** (Get). Get certificate details. The id is the hostname. Returns: acme_requested, certificates, configured, dns_provider, dns_requirements, hostname, rate_limited_until, status, validation, validation_errors. Required: id, app_name.
- **List all Fly.io certificates** (List). List certificates for app. Pages through every result. Returns: acme_alpn_configured, acme_dns_configured, acme_http_configured, acme_requested, configured, created_at, dns_provider, has_custom_certificate, has_fly_certificate, hostname, ownership_txt_configured, status, updated_at. Required: app_name.
- **Create a Fly.io deploy token** (Create). Create App deploy token. Returns: token. Required: app_name.
- **Create a Fly.io IP assignment** (Create). Assign new IP address to app. A dedicated IPv4 address is billed monthly; shared IPv4 and IPv6 are free. Returns: created_at, egress, ip, ip_pair, network, region, service_name, shared. Required: app_name, type.
- **Delete a Fly.io IP assignment by ID** (Delete). Remove IP assignment from app. The id is the ip. Required: id, app_name.
- **List all Fly.io IP assignments** (List). List IP assignments for app. Returns: created_at, egress, ip, network, region, service_name, shared. Required: app_name.
- **List all Fly.io machine events** (List). List Events. List all events associated with a specific Machine within an app. Returns: id, request, source, status, timestamp, type. Required: app_name, machine_id.
- **Create a Fly.io machine lease** (Create). Create Lease. Create a lease for a specific Machine within an app using the details provided in the request body. Machine leases can be used to obtain an exclusive lock on modifying a Machine. Returns: description, expires_at, nonce, owner, version. Required: app_name, machine_id.
- **List all Fly.io machine leases** (List). Get Lease. Retrieve the current lease of a specific Machine within an app. Machine leases can be used to obtain an exclusive lock on modifying a Machine. Returns: data, status. Required: app_name, machine_id.
- **Fly.io machine leases release** (Action). Release Lease. Release the lease of a specific Machine within an app. Machine leases can be used to obtain an exclusive lock on modifying a Machine. Returns: ok. Required: app_name, machine_id, lease_nonce.
- **List all Fly.io machine memory** (List). Get Machine Memory. Get the current memory limit of a started Firecracker Machine, and how far it can be raised. Returns: available_mb, limit_mb. Required: app_name, machine_id.
- **Fly.io machine memory reclaim** (Action). Reclaim Machine Memory. Return unused memory of a started Firecracker Machine to the host. The memory balloon is inflated by `amount_mb` for a few seconds and then deflated again, so the Machine's memory limit does not change. + Fails with 409 while the Machine has a lease, even when the lease nonce is passed. The Machine must be started (412 otherwise). Returns: actual_mb. Required: app_name, machine_id.
- **Fly.io machine memory set limit** (Set). Set Machine Memory Limit. Set the memory limit of a started Firecracker Machine by resizing its memory balloon. The limit lasts until the Machine stops or is updated. + Fails with 409 while the Machine has a lease, even when the lease nonce is passed. Returns: available_mb, limit_mb. Required: app_name, machine_id.
- **Fly.io machine metadata bulk update** (Update). Update Metadata (set/remove multiple keys). Update multiple metadata keys at once. Keys that are not in the request are left untouched. Null values and empty strings remove keys. + If `machine_version` is provided and no longer matches the current machine version, returns 412 Precondition Failed. Required: app_name, machine_id.
- **Delete a Fly.io machine metadatum by ID** (Delete). Delete Metadata. Delete metadata for a specific Machine within an app by providing a metadata key. The id is the key. Required: id, app_name, machine_id.
- **Get single Fly.io machine metadatum by ID** (Get). Get Metadata Value. Get the value of a specific metadata key. The id is the key. Returns: value. Required: id, app_name, machine_id.
- **List all Fly.io machine metadata** (List). Get Metadata. Retrieve metadata for a specific Machine within an app. Required: app_name, machine_id.
- **Update a Fly.io machine metadatum by ID** (Update). Upsert Metadata Key. Update metadata for a specific machine within an app by providing a metadata key. The id is the key. Required: id, app_name, machine_id.
- **List all Fly.io machine processes** (List). List Processes. List all processes running on a specific Machine within an app, with optional sorting parameters. The Machine must be started. Returns: command, cpu, directory, listen_sockets, pid, rss, rtime, stime. Required: app_name, machine_id.
- **List all Fly.io machine versions** (List). List Versions. List all versions of the configuration for a specific Machine within an app. Returns: user_config, version. Required: app_name, machine_id.
- **Fly.io machines cordon** (Action). Cordon Machine. “Cordoning” a Machine refers to disabling its services, so the Fly Proxy won’t route requests to it. In flyctl this is used by blue/green deployments; one set of Machines is started up with services disabled, and when they are all healthy, the services are enabled on the new Machines and disabled on the old ones. Returns: ok. Required: app_name, machine_id.
- **Create a Fly.io machine** (Create). Create Machine. Create a Machine within a specific app using the details provided in the request body. Starts a billed Fly Machine (per-second compute; a stopped Machine still bills its rootfs). Returns: checks, config, cordoned, created_at, events, host_features, host_status, id, image_ref, incomplete_config, instance_id, lease, name, nonce, private_ip, region, state, updated_at, version. Required: app_name.
- **Delete a Fly.io machine by ID** (Delete). Destroy Machine. Delete a specific Machine within an app by Machine ID. The id is the machine id. Returns: ok. Required: id, app_name.
- **Fly.io machines exec** (Action). Execute Command. Execute a command on a specific Machine and return a JSON response containing stdout, stderr, exit_code, and exit_signal. Returns: exit_code, exit_signal, stderr, stdout. Required: app_name, machine_id.
- **Get single Fly.io machine by ID** (Get). Get Machine. Get details of a specific Machine within an app by the Machine ID. The id is the machine id. Returns: checks, config, cordoned, created_at, events, host_features, host_status, id, image_ref, incomplete_config, instance_id, lease, name, nonce, private_ip, region, state, updated_at, version. Required: id, app_name.
- **List all Fly.io machines** (List). List Machines. List all Machines associated with a specific app, with optional filters for including deleted Machines and filtering by region. Pages through every result. Returns: checks, config, cordoned, created_at, events, host_features, host_status, id, image_ref, incomplete_config, instance_id, lease, name, nonce, private_ip, region, state, updated_at, version. Required: app_name.
- **Fly.io machines restart** (Restart). Restart Machine. Restart a specific Machine within an app, with an optional timeout parameter. Returns: ok. Required: app_name, machine_id.
- **Fly.io machines signal** (Action). Signal Machine. Send a signal to a specific Machine within an app using the details provided in the request body. Returns: ok. Required: app_name, machine_id.
- **Fly.io machines start** (Start). Start Machine. Start a specific Machine within an app. Returns: migrated, new_host, previous_state. Required: app_name, machine_id.
- **Fly.io machines stop** (Stop). Stop Machine. Stop a specific Machine within an app, with an optional request body to specify signal and timeout. Returns: ok. Required: app_name, machine_id.
- **Fly.io machines suspend** (Suspend). Suspend Machine. Suspend a specific Machine within an app. The next start operation will attempt (but is not guaranteed) to resume the Machine from a snapshot taken at suspension time, rather than performing a cold boot. Returns: ok. Required: app_name, machine_id.
- **Fly.io machines uncordon** (Action). Uncordon Machine. “Cordoning” a Machine refers to disabling its services, so the Fly Proxy won’t route requests to it. In flyctl this is used by blue/green deployments; one set of Machines is started up with services disabled, and when they are all healthy, the services are enabled on the new Machines and disabled on the old ones. Returns: ok. Required: app_name, machine_id.
- **Update a Fly.io machine by ID** (Update). Update Machine. Update a Machine's configuration using the details provided in the request body. The id is the machine id. Replaces the Machine's whole config; the Machine restarts. Returns: checks, config, cordoned, created_at, events, host_features, host_status, id, image_ref, incomplete_config, instance_id, lease, name, nonce, private_ip, region, state, updated_at, version. Required: id, app_name.
- **Fly.io machines wait** (Action). Wait for State. Wait for a Machine to reach a specific state. Specify the desired state with the state parameter. See the [Machine states table](https://fly.io/docs/machines/working-with-machines/#machine-states) for a list of possible states. The default for this parameter is `started`. Returns: event_id, ok, state, version. Required: app_name, machine_id.
- **List all Fly.io org machines** (List). List All Machines. List all Machines associated with a specific organization. Machines are returned region by region, and sorted by their `updated_at` timestamps, oldest to newest, within each region. The list as a whole is therefore not sorted by `updated_at`. Pass `region` (codes from regions.list): in the 2026-11-30 live test Fly.io answered 400 "misfired replay" to every call without one once the organization had a Machine, and answered normally with one. Pages through every result. Returns: app_name, config, created_at, id, name, private_ip, region, state, updated_at, version. Required: org_slug.
- **List all Fly.io org volumes** (List). List All Volumes. List all volumes for an organization with optional filters and cursor-based pagination. Pages through every result. Returns: app_name, attached_alloc_id, attached_machine_id, auto_backup_enabled, block_size, blocks, blocks_avail, blocks_free, bytes_total, bytes_used, created_at, encrypted, fstype, host_features, host_status, id, name, region, required_host_features, size_gb, snapshot_retention, state, type, updated_at, zone. Required: org_slug.
- **Fly.io placements lookup** (Action). Get Placements. Simulates placing the specified number of machines into regions, depending on available capacity and limits. Returns: Concurrency, Count, Region. Required: org_slug.
- **List all Fly.io postgres active queries** (List). List Active Queries. List active queries in the supplied database. The database query parameter is required and must not be empty or whitespace-only. Returns full query text and durations in seconds. Returns: application_name, client, database, duration_seconds, pid, query, state, state_duration_seconds, user, wait_event, wait_event_type. Required: postgres_cluster_id, database.
- **Create a Fly.io postgres attachment** (Create). Attach Cluster to App. Record an attachment between a cluster and a Fly app. This endpoint records the relationship but does not set DATABASE_URL or other app secrets; configure the connection string separately. The attachment is created if it does not already exist. Returns: app_name, attached_at, postgres_cluster_id. Required: postgres_cluster_id, app_name.
- **Delete a Fly.io postgres attachment by ID** (Delete). Detach Cluster from App. Detach a specific cluster from a Fly app. The id is the app name. Required: id, postgres_cluster_id.
- ...and 51 more tools. Call `tools/list` via the MCP endpoint, or see the full catalog via the API, for the complete set.
