Metadata-Version: 2.4
Name: mcp-server-digitalocean
Version: 0.1.1
Summary: A Model Context Protocol server for DigitalOcean cloud infrastructure
Author: SOOQ ELASER
License: MIT
License-File: LICENSE
Keywords: cloud,digitalocean,infrastructure,llm,mcp
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.10
Requires-Dist: httpx>=0.27.0
Requires-Dist: mcp>=1.0.0
Requires-Dist: pydantic>=2.0.0
Description-Content-Type: text/markdown

<!-- mcp-name: io.github.truecallerabreham/mcp-server-digitalocean -->

# mcp-server-digitalocean

A [Model Context Protocol](https://modelcontextprotocol.io) server for [DigitalOcean](https://www.digitalocean.com/) cloud infrastructure.

## Features

Manage DigitalOcean resources from any MCP-compatible client:

- **Account**: Get account info and limits
- **Droplets**: List, get, create, and delete Droplets
- **Databases**: List and get managed database clusters
- **Domains**: List, create, and delete domains
- **Regions**: List available datacenter regions
- **Sizes**: List available Droplet sizes with pricing

## Installation

### Using uv (recommended)

```bash
uv tool install mcp-server-digitalocean
```

### Using pip

```bash
pip install mcp-server-digitalocean
```

## Configuration

Set your DigitalOcean API token:

```bash
export DIGITALOCEAN_TOKEN="dop_v1_xxxx"
```

Get a token at https://cloud.digitalocean.com/account/api/tokens

### Claude Desktop

Add to your `claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "digitalocean": {
      "command": "uvx",
      "args": ["mcp-server-digitalocean"],
      "env": {
        "DIGITALOCEAN_TOKEN": "dop_v1_xxxx"
      }
    }
  }
}
```

### With stdio transport (default)

```bash
mcp-server-digitalocean --transport stdio
```

## Usage Examples

Once configured, you can ask your MCP client:

- "List all my Droplets"
- "Create a new 1GB Droplet in NYC1 running Ubuntu 24.04"
- "Show me all available regions"
- "List my database clusters"
- "Delete droplet 42"

## Development

```bash
# Install dependencies
uv sync

# Run tests
uv run pytest

# Run linter
uv run ruff check src/ tests/

# Type check
uv run pyright
```

## License

MIT
