> Documentation index: https://metorial.com/llms.txt. Every page is available as Markdown by adding .md to its URL.

# Set up Digital Ocean in Metorial for Claude, ChatGPT and Cursor
URL: https://metorial.com/docs/integrations/digitalocean
Last updated: 2026-11-24

Share Digital Ocean with your team in Claude, ChatGPT and Cursor through Metorial: OAuth or personal access token sign-in, 46 tools (21 read-only).

---

To give your team Digital Ocean in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Digital Ocean integration in a Metorial portal, and each person signs in to Digital Ocean with their own account. Agents can manage cloud infrastructure on DigitalOcean. The integration has 46 tools, 21 read-only, 20 write and 5 destructive, plus 1 trigger.

**What you will learn**

- How an admin shares Digital Ocean in a portal and how each person connects
- The 2 OAuth scopes Digital Ocean can request, and what each one allows
- How to keep the 21 read-only tools and reject the other 25

**Before you start**

- A [portal](https://metorial.com/docs/platform/workforce/portals) with at least one access group
- An account with Digital Ocean for each person who connects
- For the CLI steps: the [Metorial CLI](https://metorial.com/docs/platform/cli), signed in to your portal

## Sign-in methods

| Method | Type | What a person provides |
| --- | --- | --- |
| **OAuth** (default) | OAuth | Signs in to Digital Ocean |
| **Personal Access Token** | API token | `token` |

The portal and `metorial setup` use **OAuth** unless someone picks another method.

### OAuth

People sign in to Digital Ocean and approve the scopes you allow. The integration can request:

| Scope | Name | What it allows |
| --- | --- | --- |
| `read` | Read | Read access to your DigitalOcean resources |
| `write` | Write | Write access to your DigitalOcean resources |

### Personal Access Token

To connect, a person enters:

- `token`

## Use your own Digital Ocean OAuth app

With your own OAuth app, people see your company's name on the Digital Ocean consent screen, and the client ID and secret belong to you.

1. **Start the credentials in Metorial**

   In the dashboard, select **Settings**, then **Organization Settings**. Under **Integrations and MCP**, select **Provider Auth**, then **Create Auth Credentials**. Choose Digital Ocean and copy the **Redirect URI**.

2. **Register the app with Digital Ocean**

   Create an OAuth app or client in Digital Ocean and add the redirect URI from Metorial as its redirect or callback URL. The vendor documents this in [OAuth documentation](https://docs.digitalocean.com/reference/api/oauth/).

3. **Finish in Metorial**

   Copy the app's client ID and client secret. Back in Metorial, enter a **Name**, the **Client ID** and the **Client Secret**, review **Scopes**, and select **Create**. Then pick these credentials for the Digital Ocean integration.

## Admin: share Digital Ocean in a portal

### In the dashboard

1. **Open Shared Resources**

   Open **Workforce**, choose the portal, and select **Shared Resources** under **Access**.

2. **Share a new integration**

   Select **Share a Resource**, then **New Integration**, and choose Digital Ocean. Under **Auth Method**, keep **OAuth** or pick another. For how members connect, choose **Each person connects**, so everyone signs in to Digital Ocean as themselves.

3. **Limit the tools**

   Under **Tool Filters**, set the write and destructive groups to **Reject** if agents should only read from Digital Ocean.

4. **Choose who gets it**

   Add the access groups that should see Digital Ocean. When a person asks for access from the portal, the request appears under **Access Requests**.

### With the CLI

The CLI cannot create the per-user Digital Ocean integration. Once it exists, check which groups have it:

```bash
metorial-admin portals access list <portal-id> --type provider_template --search "digital ocean"
```

## Employee: connect Digital Ocean

### In the portal

1. **Open Digital Ocean in the catalog**

   Sign in to your portal and open Digital Ocean. The status reads **Available**.

2. **Authenticate**

   Under **Quick setup**, select **Authenticate**. A Digital Ocean sign-in tab opens. Sign in and approve the permissions listed.

3. **Confirm**

   The status changes to **Configured**. If it later reads **Needs reconnect**, select **Reconnect** and sign in again.

### With the CLI

```bash
metorial catalog search "digital ocean"
metorial setup <catalog-item-id>
```

`catalog search` prints the catalog item ID. `metorial setup` uses **OAuth**. To connect with **Personal Access Token** instead, find its ID with `metorial catalog get <catalog-item-id>` and add `--auth-method <auth-method-id>`.

### Add it to your AI client

`metorial install` adds your Digital Ocean connection to a local MCP client such as Claude Code, Cursor or Codex. `metorial list` prints the integration ID and `metorial client list` the client identifiers.

```bash
metorial list "digital ocean"
metorial client list
metorial install <client-identifier> <integration-id>
```

For a client that takes a server URL, such as ChatGPT, `metorial install custom <integration-id>` creates an installation token and shows the endpoint details.

## Make it read-only

Open the integration's **Tool Filters** and set the write and destructive groups to **Reject**. Agents keep the 21 read-only tools, such as `get_app` and `list_apps`, and lose the 20 write tools, such as `deploy_app` or `manage_tags`, and the 5 destructive tools, such as `delete_app` or `delete_volume`.

Employees see the result on the integration's page in the portal under **Tool access**. For the full walkthrough, see [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions).

## Check it worked

```bash
metorial list "digital ocean"
metorial tools <integration-id>
metorial call <integration-id> get_account -d '{}'
```

`metorial tools` lists the 46 tools, minus any you rejected. `get_account` takes no input. It gets your DigitalOcean account information including email, Droplet limit, billing status, and team details.

To see every input a tool takes, run `metorial schema <integration-id> <tool-key>`.

## Tools

### Read-only tools (21)

- `get_app`: Get detailed information about an App Platform application, including its full specification, deployment status, and URLs. Needs `appId`.
- `get_account`: Get your DigitalOcean account information including email, Droplet limit, billing status, and team details.
- `list_snapshots`: List snapshots of Droplets and volumes.
- `list_kubernetes_clusters`: List all managed Kubernetes clusters in your DigitalOcean account.
- `list_alert_policies`: List all monitoring alert policies.
- `list_droplets`: List Droplets (virtual machines) in your DigitalOcean account.
- `list_databases`: List all managed database clusters in your DigitalOcean account.
- `get_kubeconfig`: Download the kubeconfig file for a Kubernetes cluster. Needs `clusterId`.
- `list_apps`: List all App Platform applications.
- `list_domains`: List all domains managed in your DigitalOcean DNS.
- `get_billing`: Get your current DigitalOcean account balance and billing history.
- `list_volumes`: List block storage volumes in your DigitalOcean account.
- `list_images`: List available images including distributions, applications, and custom images.
- `list_regions`: List all available DigitalOcean regions.
- `list_load_balancers`: List all load balancers in your DigitalOcean account.
- `list_sizes`: List all available Droplet sizes.
- `list_projects`: List all projects in your DigitalOcean account.
- `list_function_triggers`: List scheduled triggers in a DigitalOcean Functions namespace. Needs `namespaceId`.
- `list_cdn_endpoints`: List DigitalOcean CDN endpoints for Spaces origins.
- `list_function_namespaces`: List DigitalOcean Functions namespaces.
- `list_certificates`: List DigitalOcean-managed TLS certificates used by load balancers and CDN endpoints.

### Write tools (20)

- `manage_node_pools`: List, add, or remove node pools in a Kubernetes cluster. Needs `clusterId` and `action`.
- `manage_firewall`: List, create, or delete cloud firewalls. Needs `action`.
- `deploy_app`: Trigger a new deployment for an App Platform application. Needs `appId`.
- `manage_database_users`: List, create, or delete users on a managed database cluster. Needs `databaseId` and `action`.
- `manage_project`: Create, update, or delete a project. Needs `action`.
- `create_droplet`: Create a new Droplet (virtual machine) in DigitalOcean. Needs `name`, `region`, `size` and `image`.
- `create_domain`: Add a new domain to DigitalOcean DNS management. Needs `name`.
- `droplet_action`: Perform an action on a Droplet: **power_on**, **power_off**, **reboot**, **shutdown** (graceful), **resize**, **rebuild**, **rename**, or **snapshot**. Needs `dropletId` and `action`.
- `manage_tags`: List, create, delete tags, or tag/untag resources. Needs `action`.
- `manage_dns_records`: List, create, update, or delete DNS records for a domain. Needs `domainName` and `action`.
- `manage_container_registry`: View your container registry, list repositories and tags, or trigger garbage collection. Needs `action`.
- `manage_project_resources`: List resources in a project or assign resources to a project. Needs `projectId` and `action`.
- `manage_reserved_ips`: List, create, assign, unassign, or delete reserved (static) IP addresses. Needs `action`.
- `create_database`: Provision a new managed database cluster. Needs `name`, `engine`, `size`, `region` and `numNodes`.
- `create_kubernetes_cluster`: Create a new managed Kubernetes cluster with specified node pools. Needs `name`, `region`, `version` and `nodePools`.
- `create_volume`: Create a new block storage volume. Needs `name`, `region` and `sizeGigabytes`.
- `manage_vpcs`: List, create, update, or delete Virtual Private Clouds (VPCs). Needs `action`.
- `manage_volume_attachment`: Attach or detach a block storage volume to/from a Droplet. Needs `volumeId`, `action` and `dropletId`.
- `manage_ssh_keys`: List, create, or delete SSH keys on your DigitalOcean account. Needs `action`.
- `manage_uptime_checks`: List, create, update, or delete uptime checks. Needs `action`.

### Destructive tools (5)

- `delete_volume`: Delete a block storage volume. Needs `volumeId`.
- `delete_database`: Permanently delete a managed database cluster. Needs `databaseId`.
- `delete_kubernetes_cluster`: Permanently delete a managed Kubernetes cluster and all its node pools. Needs `clusterId`.
- `delete_droplet`: Permanently delete a Droplet (virtual machine). Needs `dropletId`.
- `delete_app`: Permanently delete an App Platform application and all its components and deployments. Needs `appId`.

## Triggers

Digital Ocean has 1 trigger, which fire on events in Digital Ocean:

- `inbound_webhook`

## Next steps

- [Claude Code](https://metorial.com/docs/platform/clients/claude-code), [Cursor](https://metorial.com/docs/platform/clients/cursor), [Codex](https://metorial.com/docs/platform/clients/codex) and [ChatGPT](https://metorial.com/docs/platform/clients/chatgpt): connect each client to your portal and use Digital Ocean there
- [Create custom OAuth credentials](https://metorial.com/docs/platform/integrations/create-custom-oauth-credentials): the Provider Auth screens in more detail
- [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions): tool filters and what employees see
- [Digital Ocean on metorial.com](https://metorial.com/integrations/digitalocean): the integration overview