@digitalocean/mcp 1.0.3 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +92 -29
- package/dist/mcp-digitalocean-darwin-amd64 +0 -0
- package/dist/mcp-digitalocean-darwin-arm64 +0 -0
- package/dist/mcp-digitalocean-linux-386 +0 -0
- package/dist/mcp-digitalocean-linux-amd64 +0 -0
- package/dist/mcp-digitalocean-linux-arm +0 -0
- package/dist/mcp-digitalocean-linux-arm64 +0 -0
- package/dist/mcp-digitalocean-windows-386.exe +0 -0
- package/dist/mcp-digitalocean-windows-amd64.exe +0 -0
- package/dist/mcp-digitalocean-windows-arm.exe +0 -0
- package/dist/mcp-digitalocean-windows-arm64.exe +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -14,9 +14,74 @@ Prerequisites:
|
|
|
14
14
|
#### Local Installation
|
|
15
15
|
|
|
16
16
|
```bash
|
|
17
|
-
npx @digitalocean/mcp --services apps
|
|
17
|
+
npx @digitalocean/mcp --services apps
|
|
18
|
+
```
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
#### Using with Claude Code
|
|
22
|
+
|
|
23
|
+
To add the DigitalOcean MCP server to [Claude Code](https://www.anthropic.com/claude-code), run the following command in your terminal:
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
claude mcp add digitalocean-mcp \
|
|
27
|
+
-e DIGITALOCEAN_API_TOKEN=YOUR_DO_API_TOKEN \
|
|
28
|
+
-- npx @digitalocean/mcp --services apps,databases
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
This will:
|
|
32
|
+
|
|
33
|
+
* Add the MCP server under the **default (local)** scope — meaning it's only available inside the current folder.
|
|
34
|
+
* Register it with the name `digitalocean-mcp`.
|
|
35
|
+
* Enable the `apps` and `databases` services.
|
|
36
|
+
* Pass your DigitalOcean API token securely to the server.
|
|
37
|
+
* Store the configuration in your global Claude config at `~/.claude.json`, scoped to the current folder.
|
|
38
|
+
|
|
39
|
+
To confirm it's been added:
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
claude mcp list
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
To inspect details:
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
claude mcp get digitalocean-mcp
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
To remove it:
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
claude mcp remove digitalocean-mcp
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
### Want to use it everywhere?
|
|
60
|
+
**Local scope** is great when you're testing or only using the server in one project.
|
|
61
|
+
**User scope** is better if you want it available everywhere.
|
|
62
|
+
|
|
63
|
+
If you’d like to make the server available **globally** (so you don’t have to re-add it in each project), you can use the `user` scope:
|
|
64
|
+
|
|
65
|
+
```bash
|
|
66
|
+
claude mcp add -s user digitalocean-mcp-user-scope \
|
|
67
|
+
-e DIGITALOCEAN_API_TOKEN=YOUR_DO_API_TOKEN \
|
|
68
|
+
-- npx @digitalocean/mcp --services apps,databases
|
|
18
69
|
```
|
|
19
70
|
|
|
71
|
+
This will:
|
|
72
|
+
|
|
73
|
+
* Make the server available in **all folders**, not just the one you’re in
|
|
74
|
+
* Scope it to **your user account**
|
|
75
|
+
* Store it in your global Claude config at `~/.claude.json`
|
|
76
|
+
|
|
77
|
+
To remove it:
|
|
78
|
+
|
|
79
|
+
```bash
|
|
80
|
+
claude mcp remove -s user digitalocean-mcp-user-scope
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
---
|
|
84
|
+
|
|
20
85
|
#### Using Cursor IDE
|
|
21
86
|
|
|
22
87
|
[](cursor://anysphere.cursor-deeplink/mcp/install?name=digitalocean&config=eyJjb21tYW5kIjoibnB4IEBkaWdpdGFsb2NlYW4vbWNwIC0tc2VydmljZXMgYXBwcyIsImVudiI6eyJESUdJVEFMT0NFQU5fQVBJX1RPS0VOIjoiWU9VUl9ET19UT0tFTiJ9fQ%3D%3D)
|
|
@@ -57,21 +122,30 @@ npx @digitalocean/mcp --services apps,droplets --log-level debug
|
|
|
57
122
|
}
|
|
58
123
|
```
|
|
59
124
|
|
|
125
|
+
## Configuring Tools
|
|
126
|
+
|
|
127
|
+
To configure tools, you use the `--services` flag to specify which service you want to enable. It is highly recommended to only
|
|
128
|
+
enable the services you need to reduce context size and improve accuracy. See list of supported services below.
|
|
129
|
+
|
|
130
|
+
```bash
|
|
131
|
+
npx @digitalocean/mcp --services apps,droplets
|
|
132
|
+
```
|
|
133
|
+
|
|
60
134
|
## Supported Services
|
|
61
135
|
|
|
62
136
|
The MCP DigitalOcean Integration supports the following services, allowing users to manage their DigitalOcean infrastructure effectively
|
|
63
137
|
|
|
64
138
|
| **Service** | **Description** |
|
|
65
139
|
|-----------------|--------------------------------------------------------------------------------------------------------------------|
|
|
66
|
-
| **
|
|
67
|
-
| **
|
|
68
|
-
| **
|
|
69
|
-
| **
|
|
70
|
-
| **
|
|
71
|
-
| **
|
|
72
|
-
| **
|
|
73
|
-
| **
|
|
74
|
-
| **
|
|
140
|
+
| **apps** | Manage DigitalOcean App Platform applications, including deployments and configurations. |
|
|
141
|
+
| **droplets** | Create, manage, resize, snapshot, and monitor droplets (virtual machines) on DigitalOcean. |
|
|
142
|
+
| **accounts** | Get information about your DigitalOcean account, billing, balance, invoices, and SSH keys. |
|
|
143
|
+
| **networking** | Manage domains, DNS records, certificates, firewalls, reserved IPs, VPCs, and CDNs. |
|
|
144
|
+
| **insights** | Monitors your resources, endpoints and alert you when they're slow, unavailable, or SSL certificates are expiring. |
|
|
145
|
+
| **spaces** | DigitalOcean Spaces object storage and Spaces access keys for S3-compatible storage. |
|
|
146
|
+
| **databases** | Provision, manage, and monitor managed database clusters (Postgres, MySQL, Redis, etc.). |
|
|
147
|
+
| **marketplace** | Discover and manage DigitalOcean Marketplace applications. |
|
|
148
|
+
| **doks** | Manage DigitalOcean Kubernetes clusters and node pools. | |
|
|
75
149
|
---
|
|
76
150
|
### Service Documentation
|
|
77
151
|
|
|
@@ -92,28 +166,17 @@ See the following files for full documentation:
|
|
|
92
166
|
|
|
93
167
|
### Example Tool Usage
|
|
94
168
|
|
|
95
|
-
- Deploy an app from a GitHub repo: `
|
|
96
|
-
- Resize a droplet: `
|
|
97
|
-
- Add a new SSH key: `
|
|
98
|
-
- Create a new domain: `
|
|
99
|
-
- Enable backups on a droplet: `
|
|
100
|
-
- Flush a CDN cache: `
|
|
101
|
-
- Create a VPC peering connection: `
|
|
102
|
-
- Delete a VPC peering connection: `
|
|
169
|
+
- Deploy an app from a GitHub repo: `create-app-from-spec`
|
|
170
|
+
- Resize a droplet: `droplet-resize`
|
|
171
|
+
- Add a new SSH key: `key-create`
|
|
172
|
+
- Create a new domain: `domain-create`
|
|
173
|
+
- Enable backups on a droplet: `droplet-enable-backups`
|
|
174
|
+
- Flush a CDN cache: `cdn-flush-cache`
|
|
175
|
+
- Create a VPC peering connection: `vpc-peering-create`
|
|
176
|
+
- Delete a VPC peering connection: `vpc-peering-delete`
|
|
103
177
|
|
|
104
178
|
---
|
|
105
179
|
|
|
106
|
-
|
|
107
|
-
## Configuring Tools
|
|
108
|
-
|
|
109
|
-
To configure tools, you use the `--services` flag to specify which service you want to enable. It is highly recommended to only
|
|
110
|
-
enable the services you need to reduce context size and improve accuracy.
|
|
111
|
-
|
|
112
|
-
```bash
|
|
113
|
-
npx @digitalocean/mcp --services apps,droplets
|
|
114
|
-
```
|
|
115
|
-
|
|
116
|
-
---
|
|
117
180
|
## Contributing
|
|
118
181
|
|
|
119
182
|
Contributions are welcome! If you encounter any issues or have ideas for improvements, feel free to open an issue or submit a pull request.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@digitalocean/mcp",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"description": "DigitalOcean MCP Implementation,",
|
|
5
5
|
"author": "DigitalOcean",
|
|
6
6
|
"homepage": "https://github.com/digitalocean-labs/mcp-digitalocean?tab=readme-ov-file#mcp-digitalocean-integration",
|