インストール不要。2分以内に動きます。
cloud.anythingmcp.com で無料トライアルを開始し、DigitalOcean をワンクリックで追加して、AI クライアント(Claude、ChatGPT、Copilot、Cursor)を生成された MCP エンドポイントに向けるだけ。Docker も git clone も、開発経験も不要です。
概要
AI が DigitalOcean の状況を把握します。CPU と帯域幅のメトリクス付きの Droplet、App Platform のデプロイとログ、マネージドデータベース、Kubernetes クラスター、ボリューム、DNS、ファイアウォール、ロードバランサー、残高と請求書を確認できます。あなたの確認後に、Droplet の電源のオン・オフ、スナップショットの作成、アプリの再デプロイ、DNS レコードの編集もできます。
こう聞いてみよう
DigitalOcean のサンプルプロンプト
プロンプトをクリックでコピー。Claude / ChatGPT / Cursor / Gemini / Copilot / OpenClaw に貼り付けて、このコネクターで実行できます。
Claude は AI のため誤ることがあります。回答をご確認ください。
💡 インストール不要? cloud.anythingmcp.com を直接利用してください。 サインインし、Connectors → DigitalOcean をクリック、認証情報を貼り付け、MCP API キーを発行すれば完了です。Docker も
git cloneもローカルサーバーも不要。
DigitalOcean
AI が DigitalOcean の状況を把握します。CPU と帯域幅のメトリクス付きの Droplet、App Platform のデプロイとログ、マネージドデータベース、Kubernetes クラスター、ボリューム、DNS、ファイアウォール、ロードバランサー、残高と請求書を確認できます。あなたの確認後に、Droplet の電源のオン・オフ、スナップショットの作成、アプリの再デプロイ、DNS レコードの編集もできます。
セットアップ
- DigitalOcean のコントロールパネルで API → Tokens(
https://cloud.digitalocean.com/account/api/tokens)を開き、Generate New Token をクリックします。トークンは、コントロールパネル上部で選択されているチームに属します。 - 有効期限とスコープを選びます。最も安全なのは Custom Scopes です。account、billing、droplet、app、database、kubernetes、block_storage、domain、firewall、load_balancer、monitoring、snapshot、actions の読み取りアクセスを付け、電源操作とスナップショットには droplet の update、再デプロイには app の update、DNS の変更には domain の create と update を追加します。Read Only はすべての読み取りをカバーし、変更はすべて拒否されます。Full Access は避けてください。リソースを破棄することもできてしまいます。
- トークン(
dop_v1_で始まり、一度しか表示されません)をコピーし、Bearer という語を付けずにDIGITALOCEAN_TOKENに貼り付けて、コネクタをインストールします。 digitalocean_get_accountで設定を確認します。
できること: アカウント、残高、請求書。スナップショットと CPU・帯域幅のメトリクス付きの Droplet。デプロイ、失敗したステップ、ログへのリンク付きの App Platform アプリ。マネージドデータベースとそのレプリカ。ノードプール付きの Kubernetes クラスター。ボリューム。DNS のドメインとレコード。ファイアウォールとロードバランサー。
変更は先に確認します: Droplet の電源のオン・オフや再起動(digitalocean_power_droplet)、スナップショットの作成(digitalocean_snapshot_droplet、GB あたりの月額で課金)、アプリの再デプロイ(digitalocean_create_app_deployment)、DNS レコードの追加や変更(digitalocean_create_domain_record、digitalocean_update_domain_record)は、どれも誰かが頼りにしているものに影響します。それぞれの前に AI はリソースと変更内容を示してあなたの承認を待ち、実行後は完了するまで digitalocean_get_action で処理を追跡します。
リソースを破棄する機能はありません: Droplet、アプリ、データベース、クラスター、ボリュームの削除は一切提供していません。digitalocean_delete_domain_record はインストール時に無効になっており、管理者が意図して有効にします。
シークレットは DigitalOcean に残ります: データベースのツールはホストとポートを返しますが、パスワード、接続文字列、証明書は決して返しません。アプリのツールは環境変数を含めず、Kubernetes のツールは kubeconfig を返しません。digitalocean_get_app_logs_url が返すログのリンクは一時的なものですが、リンクを知っている人なら誰でもログを読めます。
メトリクス: CPU と帯域幅のメトリクスには、Droplet 上の監視エージェントが必要です。CPU の値はモードごとの累積秒数なので、AI は 2 つの時点の差から Droplet の負荷を算出します。
よくあるエラー: 401 Unable to authenticate you: トークンが間違っている、期限切れ、または取り消されています。403: トークンにこの呼び出しのスコープがありません(たとえば残高には billing:read、変更には update スコープ)。そのスコープを付けたトークンを生成してください。404: このチームにそのリソースはありません。422: 値が無効です。たとえば Droplet がすでにオフになっている、DNS レコードが別のレコードと競合している、などです。429: 1 時間あたり 5,000 件、または 1 分あたり 250 件を超えるリクエストです。少し待ってください。
このコネクタは、Droplet、アプリ、データベース、クラスター、ボリューム、ファイアウォール、ロードバランサーの作成、サイズ変更、破棄を行わず、アプリの設定、環境変数、データベースユーザーも変更しません。Spaces、コンテナレジストリ、Functions、GenAI、予約済み IP には対応していません。
前提条件: DIGITALOCEAN_TOKEN
ローカルでコネクタをインストール
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
http://localhost:3000/connectors/store を開き、 DigitalOcean を選択し、前提条件に記載された環境変数を入力します。
利用可能なツール
| Tool | What it does |
|---|---|
digitalocean_get_account | Read the DigitalOcean account behind the token: email, name, uuid, status, whether the email is verified, the Droplet and reserved IP… |
digitalocean_get_balance | Read the billing balance: the balance at the start of the month, usage so far this month, month-to-date balance (what is owed now) and when… |
digitalocean_list_invoices | List past invoices, newest first, with uuid, amount in US dollars, billing period (YYYY-MM) and date, plus a preview of the current month |
digitalocean_list_droplets | List Droplets (virtual machines): id, name, status (new, active, off, archive), region, size, vCPUs, memory, disk, image, public and… |
digitalocean_get_droplet | Read one Droplet: status, region, size, vCPUs, memory, disk, image, IP addresses, tags, attached volumes, enabled features (backups… |
digitalocean_power_droplet | Change a Droplet's power state. power_on starts it; shutdown asks the operating system to shut down cleanly; power_off cuts the power at… |
digitalocean_snapshot_droplet | Take a snapshot (a full disk image) of a Droplet |
digitalocean_get_action | Read the progress of an action (power change, snapshot and so on): status (in-progress, completed, errored), type, start and end time and… |
digitalocean_list_droplet_snapshots | List the snapshots of a Droplet: id, name, size in GB, minimum disk size, regions and creation date |
digitalocean_list_apps | List App Platform apps: id, name, region, live URL, tier, project, the active deployment (id, phase, cause) and any deployment in progress |
digitalocean_get_app | Read one App Platform app: name, region, live URL and domains, the active, in-progress and pending deployments, and its components… |
digitalocean_list_app_deployments | List the deployments of an app, newest first: id, phase (PENDING_BUILD, BUILDING, PENDING_DEPLOY, DEPLOYING, ACTIVE, SUPERSEDED, ERROR… |
digitalocean_get_app_deployment | Read one app deployment: phase, cause, progress and each step with its status and the reason it failed, for finding out why a build or… |
digitalocean_create_app_deployment | Deploy an app again from its current settings and source: App Platform builds (with force_build even when nothing changed) and replaces the… |
digitalocean_get_app_logs_url | Get links to the logs of an app's active deployment: historic_urls are files with past log lines, live_url streams new lines |
digitalocean_get_app_deployment_logs_url | Get links to the build, deploy or run logs of one deployment of an app (for example a failed one): historic_urls are files with the log… |
digitalocean_list_databases | List managed database clusters: id, name, engine (pg, mysql, valkey, mongodb, kafka, opensearch), version, status, region, size, nodes… |
digitalocean_get_database | Read one managed database cluster: engine, version, status, region, size, nodes, storage, database names, host and port, the database users… |
digitalocean_list_database_replicas | List the read-only replicas of a database cluster: id, name, region, size, status, storage, host and creation date |
digitalocean_list_kubernetes_clusters | List Kubernetes (DOKS) clusters: id, name, region, Kubernetes version, state (running, provisioning, degraded, error...), API endpoint… |
digitalocean_get_kubernetes_cluster | Read one Kubernetes cluster: version, state and message, endpoint, node pools with each node's name and status, maintenance window, high… |
digitalocean_list_volumes | List block storage volumes: id, name, size in GB, region, the Droplets they are attached to, filesystem, tags and creation date |
digitalocean_list_domains | List the domains managed in DigitalOcean DNS: name and default TTL |
digitalocean_list_domain_records | List the DNS records of a domain: id, type (A, AAAA, CNAME, MX, TXT, NS, SRV, CAA), name (@ for the domain itself), data, priority, port… |
digitalocean_create_domain_record | Add a DNS record to a domain |
digitalocean_update_domain_record | Change an existing DNS record: only the fields you pass change, and the record type must be given and stay the same |
digitalocean_delete_domain_record | Delete a DNS record |
digitalocean_list_firewalls | List cloud firewalls: id, name, status, inbound rules (protocol, ports, allowed sources), outbound rules, the Droplets and tags they apply… |
digitalocean_get_firewall | Read one cloud firewall: its inbound and outbound rules, the Droplets and tags it applies to, status and pending changes |
digitalocean_list_load_balancers | List load balancers: id, name, public IP, status, region, size, forwarding rules (ports and protocols), health check, target Droplets or… |
digitalocean_get_load_balancer | Read one load balancer: IP, status, region, size, forwarding rules, health check, sticky sessions, target Droplets or tag and HTTPS redirect |
digitalocean_get_droplet_cpu_metrics | Read CPU metrics of a Droplet for a time window: one series per CPU mode (user, system, idle, iowait...) with [unix time, value] pairs |
digitalocean_get_droplet_bandwidth_metrics | Read network bandwidth of a Droplet for a time window, in megabits per second, as [unix time, value] pairs, for the public or private… |
プロンプトの例
- 「Droplet をリージョン、サイズ、ステータス付きで一覧し、電源がオフなのに課金が続いているものを教えてください。」
- 「App Platform のアプリの最後のデプロイはなぜ失敗したのですか?失敗したステップと理由を見せてください。」
- 「直近 24 時間で web-01 の CPU はどれくらい使われていましたか?送信した帯域幅はどれくらいですか?」
- 「今月の DigitalOcean の残高はいくらですか?直近 3 件の請求書を比べるとどうなっていますか?」
- 「staging.example.com の A レコードを 203.0.113.10 に向けてください。変更する前に、現在のレコードと新しい値を見せてください。」
次のステップ
このガイドは役に立ちましたか?