# How to connect Digital ocean MCP with VS Code

```json
{
  "title": "How to connect Digital ocean MCP with VS Code",
  "toolkit": "Digital ocean",
  "toolkit_slug": "digital_ocean",
  "framework": "VS Code",
  "framework_slug": "vscode",
  "url": "https://composio.dev/toolkits/digital_ocean/framework/vscode",
  "markdown_url": "https://composio.dev/toolkits/digital_ocean/framework/vscode.md",
  "updated_at": "2026-05-06T08:08:44.502Z"
}
```

## Introduction

### How to connect Digital ocean MCP with VS Code
VS Code is the most popular code editor out there. With its recent AI makeover, it can do more than just help you write code. You can connect your applications to it and let LLMs automate many of the mundane tasks in your workflow.
In this guide, I will explain how to connect Digital ocean with VS Code in the most secure and robust way possible via Composio.

## Also integrate Digital ocean with

- [ChatGPT](https://composio.dev/toolkits/digital_ocean/framework/chatgpt)
- [OpenAI Agents SDK](https://composio.dev/toolkits/digital_ocean/framework/open-ai-agents-sdk)
- [Claude Agent SDK](https://composio.dev/toolkits/digital_ocean/framework/claude-agents-sdk)
- [Claude Code](https://composio.dev/toolkits/digital_ocean/framework/claude-code)
- [Claude Cowork](https://composio.dev/toolkits/digital_ocean/framework/claude-cowork)
- [Codex](https://composio.dev/toolkits/digital_ocean/framework/codex)
- [Cursor](https://composio.dev/toolkits/digital_ocean/framework/cursor)
- [OpenCode](https://composio.dev/toolkits/digital_ocean/framework/opencode)
- [OpenClaw](https://composio.dev/toolkits/digital_ocean/framework/openclaw)
- [Hermes](https://composio.dev/toolkits/digital_ocean/framework/hermes-agent)
- [CLI](https://composio.dev/toolkits/digital_ocean/framework/cli)
- [Google ADK](https://composio.dev/toolkits/digital_ocean/framework/google-adk)
- [LangChain](https://composio.dev/toolkits/digital_ocean/framework/langchain)
- [Vercel AI SDK](https://composio.dev/toolkits/digital_ocean/framework/ai-sdk)
- [Mastra AI](https://composio.dev/toolkits/digital_ocean/framework/mastra-ai)
- [LlamaIndex](https://composio.dev/toolkits/digital_ocean/framework/llama-index)
- [CrewAI](https://composio.dev/toolkits/digital_ocean/framework/crew-ai)

## TL;DR

### Why use Composio?
Composio provides:
- Access to 1,000+ managed apps from a single MCP endpoint. This makes it convenient for agents to run cross-app workflows.
- Programmatic tool calling. Allows LLMs to write its code in a remote workbench to handle complex tool chaining. Reduces to-and-fro with LLMs for frequent tool calling.
- Large tool response handling outside the LLM context. This minimizes context bloat from large tool responses.
- Dynamic just-in-time access to thousands of tools across hundreds of apps. Composio loads the tools your agent needs, so LLMs are not overwhelmed by tools they do not need.

## Connect Digital ocean to VS Code

### Integrate Digital ocean MCP with VS Code
### 1. Install with one click
Click the button below to add Composio to VS Code. You will be prompted to authorize. This requires VS Code 1.99+ with GitHub Copilot.
[+Install in VS Code](vscode:mcp/install?%7B%22name%22%3A%22composio%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fconnect.composio.dev%2Fmcp%22%7D)
### 2. Or add manually
Open or create .vscode/mcp.json in your project root and add the following configuration:

```bash
{
  "servers": {
    "composio": {
      "type": "http",
      "url": "https://connect.composio.dev/mcp"
    }
  }
}
```

## What is the Digital ocean MCP server, and what's possible with it?

The Digital ocean MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your DigitalOcean account. It provides structured and secure access to your cloud infrastructure, so your agent can perform actions like creating droplets, managing domains and DNS, provisioning databases, and organizing resources on your behalf.
- Automated droplet provisioning: Instantly spin up new virtual machines (droplets) by specifying name, region, size, and image to quickly scale your infrastructure.
- Database and block storage management: Have your agent create managed database clusters or persistent block storage volumes with custom configurations for seamless backend scaling.
- Domain and DNS record automation: Simplify domain setup and DNS management by letting your agent create new domains and add or update DNS records as needed.
- Kubernetes and firewall setup: Easily deploy Kubernetes clusters and configure firewalls by defining rules, regions, and node pools—without manual dashboard work.
- SSH key and resource tagging: Register new SSH keys for secure access or organize your infrastructure with custom tags, making resource management effortless and consistent.

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `DIGITAL_OCEAN_CREATE_CUSTOM_IMAGE` | Create Custom Image | Tool to create a new custom image by providing a url to a linux vm image. use when you need to import a vm image into digitalocean after specifying name, url, distribution, and region. |
| `DIGITAL_OCEAN_CREATE_DATABASE_CLUSTER` | Create Database Cluster | Tool to create a new managed database cluster. use when you need to provision a database cluster with name, engine, version, region, size, and number of nodes. |
| `DIGITAL_OCEAN_CREATE_NEW_BLOCK_STORAGE_VOLUME` | Create New Block Storage Volume | Tool to create a new block storage volume. use when you need to provision persistent block storage after confirming the target region supports volumes. example: "create a 100 gib ext4 backup volume named 'db-backup' in nyc1." |
| `DIGITAL_OCEAN_CREATE_NEW_DOMAIN` | Create New Domain | Tool to create a new domain. use when you have the domain name and optionally an ip address to assign an a record. |
| `DIGITAL_OCEAN_CREATE_NEW_DOMAIN_RECORD` | Create Domain Record | Tool to create a new dns record for a domain. use after confirming domain exists and record specifics. |
| `DIGITAL_OCEAN_CREATE_NEW_DROPLET` | Create New Droplet | Tool to create a new droplet. use when you need to provision a vm with name, region, size, and image. |
| `DIGITAL_OCEAN_CREATE_NEW_FIREWALL` | Create New Firewall | Tool to create a new firewall. use when you need to define a firewall name and custom rules (requires at least one inbound and one outbound rule). |
| `DIGITAL_OCEAN_CREATE_NEW_KUBERNETES_CLUSTER` | Create New Kubernetes Cluster | Tool to create a new kubernetes cluster. use when you have finalized the cluster name, region, version, and at least one node pool. confirm region supports kubernetes clusters before use. |
| `DIGITAL_OCEAN_CREATE_NEW_SSH_KEY` | Create New SSH Key | Tool to create a new ssh key. use when you need to register a public key to access droplets. |
| `DIGITAL_OCEAN_CREATE_NEW_TAG` | Create New Tag | Tool to create a new tag. use when you need to organize resources by grouping them under a custom tag. ensure the tag name passes validation before calling. example: "create a new tag named analytics". |
| `DIGITAL_OCEAN_CREATE_NEW_VPC` | Create New VPC | Tool to create a new vpc. use when you need to provision a private network in a specific region. |
| `DIGITAL_OCEAN_DELETE_BLOCK_STORAGE_VOLUME` | Delete Block Storage Volume | Tool to delete a block storage volume by id. use when you need to permanently remove an existing block storage volume after confirming its id. returns http 204 no content on success. |
| `DIGITAL_OCEAN_DELETE_DATABASE_CLUSTER` | Delete Database Cluster | Tool to delete a database cluster by uuid. use when you have confirmed the cluster is no longer needed. returns http 204 no content on success. |
| `DIGITAL_OCEAN_DELETE_DOMAIN` | Delete Domain | Tool to delete a domain by name. use when you have confirmed the domain has no records assigned. returns 204 no content on success. |
| `DIGITAL_OCEAN_DELETE_DOMAIN_RECORD` | Delete Domain Record | Tool to delete a dns record by its record id for a domain. use when you need to remove an existing dns record and have the domain name and record id. returns http 204 no content on success. |
| `DIGITAL_OCEAN_DELETE_EXISTING_DROPLET` | Delete Existing Droplet | Tool to delete a droplet by id. use when you need to permanently remove an existing droplet after confirming its id to avoid unintended deletions. |
| `DIGITAL_OCEAN_DELETE_FIREWALL` | Delete Firewall | Tool to delete a firewall by id. use when you have confirmed the firewall is no longer needed. |
| `DIGITAL_OCEAN_DELETE_IMAGE` | Delete Image | Tool to delete a snapshot or custom image by id. use when cleaning up unused images after confirming there are no dependents. |
| `DIGITAL_OCEAN_DELETE_LOAD_BALANCER` | Delete Load Balancer | Tool to delete a load balancer instance by id. use when you need to permanently remove an existing load balancer after confirming its id. returns 204 no content on success. |
| `DIGITAL_OCEAN_DELETE_SSH_KEY` | Delete SSH Key | Tool to delete a public ssh key. use when you need to remove an ssh key from your account by its id or fingerprint after confirming its ownership. returns 204 no content on success. |
| `DIGITAL_OCEAN_DELETE_TAG` | Delete Tag | Tool to delete a tag by name. use when you need to untag all resources previously tagged. returns 204 no content on success. |
| `DIGITAL_OCEAN_DELETE_VPC` | Delete VPC | Tool to delete a vpc by its id. use when you need to remove an existing virtual private cloud. returns 204 no content on success. |
| `DIGITAL_OCEAN_DIGITAL_OCEAN_CREATE_NEW_LOAD_BALANCER` | Create New Load Balancer | Tool to create a new load balancer. use after specifying region, forwarding rules, and targets. |
| `DIGITAL_OCEAN_DIGITAL_OCEAN_LIST_DOMAIN_RECORDS` | List Domain Records | Tool to list all dns records for a domain. use when you need to inspect or filter a domain's dns configuration. |
| `DIGITAL_OCEAN_LIST_ALL_DATABASES` | List All Databases | Tool to list all managed database clusters on your account. use when you need to retrieve clusters and support pagination or filtering by tag. |
| `DIGITAL_OCEAN_LIST_ALL_DOMAINS` | List All Domains | Tool to list all domains in your digitalocean account. use when you need to retrieve or iterate through domains, with optional pagination. use after authentication. |
| `DIGITAL_OCEAN_LIST_ALL_DROPLETS` | List All Droplets | Tool to list all droplets in your account. use when you need an overview of droplets, optionally filtered by tag. use after authentication. |
| `DIGITAL_OCEAN_LIST_ALL_FIREWALLS` | List All Firewalls | Tool to list all firewalls on your digitalocean account. use when you need to audit or manage firewall rules with optional pagination. |
| `DIGITAL_OCEAN_LIST_ALL_IMAGES` | List All Images | Tool to list all images available on your account. use after obtaining a valid api token to retrieve images optionally filtered by type, private visibility, or tag name. |
| `DIGITAL_OCEAN_LIST_ALL_KUBERNETES_CLUSTERS` | List All Kubernetes Clusters | Tool to list all kubernetes clusters on your account. use when you need to enumerate every cluster and handle pagination. |
| `DIGITAL_OCEAN_LIST_ALL_LOAD_BALANCERS` | List All Load Balancers | Tool to list all load balancer instances on your account. use when you need a paginated overview of load balancers after authentication. |
| `DIGITAL_OCEAN_LIST_ALL_SNAPSHOTS` | List All Snapshots | Tool to list all snapshots available on your digitalocean account. use when you need to fetch and optionally filter snapshots by resource type (droplet or volume) and handle pagination for inventory or backup workflows. |
| `DIGITAL_OCEAN_LIST_ALL_SSH_KEYS` | List All SSH Keys | Tool to list all ssh keys in your account. use when you need to retrieve ssh key metadata. |
| `DIGITAL_OCEAN_LIST_ALL_TAGS` | List All Tags | Tool to list all tags in your account. use when you need to retrieve available tags and pagination info. |
| `DIGITAL_OCEAN_LIST_ALL_VOLUMES` | List All Volumes | Tool to list all block storage volumes available on your account. use when you need to retrieve volumes and optionally filter by name and region. |
| `DIGITAL_OCEAN_LIST_ALL_VPCS` | List All VPCs | Tool to list all vpcs on your account. use when you need an inventory of your vpc resources; supports pagination. |
| `DIGITAL_OCEAN_LIST_DATABASE_OPTIONS` | List Database Options | Tool to list valid database engine, version, region, and size options. use when configuring a new managed database cluster. |
| `DIGITAL_OCEAN_RETRIEVE_DOMAIN` | Retrieve Domain | Tool to retrieve details about a specific domain by its name. use after creating or importing a domain to verify ttl and zone file configuration. |
| `DIGITAL_OCEAN_RETRIEVE_DOMAIN_RECORD` | Retrieve Domain Record | Tool to retrieve a specific dns record for a domain by its record id. use when you have the domain name and record id to fetch record details. |
| `DIGITAL_OCEAN_RETRIEVE_EXISTING_DROPLET` | Retrieve Existing Droplet | Tool to show information about an individual droplet by id. use when you have a droplet id and need detailed status. |
| `DIGITAL_OCEAN_RETRIEVE_EXISTING_IMAGE` | Retrieve Existing Image | Tool to retrieve information about an image by id or slug. use when you need detailed metadata for a known image. |
| `DIGITAL_OCEAN_RETRIEVE_TAG` | Retrieve Tag | Tool to retrieve an individual tag by name. use when you need to inspect the resources grouped under a specific tag. |
| `DIGITAL_OCEAN_RETRIEVE_VPC` | Retrieve VPC | Tool to retrieve details about a specific vpc by its id. use when you need to inspect vpc properties for configuration or auditing. |
| `DIGITAL_OCEAN_TAG_RESOURCE` | Tag Resource | Tool to tag resources by name. use when you need to assign an existing tag to one or more resources. returns 204 no content on success. |
| `DIGITAL_OCEAN_UNTAG_RESOURCE` | Untag Resource | Tool to untag resources by tag name. use when you need to remove an existing tag from multiple resources in a single operation. |
| `DIGITAL_OCEAN_UPDATE_DOMAIN_RECORD` | Update Domain Record | Tool to update an existing dns record for a domain. use when you need to modify any valid attribute of a record after confirming its record id. |
| `DIGITAL_OCEAN_UPDATE_VPC` | Update VPC | Tool to update information about a vpc. use when you need to modify the name, description, or default status of an existing vpc. |

## Supported Triggers

None listed.

## Creating MCP Server - Stand-alone vs Composio SDK

Once connected, VS Code can access the Digital ocean MCP server via Composio to run the app actions you authorize, directly from your coding workflow.

## Complete Code

None listed.

## Conclusion

### Way Forward
Now that Digital ocean is connected, extend your setup by connecting the other apps you already use every day, so your agent can run true cross-app workflows end to end.
- Connect Calendar to turn threads into scheduled meetings automatically.
- Connect Slack or Teams to post summaries, approvals, and alerts where your team works.
- Connect Notion, Linear, Jira, or Asana to convert requests into tickets, tasks, and docs.
- Connect Drive, Dropbox, or OneDrive to fetch, file, and share attachments without manual steps.
- Connect HubSpot or Salesforce to log customer context, update records, and draft follow-ups.
Start with one workflow you do repeatedly, then keep adding apps as you find new handoffs. With everything behind a single MCP endpoint, your agent can coordinate multiple tools safely and reliably in one conversation.

## How to build Digital ocean MCP Agent with another framework

- [ChatGPT](https://composio.dev/toolkits/digital_ocean/framework/chatgpt)
- [OpenAI Agents SDK](https://composio.dev/toolkits/digital_ocean/framework/open-ai-agents-sdk)
- [Claude Agent SDK](https://composio.dev/toolkits/digital_ocean/framework/claude-agents-sdk)
- [Claude Code](https://composio.dev/toolkits/digital_ocean/framework/claude-code)
- [Claude Cowork](https://composio.dev/toolkits/digital_ocean/framework/claude-cowork)
- [Codex](https://composio.dev/toolkits/digital_ocean/framework/codex)
- [Cursor](https://composio.dev/toolkits/digital_ocean/framework/cursor)
- [OpenCode](https://composio.dev/toolkits/digital_ocean/framework/opencode)
- [OpenClaw](https://composio.dev/toolkits/digital_ocean/framework/openclaw)
- [Hermes](https://composio.dev/toolkits/digital_ocean/framework/hermes-agent)
- [CLI](https://composio.dev/toolkits/digital_ocean/framework/cli)
- [Google ADK](https://composio.dev/toolkits/digital_ocean/framework/google-adk)
- [LangChain](https://composio.dev/toolkits/digital_ocean/framework/langchain)
- [Vercel AI SDK](https://composio.dev/toolkits/digital_ocean/framework/ai-sdk)
- [Mastra AI](https://composio.dev/toolkits/digital_ocean/framework/mastra-ai)
- [LlamaIndex](https://composio.dev/toolkits/digital_ocean/framework/llama-index)
- [CrewAI](https://composio.dev/toolkits/digital_ocean/framework/crew-ai)

## Related Toolkits

- [Supabase](https://composio.dev/toolkits/supabase) - Supabase is an open-source backend platform offering scalable Postgres databases, authentication, storage, and real-time APIs. It lets developers build modern apps without managing infrastructure.
- [Codeinterpreter](https://composio.dev/toolkits/codeinterpreter) - Codeinterpreter is a Python-based coding environment with built-in data analysis and visualization. It lets you instantly run scripts, plot results, and prototype solutions inside supported platforms.
- [GitHub](https://composio.dev/toolkits/github) - GitHub is a code hosting platform for version control and collaborative software development. It streamlines project management, code review, and team workflows in one place.
- [Ably](https://composio.dev/toolkits/ably) - Ably is a real-time messaging platform for live chat and data sync in modern apps. It offers global scale and rock-solid reliability for seamless, instant experiences.
- [Abuselpdb](https://composio.dev/toolkits/abuselpdb) - Abuselpdb is a central database for reporting and checking IPs linked to malicious online activity. Use it to quickly identify and report suspicious or abusive IP addresses.
- [Alchemy](https://composio.dev/toolkits/alchemy) - Alchemy is a blockchain development platform offering APIs and tools for Ethereum apps. It simplifies building and scaling Web3 projects with robust infrastructure.
- [Algolia](https://composio.dev/toolkits/algolia) - Algolia is a hosted search API that powers lightning-fast, relevant search experiences for web and mobile apps. It helps developers deliver instant, typo-tolerant, and scalable search without complex infrastructure.
- [Anchor browser](https://composio.dev/toolkits/anchor_browser) - Anchor browser is a developer platform for AI-powered web automation. It transforms complex browser actions into easy API endpoints for streamlined web interaction.
- [Apiflash](https://composio.dev/toolkits/apiflash) - Apiflash is a website screenshot API for programmatically capturing web pages. It delivers high-quality screenshots on demand for automation, monitoring, or reporting.
- [Apiverve](https://composio.dev/toolkits/apiverve) - Apiverve delivers a suite of powerful APIs that simplify integration for developers. It's designed for reliability and scalability so you can build faster, smarter applications without the integration headache.
- [Appcircle](https://composio.dev/toolkits/appcircle) - Appcircle is an enterprise-grade mobile CI/CD platform for building, testing, and publishing mobile apps. It streamlines mobile DevOps so teams ship faster and with more confidence.
- [Appdrag](https://composio.dev/toolkits/appdrag) - Appdrag is a cloud platform for building websites, APIs, and databases with drag-and-drop tools and code editing. It accelerates development and iteration by combining hosting, database management, and low-code features in one place.
- [Appveyor](https://composio.dev/toolkits/appveyor) - AppVeyor is a cloud-based continuous integration service for building, testing, and deploying applications. It helps developers automate and streamline their software delivery pipelines.
- [Backendless](https://composio.dev/toolkits/backendless) - Backendless is a backend-as-a-service platform for mobile and web apps, offering database, file storage, user authentication, and APIs. It helps developers ship scalable applications faster without managing server infrastructure.
- [Baserow](https://composio.dev/toolkits/baserow) - Baserow is an open-source no-code database platform for building collaborative data apps. It makes it easy for teams to organize data and automate workflows without writing code.
- [Bench](https://composio.dev/toolkits/bench) - Bench is a benchmarking tool for automated performance measurement and analysis. It helps you quickly evaluate, compare, and track your systems or workflows.
- [Better stack](https://composio.dev/toolkits/better_stack) - Better Stack is a monitoring, logging, and incident management solution for apps and services. It helps teams ensure application reliability and performance with real-time insights.
- [Bitbucket](https://composio.dev/toolkits/bitbucket) - Bitbucket is a Git-based code hosting and collaboration platform for teams. It enables secure repository management and streamlined code reviews.
- [Blazemeter](https://composio.dev/toolkits/blazemeter) - Blazemeter is a continuous testing platform for web and mobile app performance. It empowers teams to automate and analyze large-scale tests with ease.
- [Blocknative](https://composio.dev/toolkits/blocknative) - Blocknative delivers real-time mempool monitoring and transaction management for public blockchains. Instantly track pending transactions and optimize blockchain interactions with live data.

## Frequently Asked Questions

### What are the differences in Tool Router MCP and Digital ocean MCP?

With a standalone Digital ocean MCP server, the agents and LLMs can only access a fixed set of Digital ocean tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Digital ocean and many other apps based on the task at hand, all through a single MCP endpoint.

### Can I use Tool Router MCP with VS Code?

Yes, you can. VS Code fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Digital ocean tools.

### Can I manage the permissions and scopes for Digital ocean while using Tool Router?

Yes, absolutely. You can configure which Digital ocean scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

### How safe is my data with Composio Tool Router?

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Digital ocean data and credentials are handled as safely as possible.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
