• RUNTIME
  • SHELL
  • LOGS
  • HUMAN

How to run remote diagnostics with your agent

Connect your agent to Fly.io to inspect running machines and run shell commands without leaving your chat client.

Ask AI about this page

Our technology reaches across leading technology and enterprise teams.

  • Amazon
  • NVIDIA
  • Red Hat
  • Fidelity Investments
  • Intuit
  • OLX Brasil
  • Writesonic
  • Artium
  • Trolley
Bunny World Voxel Workspace

Short answer

Can my AI run shell commands on Fly.io?

Yes. Your agent uses the Fly.io Connector to fetch machine details and execute shell commands on active instances. You get real-time runtime data and terminal output directly in your conversation.

Diagnostic outcomes.

Where your troubleshooting lands.

Your agent translates your requests into direct machine actions.

RUNTIME

Live machine state

Your agent pulls current status and configuration data from your Fly.io instances. You see exactly what is running right now.

SHELL

Direct command execution

Your agent runs specific shell commands to check logs or inspect files. You get the terminal output as text.

LOGS

Error identification

Your agent inspects runtime states to find why a process crashed or hung. It surfaces the specific error messages you need.

HUMAN

Manual intervention

Your agent identifies critical failures that require you to manually scale or restart machines via the Fly CLI. You decide when to take destructive action.

The workflow

What your agent does when a diagnostic request arrives.

Your agent moves from inspecting the environment to executing specific troubleshooting steps.

  1. Identify the target

    Your agent looks up the specific machine you want to investigate to ensure it has the right context.

    get_machine
  2. Inspect runtime state

    It pulls the current configuration and status of the machine to see if it's healthy.

    get_machine
  3. Execute shell commands

    Your agent runs the specific command you asked for, like checking a directory or reading a log file.

    exec_machine
  4. Report findings

    Your agent parses the command output and explains the machine state in plain English.

    exec_machine

Vinkius Agentic Execution Platform

State the outcome. Agents take it from there.

You don't have to drive this run by hand. Inside the Vinkius Agentic Execution Platform, agents pick up the task above and carry it to the end: you set the limits, you watch the steps, you keep all decisions.

Run it in Vinkius

Agents carry the task to the end

Agents execute Fly.io tasks from end to end inside the Vinkius Agentic Execution Platform: set the outcome, and the steps run.

Take it to any compatible AI

One connection, any client

Same connection follows you to ChatGPT, Claude, Gemini and any other client you love. Switch whenever you want: your connection, your permissions and your record move with you.

Spaces

One Space per activity

A Space gathers the context, tools and tasks of one activity, so you coordinate several agents at once and follow each execution as it happens.

Limits

Autonomy inside limits you set

Permissions and spending limits are yours to define. Agents halt for your approval on anything sensitive, and you choose how far autonomy goes, step by step or end to end.

Record

All steps, on the record

Each action your agents take lands in a signed audit trail. Results are verified, mistakes are learned from, and an emergency stop is one click away.

Models

Included in your plan

A curated selection of AI models is included in your plan, and you can add your own through BYOK whenever you prefer.

Try it

Copy these to start.

Use these prompts to begin troubleshooting.

Starting points

Replace the machine IDs and commands with your actual Fly.io identifiers.

Fly.io Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_auAQnLXTRcIdjtuSWpWKn2jSCsP8BhIQLnmdG02e/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat, Fly.io capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "flyio-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_auAQnLXTRcIdjtuSWpWKn2jSCsP8BhIQLnmdG02e/mcp"
    }
  }
}
Copy into chat04
  • 01

    Get the status of machine my-app-id-123.

  • 02

    Run 'ls -la' on machine my-app-id-123 to see the current directory contents.

  • 03

    Check the runtime state of my-app-id-123 and tell me if it's running.

  • 04

    Execute 'cat /var/log/app.log' on machine my-app-id-123 to see recent logs.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Fly.io once, then ask.

Link your Fly.io account in one click. Your credentials stay encrypted, and you can immediately start debugging machines through your AI client.

Connect Fly.io to your agent

FAQ

How the diagnostics work

  • 01

    Can your agent delete my Fly.io machines?

    No. The current tools only allow for inspecting machines and executing commands. Your agent cannot delete or destroy resources.

  • 02

    Does your agent have access to my Fly.io API key?

    Your credentials are encrypted and managed by Vinkius. Your agent uses them to perform actions, but it never sees or stores your raw keys.

  • 03

    Can your agent change my machine configuration?

    No. The tools are limited to get_machine and exec_machine. It cannot modify machine settings or scale services.

  • 04

    Can I run any command I want?

    Yes, as long as you provide the command. Your agent uses exec_machine to run the shell commands you specify on the target machine.

  • 05

    How does your agent know which machine to check?

    You must specify the machine ID in your prompt. Your agent then uses get_machine to pull the details for that specific instance.

  • More questions about Fly.io? See everything the Fly.io Connector can do

Building with AI? Ship this whole workflow in your product.

Vinkius Connect is the connectivity layer for AI builders. All the capabilities used on this page, from Fly.io to thousands more, arrive through one SDK, already maintained for you. One Application, unlimited seats, each with their own connectors and credentials, isolated and never exposed to Vinkius. No OAuth flows to write, no tokens to store, no APIs to chase.

Explore Vinkius Connect

TypeScript · Python · Java · Go · C# · PHP · Rust

  • 01

    Your customers bring their own keys.

    Each user connects their own apps and keeps their own credentials. Vinkius only sees the identifier your backend sends.

  • 02

    Whole catalog, kept current.

    Fly.io plus thousands more, maintained and growing daily. No integrations to write, no token storage, no OAuth plumbing.

  • 03

    Any agent, any model.

    Capabilities land as framework-neutral objects, with adapters for OpenAI, Anthropic, Gemini, the Vercel AI SDK, LangChain and more.

Connect Fly.io to Claude, Cursor, ChatGPT & more

From idea to done

See what gets done when the agents take over the busywork

Each workflow on this page runs on the same platform. Connect your tools once, and your agents keep working in any AI you trust.