MetorialDocs

Set up Digital Ocean in Metorial for Claude, ChatGPT and Cursor

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'll 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

Sign-in methods

MethodTypeWhat a person provides
OAuth (default)OAuthSigns in to Digital Ocean
Personal Access TokenAPI tokentoken

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:

ScopeNameWhat it allows
readReadRead access to your DigitalOcean resources
writeWriteWrite 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.

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.

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.

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

Open Shared Resources

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

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.

Limit the tools

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

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:

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

Employee: connect Digital Ocean

In the portal

Open Digital Ocean in the catalog

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

Authenticate

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

Confirm

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

With the CLI

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.

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.

Check it worked

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