# dofleet

> dofleet is an open-source MCP server for cloud and infrastructure. MCP server that lets AI agents borrow DigitalOcean droplets that auto-delete on a timer. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Linux, macOS, Windows, API, Self-hosted
- **Repository:** https://github.com/aimanmalib/dofleet
- **MCP Registry name:** io.github.aimanmalib/dofleet
- **Categories:** [cloud and infrastructure](https://ai-powered.com/categories/cloud-and-infrastructure), [agent sandbox](https://ai-powered.com/categories/agent-sandbox)
- **Listing updated:** 2026-11-23

## About

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.

## Features

- **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

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
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.

### Claude Code: Or share it with your project (.mcp.json)

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

### Claude Desktop (claude_desktop_config.json)

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

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

### Cursor (~/.cursor/mcp.json)

```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.

### VS Code (~/.copilot/mcp-config.json)

```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.

### Codex: Add with the CLI (Terminal)

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

### Codex: Or add to config.toml (~/.codex/config.toml)

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

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```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

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

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

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

### Devin Desktop (~/.config/devin/mcp_config.json)

```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.

### Cline (cline_mcp_settings.json)

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

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

### Zed (Zed settings.json)

```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.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "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.

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

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

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

### Kiro (~/.kiro/settings/mcp.json)

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

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

### Other clients (your client's MCP settings (most use this shape))

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

## Tools

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_list` (name suggests: reads): List droplets the agent created.
- `dofleet_create` (name suggests: changes): Create a droplet from an allowed preset with a timer.
- `dofleet_exec` (name suggests: changes): Run a command on a droplet the agent created.
- `dofleet_extend`: Extend the expiry timer of an agent droplet.
- `dofleet_delete` (name suggests: deletes): Delete an agent droplet.
- `dofleet_cost`: Show month-to-date usage and remaining budget.

## 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.

## Alternatives

- [MCP Server Digitalocean](https://ai-powered.com/mcp/mcp-server-digitalocean): MCP Server Digitalocean is an open-source MCP server for cloud and infrastructure.
- [Deploykin](https://ai-powered.com/mcp/deploykin): Deploykin is a freemium MCP server for cloud and infrastructure.
- [SSH Fleet](https://ai-powered.com/mcp/ssh-fleet): SSH Fleet is an open-source MCP server for cloud and infrastructure.
- [fleet](https://ai-powered.com/mcp/fleet): fleet is a free MCP server for developer tools.
- [DigitalOcean](https://ai-powered.com/mcp/digitalocean): DigitalOcean is a paid MCP server for cloud and infrastructure.
- [MCP Sftp Orchestrator](https://ai-powered.com/mcp/mcp-sftp-orchestrator): MCP Sftp Orchestrator is an open-source MCP server for cloud and infrastructure.
- [dFlow](https://ai-powered.com/mcp/dflow): dFlow is an MCP server for cloud and infrastructure.
- [Docker MCP Server](https://ai-powered.com/mcp/docker-mcp-server-2): Docker MCP Server is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/dofleet
