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
- A portal with at least one access group
- An account with Digital Ocean for each person who connects
- For the CLI steps: the Metorial 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.
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:
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
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.
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 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. NeedsappId.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. NeedsclusterId.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. NeedsnamespaceId.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. NeedsclusterIdandaction.manage_firewall: List, create, or delete cloud firewalls. Needsaction.deploy_app: Trigger a new deployment for an App Platform application. NeedsappId.manage_database_users: List, create, or delete users on a managed database cluster. NeedsdatabaseIdandaction.manage_project: Create, update, or delete a project. Needsaction.create_droplet: Create a new Droplet (virtual machine) in DigitalOcean. Needsname,region,sizeandimage.create_domain: Add a new domain to DigitalOcean DNS management. Needsname.droplet_action: Perform an action on a Droplet: **power_on**, **power_off**, **reboot**, **shutdown** (graceful), **resize**, **rebuild**, **rename**, or **snapshot**. NeedsdropletIdandaction.manage_tags: List, create, delete tags, or tag/untag resources. Needsaction.manage_dns_records: List, create, update, or delete DNS records for a domain. NeedsdomainNameandaction.manage_container_registry: View your container registry, list repositories and tags, or trigger garbage collection. Needsaction.manage_project_resources: List resources in a project or assign resources to a project. NeedsprojectIdandaction.manage_reserved_ips: List, create, assign, unassign, or delete reserved (static) IP addresses. Needsaction.create_database: Provision a new managed database cluster. Needsname,engine,size,regionandnumNodes.create_kubernetes_cluster: Create a new managed Kubernetes cluster with specified node pools. Needsname,region,versionandnodePools.create_volume: Create a new block storage volume. Needsname,regionandsizeGigabytes.manage_vpcs: List, create, update, or delete Virtual Private Clouds (VPCs). Needsaction.manage_volume_attachment: Attach or detach a block storage volume to/from a Droplet. NeedsvolumeId,actionanddropletId.manage_ssh_keys: List, create, or delete SSH keys on your DigitalOcean account. Needsaction.manage_uptime_checks: List, create, update, or delete uptime checks. Needsaction.
Destructive tools (5)
delete_volume: Delete a block storage volume. NeedsvolumeId.delete_database: Permanently delete a managed database cluster. NeedsdatabaseId.delete_kubernetes_cluster: Permanently delete a managed Kubernetes cluster and all its node pools. NeedsclusterId.delete_droplet: Permanently delete a Droplet (virtual machine). NeedsdropletId.delete_app: Permanently delete an App Platform application and all its components and deployments. NeedsappId.
Triggers
Digital Ocean has 1 trigger, which fire on events in Digital Ocean:
inbound_webhook
Next steps
- Claude Code, Cursor, Codex and ChatGPT: connect each client to your portal and use Digital Ocean there
- Create custom OAuth credentials: the Provider Auth screens in more detail
- Tool permissions: tool filters and what employees see
- Digital Ocean on metorial.com: the integration overview