devenv-mcp 0.1.0 → 0.3.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 +106 -14
- package/dist/index.js +4705 -1320
- package/package.json +12 -5
package/README.md
CHANGED
|
@@ -4,23 +4,34 @@ Instant infrastructure from your IDE. No dashboards. No copy-pasting tokens. **N
|
|
|
4
4
|
|
|
5
5
|
## What is this?
|
|
6
6
|
|
|
7
|
-
An MCP (Model Context Protocol) server that lets AI coding assistants provision cloud services and
|
|
7
|
+
An MCP (Model Context Protocol) server with **89 tools** that lets AI coding assistants provision cloud services, deploy apps, and manage developer workflows - all without you ever leaving your terminal.
|
|
8
8
|
|
|
9
9
|
## Features
|
|
10
10
|
|
|
11
|
-
- **Instant databases** - PostgreSQL
|
|
12
|
-
- **
|
|
13
|
-
- **
|
|
11
|
+
- **Instant databases** - PostgreSQL, MySQL, SQLite, Redis, MongoDB in seconds
|
|
12
|
+
- **Multi-platform deploy** - Deploy to Vercel or Railway with one command
|
|
13
|
+
- **Neon OAuth integration** - Connect your Neon account for permanent databases that show in your dashboard
|
|
14
|
+
- **Database branching** - Create instant dev/test copies, reset branches, manage connections
|
|
15
|
+
- **Deployment management** - Roll back deployments, promote previews to production, delete old deployments
|
|
16
|
+
- **Resource cleanup** - Auto-expire temporary resources and clean up unused infrastructure
|
|
17
|
+
- **6 project templates** - Next.js, API, Fullstack, Static, AI App, SaaS Starter
|
|
14
18
|
- **Encrypted storage** - All credentials stored locally with AES-256-GCM
|
|
15
|
-
- **
|
|
19
|
+
- **7 cloud providers** - Neon, Vercel, Supabase, Turso, Upstash, Cloudflare R2, Railway
|
|
20
|
+
- **AI DevOps** - Query optimization, security audits, migration generation
|
|
16
21
|
|
|
17
22
|
## Supported Services
|
|
18
23
|
|
|
19
24
|
| Service | Instant (Temp) | Permanent Account | Status |
|
|
20
25
|
|---------|----------------|-------------------|--------|
|
|
21
26
|
| Neon PostgreSQL | ✅ | ✅ | Ready |
|
|
22
|
-
| Vercel |
|
|
23
|
-
|
|
|
27
|
+
| Vercel | ✅ (via CLI) | ✅ (via CLI auth) | Ready |
|
|
28
|
+
| Railway | ✅ | ✅ | Ready |
|
|
29
|
+
| Supabase | ✅ | - | Ready |
|
|
30
|
+
| Turso SQLite | ✅ | - | Ready |
|
|
31
|
+
| Upstash Redis | ✅ | - | Ready |
|
|
32
|
+
| Cloudflare R2 | ✅ | - | Ready |
|
|
33
|
+
|
|
34
|
+
> **Note**: "Permanent Account" via browser automation is experimental and may break if providers change their UI. CLI-based authentication (Vercel, Railway) is more reliable.
|
|
24
35
|
|
|
25
36
|
## Quick Start
|
|
26
37
|
|
|
@@ -76,6 +87,32 @@ Claude: [runs CREATE TABLE]
|
|
|
76
87
|
| `devenv_inject` | Inject credentials into .env file |
|
|
77
88
|
| `devenv_query` | Run SQL queries directly |
|
|
78
89
|
|
|
90
|
+
### Neon Account Management
|
|
91
|
+
|
|
92
|
+
| Tool | Description |
|
|
93
|
+
|------|-------------|
|
|
94
|
+
| `devenv_neon_connect` | Connect your Neon account via OAuth or API key |
|
|
95
|
+
| `devenv_neon_status` | Check connection status and list projects |
|
|
96
|
+
| `devenv_neon_disconnect` | Remove stored Neon credentials |
|
|
97
|
+
| `devenv_neon_branches` | List, create, delete, or reset database branches |
|
|
98
|
+
| `devenv_neon_branch_connection` | Get connection string for a specific branch |
|
|
99
|
+
| `devenv_neon_delete` | Delete a Neon project |
|
|
100
|
+
|
|
101
|
+
### Vercel Deployment Management
|
|
102
|
+
|
|
103
|
+
| Tool | Description |
|
|
104
|
+
|------|-------------|
|
|
105
|
+
| `devenv_vercel_deployments` | List recent deployments for a project |
|
|
106
|
+
| `devenv_vercel_rollback` | Roll back to a previous deployment |
|
|
107
|
+
| `devenv_vercel_promote` | Promote a preview deployment to production |
|
|
108
|
+
| `devenv_vercel_delete` | Delete a deployment or entire project |
|
|
109
|
+
|
|
110
|
+
### Resource Cleanup
|
|
111
|
+
|
|
112
|
+
| Tool | Description |
|
|
113
|
+
|------|-------------|
|
|
114
|
+
| `devenv_cleanup` | Clean up expired vault entries and resources |
|
|
115
|
+
|
|
79
116
|
### Email Verification
|
|
80
117
|
|
|
81
118
|
| Tool | Description |
|
|
@@ -121,6 +158,53 @@ devenv_query({
|
|
|
121
158
|
})
|
|
122
159
|
```
|
|
123
160
|
|
|
161
|
+
### Connect Neon Account (Recommended)
|
|
162
|
+
|
|
163
|
+
```
|
|
164
|
+
// Connect via OAuth - opens browser, you click one button, done
|
|
165
|
+
devenv_neon_connect({ method: "oauth" })
|
|
166
|
+
|
|
167
|
+
// Or connect via API key if you already have one
|
|
168
|
+
devenv_neon_connect({ method: "api_key", api_key: "neon_api_..." })
|
|
169
|
+
|
|
170
|
+
// Now databases show in your Neon dashboard
|
|
171
|
+
devenv_provision({
|
|
172
|
+
service: "neon",
|
|
173
|
+
project_name: "my-app"
|
|
174
|
+
})
|
|
175
|
+
```
|
|
176
|
+
|
|
177
|
+
### Database Branching
|
|
178
|
+
|
|
179
|
+
```
|
|
180
|
+
// Create a dev branch from main
|
|
181
|
+
devenv_neon_branches({
|
|
182
|
+
action: "create",
|
|
183
|
+
project_id: "project-123",
|
|
184
|
+
branch_name: "feature-dev"
|
|
185
|
+
})
|
|
186
|
+
|
|
187
|
+
// Reset branch to match main
|
|
188
|
+
devenv_neon_branches({
|
|
189
|
+
action: "reset",
|
|
190
|
+
project_id: "project-123",
|
|
191
|
+
branch_id: "br_abc123"
|
|
192
|
+
})
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
### Deployment Rollback
|
|
196
|
+
|
|
197
|
+
```
|
|
198
|
+
// List recent deployments
|
|
199
|
+
devenv_vercel_deployments({ project_path: "./my-app" })
|
|
200
|
+
|
|
201
|
+
// Roll back to previous deployment
|
|
202
|
+
devenv_vercel_rollback({
|
|
203
|
+
project_path: "./my-app",
|
|
204
|
+
deployment_url: "https://my-app-abc123.vercel.app"
|
|
205
|
+
})
|
|
206
|
+
```
|
|
207
|
+
|
|
124
208
|
## How It Works
|
|
125
209
|
|
|
126
210
|
```
|
|
@@ -197,13 +281,21 @@ For automatic email verification:
|
|
|
197
281
|
|
|
198
282
|
## Roadmap
|
|
199
283
|
|
|
200
|
-
- [x]
|
|
201
|
-
- [x]
|
|
202
|
-
- [x]
|
|
203
|
-
- [
|
|
204
|
-
- [
|
|
205
|
-
- [
|
|
206
|
-
- [
|
|
284
|
+
- [x] Phase 1: Core Infrastructure (Neon, encrypted vault)
|
|
285
|
+
- [x] Phase 2: Developer Workflow (dev servers, testing, linting)
|
|
286
|
+
- [x] Phase 3: Project Scaffolding (6 templates)
|
|
287
|
+
- [x] Phase 4: Observability (health checks, cost tracking)
|
|
288
|
+
- [x] Phase 5: AI DevOps (query optimization, security audits)
|
|
289
|
+
- [x] Phase 6: Multi-platform Deploy (Vercel, Railway)
|
|
290
|
+
- [x] Phase 7: Telemetry & Analytics
|
|
291
|
+
- [ ] Phase 8: Plugin system for custom providers
|
|
292
|
+
- [ ] Phase 9: Team collaboration features
|
|
293
|
+
|
|
294
|
+
## Telemetry
|
|
295
|
+
|
|
296
|
+
DevEnv collects anonymous usage data to help improve the product. No personal information is collected.
|
|
297
|
+
|
|
298
|
+
**Opt out**: Set `DEVENV_TELEMETRY_DISABLED=1` or `DO_NOT_TRACK=1`
|
|
207
299
|
|
|
208
300
|
## License
|
|
209
301
|
|