Skip to content
MCP server

dofleet

MCP server that lets AI agents borrow DigitalOcean droplets that auto-delete on a timer

Runs locally

dofleet is an open-source MCP server for cloud and infrastructure. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, Linux, macOS
Runs
Locally
What it can do
Can delete data (1 tool)
Access
Needs a secret key or token
Version
0.1.2

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add dofleet --env DIGITALOCEAN_TOKEN='<DIGITALOCEAN_TOKEN>' -- uvx dofleet

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "dofleet": {
      "command": "uvx",
      "args": [
        "dofleet"
      ],
      "env": {
        "DIGITALOCEAN_TOKEN": "<DIGITALOCEAN_TOKEN>"
      }
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "dofleet": {
      "command": "uvx",
      "args": [
        "dofleet"
      ],
      "env": {
        "DIGITALOCEAN_TOKEN": "<DIGITALOCEAN_TOKEN>"
      }
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "dofleet": {
      "command": "uvx",
      "args": [
        "dofleet"
      ],
      "env": {
        "DIGITALOCEAN_TOKEN": "<DIGITALOCEAN_TOKEN>"
      }
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "dofleet": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "dofleet"
      ],
      "env": {
        "DIGITALOCEAN_TOKEN": "<DIGITALOCEAN_TOKEN>"
      }
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add dofleet --env DIGITALOCEAN_TOKEN='<DIGITALOCEAN_TOKEN>' -- uvx dofleet

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.dofleet]
command = "uvx"
args = ["dofleet"]
env = { DIGITALOCEAN_TOKEN = "<DIGITALOCEAN_TOKEN>" }

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "dofleet": {
      "command": "uvx",
      "args": [
        "dofleet"
      ],
      "env": {
        "DIGITALOCEAN_TOKEN": "<DIGITALOCEAN_TOKEN>"
      }
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "dofleet": {
          "command": "uvx",
          "args": [
            "dofleet"
          ],
          "env": {
            "DIGITALOCEAN_TOKEN": "<DIGITALOCEAN_TOKEN>"
          }
        }
      }
    }

    Or run: gemini mcp add -s user -e DIGITALOCEAN_TOKEN='<DIGITALOCEAN_TOKEN>' dofleet uvx -- dofleet

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "dofleet": {
          "command": "uvx",
          "args": [
            "dofleet"
          ],
          "env": {
            "DIGITALOCEAN_TOKEN": "<DIGITALOCEAN_TOKEN>"
          }
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "dofleet": {
          "command": "uvx",
          "args": [
            "dofleet"
          ],
          "env": {
            "DIGITALOCEAN_TOKEN": "<DIGITALOCEAN_TOKEN>"
          }
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "dofleet": {
          "command": "uvx",
          "args": [
            "dofleet"
          ],
          "env": {
            "DIGITALOCEAN_TOKEN": "<DIGITALOCEAN_TOKEN>"
          }
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "dofleet": {
          "command": "uvx",
          "args": [
            "dofleet"
          ],
          "env": {
            "DIGITALOCEAN_TOKEN": "<DIGITALOCEAN_TOKEN>"
          }
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "dofleet": {
          "command": "uvx",
          "args": [
            "dofleet"
          ],
          "env": {
            "DIGITALOCEAN_TOKEN": "<DIGITALOCEAN_TOKEN>"
          }
        }
      }
    }

    The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "dofleet": {
          "command": "uvx",
          "args": [
            "dofleet"
          ],
          "env": {
            "DIGITALOCEAN_TOKEN": "<DIGITALOCEAN_TOKEN>"
          }
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "dofleet": {
          "command": "uvx",
          "args": [
            "dofleet"
          ],
          "env": {
            "DIGITALOCEAN_TOKEN": "<DIGITALOCEAN_TOKEN>"
          }
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

Configuration

  • DIGITALOCEAN_TOKENDigitalOcean API token. dofleet keeps it; the agent never sees it.Required

About dofleet

Droplets created through dofleet carry an expiry tag, and a reaper removes them when that timer runs out, so short jobs do not leave machines or bills running. Before a batch is created you see its cost, and a monthly budget ceiling blocks new droplets once usage would pass it.

For AI agents, the dofleet mcp command exposes tools to borrow a droplet, run commands on it, extend its timer and hand it back. The operator sets the allowed presets, the longest timer and the number of droplets at once, and dofleet enforces those limits rather than the agent. The DigitalOcean token stays on the operator's machine and is never shown to the agent.

The same package also works as a command-line tool for one-off jobs: run a command on a fresh droplet, copy a folder up, pull results back, and delete the machine afterwards. It suits developers who script builds or tests on temporary cloud hosts and want a hard stop on forgotten servers.

Tools this server provides (6)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 1 of 6 tools deletes data and 2 change data; 2 names don't say.

From the server's own tool labels and tool names; not verified by us.

dofleet_listName suggests: reads
List droplets the agent created.
dofleet_createName suggests: changes
Create a droplet from an allowed preset with a timer.
dofleet_execName suggests: changes
Run a command on a droplet the agent created.
dofleet_extend
Extend the expiry timer of an agent droplet.
dofleet_deleteName suggests: deletes
Delete an agent droplet.
dofleet_cost
Show month-to-date usage and remaining budget.

What it does

Expiry timers and reaper
Each droplet is tagged with its expiry time and deleted once it passes, via local cron or a scheduled DigitalOcean Function.
Monthly budget guard
Creates and extends are refused when they would push month-to-date usage past a configured ceiling.
Policy-limited agent access
Agents can only act on droplets they created, within operator-set presets, timer length and droplet count.
One-command jobs
Boots a droplet, syncs a folder, runs a command with live output, copies results back and deletes the machine.
Cost preview
Shows the estimated price per month and per day before a droplet is created.
Fast baked snapshots
Saves a finished setup as a snapshot so later droplets boot in about 40 seconds.

Good for

  • Letting an AI coding agent test code on a disposable cloud machine
  • Running a one-off build or data job on a temporary server and deleting it afterwards
  • Creating a preview droplet per pull request in GitHub Actions
  • Preventing forgotten test servers from accumulating charges on a DigitalOcean account

Pricing

Open source

Free and MIT licensed; you pay DigitalOcean for the droplets it creates.

dofleet FAQ

Does the AI agent get my DigitalOcean token?

No. The token stays with dofleet on your machine, and the agent only calls its tools.

Can the agent delete droplets I created by hand?

No. The agent only sees droplets it created itself, tagged dofleet-mcp, unless the scope is widened on purpose.

What happens when the monthly budget is reached?

Creates and extends are refused. The reaper can also delete dofleet droplets once usage reaches the ceiling, depending on the budget action set.

How do I install dofleet?

Install with pipx or uv tool from PyPI, then add it to an MCP client such as Claude Code with the dofleet mcp command.

Is dofleet free?

Yes. dofleet is open source, so you can use and self-host it for free.

How do I add dofleet to Claude Code?

Run this command in your terminal: claude mcp add dofleet --env DIGITALOCEAN_TOKEN='<DIGITALOCEAN_TOKEN>' -- uvx dofleet

What are the best alternatives to dofleet?

The closest alternatives to dofleet are MCP Server Digitalocean, Deploykin, SSH Fleet, fleet and DigitalOcean.

Where this comes from

  • Description: written from the project's README and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers