DigitalOcean, verified
MCP server by DigitalOcean · Verified
Manage DigitalOcean App Platform, Droplets, databases, Kubernetes and other resources from your AI assistant.
Install DigitalOcean
Runs on your machine. Your client starts it with this command:
Needs Node.js on your computer. The setup steps below show where the command goes in each client.
DIGITALOCEAN_API_TOKENsecret DigitalOcean personal access token.
Share this server
Opens this page, with the install command and setup steps.
mcp.tc/i/digitaloceanAbout
Connects an assistant to the DigitalOcean API so it can manage cloud resources by service. Documented services include App Platform apps and deployments, Droplets, managed databases, Kubernetes clusters and node pools, container registry, and account details such as billing, invoices and SSH keys.
It runs locally with npx @digitalocean/mcp, where the --services flag picks which services to expose, and needs a DigitalOcean personal access token in DIGITALOCEAN_API_TOKEN. DigitalOcean also hosts one remote server per service, such as https://apps.mcp.digitalocean.com/mcp, which signs in with OAuth or an API token sent as a bearer header.
What you can do
- Manage App Platform applications, deployments and configuration
- Create, resize, snapshot and monitor Droplets
- Provision and monitor managed database clusters
- Manage Kubernetes clusters and node pools
- View account, billing, balance, invoices and SSH keys
- Choose which services to expose with the --services flag
Tools
DigitalOcean lists its tools only to clients with a key, so we can’t show them here.
Example prompts
List my Droplets and show which ones are powered off
Show the latest deployment status for my App Platform app
Create a snapshot of the Droplet named web-1
List my managed database clusters and their engines
Set up
Every client starts DigitalOcean on your machine with the same command. Pick yours; the page remembers your choice.
Claude Code
- Run this in a terminal, in your project folder:
claude mcp add --transport stdio digitalocean --env "DIGITALOCEAN_API_TOKEN=<YOUR_DIGITALOCEAN_API_TOKEN>" -- npx -y @digitalocean/mcp --services apps,droplets,databases- Start Claude Code and type
/mcp. digitalocean should show as connected.
Add --scope user to make it available in every project. Replace the placeholders with your own values.
Claude Desktop
- Open Settings → Developer → Edit Config. It opens
claude_desktop_config.json. Add:
{
"mcpServers": {
"digitalocean": {
"command": "npx",
"args": [
"-y",
"@digitalocean/mcp",
"--services",
"apps,droplets,databases"
],
"env": {
"DIGITALOCEAN_API_TOKEN": "<YOUR_DIGITALOCEAN_API_TOKEN>"
}
}
}
}- Save the file and restart Claude Desktop. Replace the placeholders with your own values.
Needs Node.js on your computer. The file lives in ~/Library/Application Support/Claude/ on macOS and %APPDATA%\Claude\ on Windows.
Cursor
Add to Cursor (opens in a new tab)
Or add it by hand to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project):
{
"mcpServers": {
"digitalocean": {
"command": "npx",
"args": [
"-y",
"@digitalocean/mcp",
"--services",
"apps,droplets,databases"
],
"env": {
"DIGITALOCEAN_API_TOKEN": "<YOUR_DIGITALOCEAN_API_TOKEN>"
}
}
}
}Needs Node.js on your computer. Replace the placeholders with your own values.
VS Code
Add it to .vscode/mcp.json. VS Code asks for the secret the first time and stores it securely:
{
"servers": {
"digitalocean": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@digitalocean/mcp",
"--services",
"apps,droplets,databases"
],
"env": {
"DIGITALOCEAN_API_TOKEN": "${input:digitalocean-api-token}"
}
}
},
"inputs": [
{
"type": "promptString",
"id": "digitalocean-api-token",
"description": "DIGITALOCEAN_API_TOKEN",
"password": true
}
]
}Needs Node.js on your computer.
Devin Desktop
- Add it to
~/.config/devin/mcp_config.json(macOS and Linux) or%APPDATA%\devin\mcp_config.json(Windows):
{
"mcpServers": {
"digitalocean": {
"command": "npx",
"args": [
"-y",
"@digitalocean/mcp",
"--services",
"apps,droplets,databases"
],
"env": {
"DIGITALOCEAN_API_TOKEN": "<YOUR_DIGITALOCEAN_API_TOKEN>"
}
}
}
}- Refresh the MCP server list in Cascade. Replace the placeholders with your own values.
Devin Desktop is the new name for Windsurf.
Codex
codex mcp add digitalocean --env "DIGITALOCEAN_API_TOKEN=<YOUR_DIGITALOCEAN_API_TOKEN>" -- npx -y @digitalocean/mcp --services apps,droplets,databasesOr edit ~/.codex/config.toml directly:
[mcp_servers.digitalocean]
command = "npx"
args = ["-y", "@digitalocean/mcp", "--services", "apps,droplets,databases"]
env = { DIGITALOCEAN_API_TOKEN = "<YOUR_DIGITALOCEAN_API_TOKEN>" }Needs Node.js on your computer. Replace the placeholders with your own values.
Gemini CLI
gemini mcp add -e "DIGITALOCEAN_API_TOKEN=<YOUR_DIGITALOCEAN_API_TOKEN>" digitalocean npx -- -y @digitalocean/mcp --services apps,droplets,databasesThis adds it to the current project. Add -s user to use it everywhere.
Any client
Most clients that start local servers accept this shape:
{
"mcpServers": {
"digitalocean": {
"command": "npx",
"args": [
"-y",
"@digitalocean/mcp",
"--services",
"apps,droplets,databases"
],
"env": {
"DIGITALOCEAN_API_TOKEN": "<YOUR_DIGITALOCEAN_API_TOKEN>"
}
}
}
}Zed puts servers under context_servers in its settings, with the same command, args and env fields.
Needs Node.js on your computer. Replace the placeholders with your own values.
FAQ
Can I paste mcp.tc/i/digitalocean into my MCP client?
No. DigitalOcean runs on your own computer, started by your client, so it has no web address to connect to. The quick link is the page to share; the install command is npx -y @digitalocean/mcp --services apps,droplets,databases.
Does DigitalOcean need an API key?
Yes. It reads DIGITALOCEAN_API_TOKEN from its environment, and DIGITALOCEAN_API_TOKEN is a secret. Put the value in your client’s config on your own machine, never in a shared file.
Is DigitalOcean a remote or a local server?
Local. Your client starts it as a process on your computer with npx -y @digitalocean/mcp --services apps,droplets,databases, which needs Node.js.
What can DigitalOcean do?
You can manage App Platform applications, deployments and configuration, create, resize, snapshot and monitor Droplets and provision and monitor managed database clusters.
Which clients can use it?
Any client that starts local servers: Claude Code, Claude Desktop, Cursor, VS Code, Devin Desktop, Codex, Gemini CLI, Zed and others. claude.ai and ChatGPT only connect to remote servers.
Who wrote this page?
mcp.tc’s robot read DigitalOcean’s public metadata (its package and repository pages), and an AI model drafted the text from it. A person reviews anything the checks can’t confirm. The text can still be wrong, so if you spot a mistake, use Report this listing on this page.
Embed
Show DigitalOcean in a README or on your site. Each embed links to this page, uses the server’s own install command, and sets no cookies. How embeds work
README badge
[](https://mcp.tc/i/digitalocean)<a href="https://mcp.tc/i/digitalocean"><img src="https://mcp.tc/i/digitalocean/badge.svg" alt="DigitalOcean on mcp.tc" height="20"></a>It follows the reader’s light or dark mode. Add ?theme=light or ?theme=dark to fix it, or ?style=compact to show the mark without the word.
Website card
<script src="https://mcp.tc/w/digitalocean.js" async></script>The card appears where the tag is. Add data-theme="dark" or data-size="compact" to the tag to change it. The file holds everything it needs, so it makes no other requests and sets no cookies.
iframe
<iframe src="https://mcp.tc/embed/digitalocean" title="DigitalOcean on mcp.tc" width="420" height="200" loading="lazy" allow="clipboard-write" style="border:0;border-radius:8px;max-width:100%"></iframe>Use it on pages that don’t allow scripts. Add ?theme=light or ?theme=dark to the address to fix the colors.
JSON
The listing as data for your own pages and tools: name, tagline, install command, tools and the “Add to” links. Any site can read it (CORS is open).
https://mcp.tc/i/digitalocean.jsonmcp.tc isn’t affiliated with DigitalOcean. This page was built from DigitalOcean’s public metadata, last checked on 3 Oct 2026, and an AI model wrote the description, so it can be wrong. Names and marks belong to their owners. Something off? Report this listing.