Mcp Server Digitalocean

io.github.truecallerabreham由 GitHub 帳號 truecallerabreham 發布v0.1.1更新於 Oct 24, 2026

MCP server for DigitalOcean — manage Droplets, databases, domains, and more

發布方自己的服務:DigitalOcean

已驗證STDIO僅桌面資料庫雲端與基礎設施

概覽

AI 產生的概覽

一個面向 DigitalOcean 的本機 MCP 伺服器,讓助理列出、建立和刪除 Droplet,檢視受管資料庫、管理網域並查看帳戶用量。

可以做什麼
列出、建立、查看詳情和刪除 Droplet,包括依區域和規格選擇並查看價格,以及列出可用區域和規格。列出並檢視受管資料庫叢集。列出、建立和刪除網域。查看帳戶資訊與用量上限。
適用情境
適合在 MCP 用戶端中以對話方式管理 DigitalOcean 雲端資源,例如查看 Droplet 和資料庫叢集、查詢區域與規格,或在不開啟主控台的情況下建立和刪除 Droplet 與網域。
執行需求
以本機 Python 套件執行(需 Python 3.10 或更新版本),透過 uvx 啟動或以 uv、pip 安裝。需要 DigitalOcean 個人存取權杖,透過 DIGITALOCEAN_TOKEN 環境變數提供,並需要支援的 MCP 用戶端,如 Claude Desktop、Claude Code、Cursor 或 Windsurf。需要連線至 DigitalOcean API 的網路存取。
安裝前請注意
此權杖可存取你的 DigitalOcean 帳戶,應謹慎限定權限並避免寫入共用設定檔。伺服器可建立和刪除 Droplet 與網域,會變更實際基礎設施並可能產生費用;刪除 Droplet 或網域具破壞性。確認助理操作前請先核對。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Mcp Server Digitalocean,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

DigitalOcean MCP Server

[PyPI version] [License: MIT] [Python 3.10+]

A Model Context Protocol server for DigitalOcean cloud infrastructure. Manage Droplets, databases, domains, and more — all through your AI assistant.

What Can You Do With It?

  • Manage Droplets — list, create, get details, and delete Droplets
  • Query Databases — list and inspect managed database clusters
  • Handle Domains — list, create, and delete domain records
  • Explore Infrastructure — browse available regions and Droplet sizes with pricing
  • Check Account — view account info and usage limits

Table of Contents


Prerequisites


Installation

Using uv (recommended)

bash
uv tool install mcp-server-digitalocean

Using pip

bash
pip install mcp-server-digitalocean

Setup

1. Generate Your API Token

Go to DigitalOcean API Tokens and create a new Personal Access Token.

2. Add the Server to Your MCP Client

Add this JSON snippet to your client's MCP config file:

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

Then follow the instructions for your specific client:

Claude Desktop

  1. Go to Settings > Developer > Edit Config
  2. Add the snippet above to claude_desktop_config.json
  3. Replace YOUR_DO_TOKEN with your token
  4. Save and restart Claude Desktop
  5. You'll see "digitalocean" listed as an available server

Cursor

  1. Go to Settings > Cursor Settings > MCP > Add a new global MCP server
  2. Cursor will open ~/.cursor/mcp.json
  3. Add the snippet above to this JSON file
  4. Replace YOUR_DO_TOKEN with your token
  5. Save and return to MCP Settings

Windsurf

  1. Go to Settings > Windsurf Settings > Cascade > MCP > Add Server > Add custom server
  2. Windsurf will open ~/.codeium/windsurf/mcp_config.json
  3. Add the snippet above to this JSON file
  4. Replace YOUR_DO_TOKEN with your token
  5. Save and return to MCP Settings

Claude Code

  1. Run in your terminal:
bash
claude mcp add digitalocean -- uvx mcp-server-digitalocean
  1. Set the environment variable:
bash
export DIGITALOCEAN_TOKEN="your-token-here"

Available Tools

CategoryTools
Accountget_account_info
Dropletslist_droplets, get_droplet, create_droplet, delete_droplet
Databaseslist_database_clusters, get_database_cluster
Domainslist_domains, create_domain, delete_domain
Infrastructurelist_regions, list_sizes

Example Prompts

Once configured, try asking your assistant:

"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""What Droplet sizes are available and how much do they cost?"

Development

bash
# Clone the repogit clone https://github.com/truecallerabreham/mcp-server-digitalocean.gitcd mcp-server-digitalocean
# Install dependenciesuv sync
# Run testsuv run pytest
# Run linteruv run ruff check src/ tests/
# Type checkuv run pyright

Troubleshooting

The server doesn't appear in your client?

  • Make sure your JSON config is saved and valid (no trailing commas)
  • Restart your MCP client (Claude, Cursor, Windsurf)
  • Check that uvx is in your PATH

Token not working?

Still having issues?

Test the server directly:

bash
DIGITALOCEAN_TOKEN="your-token" uvx mcp-server-digitalocean

Contributing

Contributions are welcome! Bug reports, new features, and docs improvements are all appreciated.

  1. Fork this repo
  2. Create a branch (git checkout -b feature/my-feature)
  3. Make your changes
  4. Run tests (uv run pytest)
  5. Open a PR

License

This project is licensed under the MIT License.

來源:README.md,提交 8a7ba48

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.1最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Digitalocean 整合