@digitalocean/mcp 1.0.0-aplha.2 → 1.0.0
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 +128 -0
- 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 -2
package/README.md
ADDED
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
# MCP DigitalOcean Integration
|
|
2
|
+
|
|
3
|
+
MCP DigitalOcean Integration is an open-source project that provides a comprehensive interface for managing DigitalOcean resources and performing actions using the [DigitalOcean API](https://docs.digitalocean.com/reference/api/). Built on top of the [godo](https://github.com/digitalocean/godo) library and the [MCP framework](https://github.com/mark3labs/mcp-go), this project exposes a wide range of tools to simplify cloud infrastructure management.
|
|
4
|
+
|
|
5
|
+
> DISCLAIMER: “Use of MCP technology to interact with your DigitalOcean account [can come with risks](https://www.wiz.io/blog/mcp-security-research-briefing)”
|
|
6
|
+
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
Prerequisites:
|
|
10
|
+
|
|
11
|
+
- Node.js (v18 or later)
|
|
12
|
+
- NPM (v8 or later)
|
|
13
|
+
|
|
14
|
+
#### Local Installation
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
npx @digitalocean/mcp --services apps,droplets --log-level debug
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
#### Using Cursor IDE
|
|
21
|
+
|
|
22
|
+
[](cursor://anysphere.cursor-deeplink/mcp/install?name=digitalocean&config=eyJjb21tYW5kIjoibnB4IEBkaWdpdGFsb2NlYW4vbWNwIC0tc2VydmljZXMgYXBwcyIsImVudiI6eyJESUdJVEFMT0NFQU5fQVBJX1RPS0VOIjoiWU9VUl9ET19UT0tFTiJ9fQ%3D%3D)
|
|
23
|
+
|
|
24
|
+
```json
|
|
25
|
+
{
|
|
26
|
+
"mcpServers": {
|
|
27
|
+
"digitalocean": {
|
|
28
|
+
"command": "npx",
|
|
29
|
+
"args": ["@digitalocean/mcp", "--services apps"],
|
|
30
|
+
"env": {
|
|
31
|
+
"DIGITALOCEAN_API_TOKEN": "YOUR_API_TOKEN"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
#### Using VSCode
|
|
39
|
+
```json
|
|
40
|
+
{
|
|
41
|
+
"mcp": {
|
|
42
|
+
"inputs": [],
|
|
43
|
+
"servers": {
|
|
44
|
+
"mcpDigitalOcean": {
|
|
45
|
+
"command": "npx",
|
|
46
|
+
"args": [
|
|
47
|
+
"@digitalocean/mcp",
|
|
48
|
+
"--services",
|
|
49
|
+
"apps"
|
|
50
|
+
],
|
|
51
|
+
"env": {
|
|
52
|
+
"DIGITALOCEAN_API_TOKEN": "YOUR_API_TOKEN"
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
## Supported Services
|
|
61
|
+
|
|
62
|
+
The MCP DigitalOcean Integration supports the following services, allowing users to manage their DigitalOcean infrastructure effectively
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
| **Service** | **Description** |
|
|
66
|
+
|----------------|---------------------------------------------------------------------------------------------------------------------|
|
|
67
|
+
| **Apps** | Manage DigitalOcean App Platform applications, including deployments and configurations. |
|
|
68
|
+
| **Droplets** | Create, manage, resize, snapshot, and monitor droplets (virtual machines) on DigitalOcean. |
|
|
69
|
+
| **Account** | Get information about your DigitalOcean account, billing, balance, invoices, and SSH keys. |
|
|
70
|
+
| **Networking** | Manage domains, DNS records, certificates, firewalls, reserved IPs, VPCs, CDNs, and Partner Network attachments. |
|
|
71
|
+
| **Insights** | Monitors your resources, endpoints and alert you when they're slow, unavailable, or SSL certificates are expiring. |
|
|
72
|
+
| **Spaces** | DigitalOcean Spaces object storage and Spaces access keys for S3-compatible storage. |
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
---
|
|
76
|
+
### Service Documentation
|
|
77
|
+
|
|
78
|
+
Each service provides a detailed README describing all available tools, resources, arguments, and example queries.
|
|
79
|
+
See the following files for full documentation:
|
|
80
|
+
|
|
81
|
+
- [Apps Service](./internal/apps/README.md)
|
|
82
|
+
- [Droplet Service](./internal/droplet/README.md)
|
|
83
|
+
- [Account Service](./internal/account/README.md)
|
|
84
|
+
- [Networking Service](./internal/networking/README.md)
|
|
85
|
+
- [DBaaS Service](./internal/dbaas/README.md)
|
|
86
|
+
- [Insights Service](./internal/insights/README.md)
|
|
87
|
+
- [Spaces Service](./internal/spaces/README.md)
|
|
88
|
+
|
|
89
|
+
---
|
|
90
|
+
|
|
91
|
+
### Example Tool Usage
|
|
92
|
+
|
|
93
|
+
- Deploy an app from a GitHub repo: `digitalocean-create-app-from-spec`
|
|
94
|
+
- Resize a droplet: `digitalocean-droplet-resize`
|
|
95
|
+
- Add a new SSH key: `digitalocean-key-create`
|
|
96
|
+
- Create a new domain: `digitalocean-domain-create`
|
|
97
|
+
- Enable backups on a droplet: `digitalocean-droplet-enable-backups`
|
|
98
|
+
- Flush a CDN cache: `digitalocean-cdn-flush-cache`
|
|
99
|
+
- Create a VPC peering connection: `digitalocean-vpc-peering-create`
|
|
100
|
+
- Delete a VPC peering connection: `digitalocean-vpc-peering-delete`
|
|
101
|
+
|
|
102
|
+
---
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
## Configuring Tools
|
|
106
|
+
|
|
107
|
+
To configure tools, you use the `--services` flag to specify which service you want to enable. It is highly recommended to only
|
|
108
|
+
enable the services you need to reduce context size and improve accuracy.
|
|
109
|
+
|
|
110
|
+
```bash
|
|
111
|
+
npx @digitalocean/mcp --services apps,droplets
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
---
|
|
115
|
+
## Contributing
|
|
116
|
+
|
|
117
|
+
Contributions are welcome! If you encounter any issues or have ideas for improvements, feel free to open an issue or submit a pull request.
|
|
118
|
+
|
|
119
|
+
### How to Contribute
|
|
120
|
+
1. Fork the repository.
|
|
121
|
+
2. Create a new branch for your feature or bug fix.
|
|
122
|
+
3. Submit a pull request with a clear description of your changes.
|
|
123
|
+
|
|
124
|
+
---
|
|
125
|
+
|
|
126
|
+
## License
|
|
127
|
+
|
|
128
|
+
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
|
|
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,9 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@digitalocean/mcp",
|
|
3
|
-
"version": "1.0.0
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "DigitalOcean MCP Implementation,",
|
|
5
5
|
"author": "DigitalOcean",
|
|
6
|
-
"readme": "../../README.md",
|
|
7
6
|
"homepage": "https://github.com/digitalocean-labs/mcp-digitalocean?tab=readme-ov-file#mcp-digitalocean-integration",
|
|
8
7
|
"license": "MIT",
|
|
9
8
|
"keywords": [
|