@devramps/mcp-server 0.1.6
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/LICENSE +21 -0
- package/README.md +106 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2658 -0
- package/package.json +46 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 DevRamps
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
# DevRamps MCP Server
|
|
2
|
+
|
|
3
|
+
An [MCP (Model Context Protocol)](https://modelcontextprotocol.io) server that enables AI agents and MCP-compatible tools to create, manage, and debug CI/CD pipelines on the [DevRamps](https://devramps.com) platform.
|
|
4
|
+
|
|
5
|
+
Works with Claude Code, Cursor, and any MCP-compatible client.
|
|
6
|
+
|
|
7
|
+
## Setup
|
|
8
|
+
|
|
9
|
+
### Install
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npm install -g @devramps/mcp-server
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
### Configure your MCP client
|
|
16
|
+
|
|
17
|
+
Add the DevRamps MCP server to your client's configuration:
|
|
18
|
+
|
|
19
|
+
```json
|
|
20
|
+
{
|
|
21
|
+
"mcpServers": {
|
|
22
|
+
"devramps": {
|
|
23
|
+
"command": "npx",
|
|
24
|
+
"args": ["@devramps/mcp-server"],
|
|
25
|
+
"env": {
|
|
26
|
+
"DEVRAMPS_API_KEY": "<your api key>",
|
|
27
|
+
"DEVRAMPS_ORG_ID": "<your organization id>",
|
|
28
|
+
"DEVRAMPS_API_URL": "https://devramps.com"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
- **`DEVRAMPS_API_KEY`** (required for API tools) — Create one at [app.devramps.com/settings/api-keys](https://app.devramps.com/settings/api-keys)
|
|
36
|
+
- **`DEVRAMPS_ORG_ID`** (required for API tools) — Your organization ID from the DevRamps dashboard
|
|
37
|
+
- **`DEVRAMPS_API_URL`** (optional) — Override the API endpoint (default: `https://devramps.com`). Set to e.g. `http://localhost:3000` for local development
|
|
38
|
+
|
|
39
|
+
> Local-only tools (`validate-pipeline`, `scaffold-pipeline`, `generate-iam-policies`) work without API credentials.
|
|
40
|
+
|
|
41
|
+
## Tools
|
|
42
|
+
|
|
43
|
+
### Creating Pipelines (local, no API needed)
|
|
44
|
+
|
|
45
|
+
| Tool | Description |
|
|
46
|
+
|------|-------------|
|
|
47
|
+
| `validate-pipeline` | Validate a pipeline definition YAML against the DevRamps schema |
|
|
48
|
+
| `scaffold-pipeline` | Generate a `.devramps/` directory with pipeline config for a project |
|
|
49
|
+
| `generate-iam-policies` | Analyze Terraform files and generate IAM policies |
|
|
50
|
+
|
|
51
|
+
### Pipeline Management (requires API key)
|
|
52
|
+
|
|
53
|
+
| Tool | Description |
|
|
54
|
+
|------|-------------|
|
|
55
|
+
| `list-pipelines` | List all pipelines with status summaries |
|
|
56
|
+
| `get-pipeline-state` | Get detailed state of a pipeline and all its stages |
|
|
57
|
+
| `get-stage-health` | Get health metrics for a stage (success rate, deploy times) |
|
|
58
|
+
| `retry-stage` | Retry a failed stage deployment |
|
|
59
|
+
| `cancel-stage` | Cancel an in-progress stage deployment |
|
|
60
|
+
| `stop-pipeline` | Stop a pipeline from promoting revisions |
|
|
61
|
+
| `start-pipeline` | Resume a stopped pipeline |
|
|
62
|
+
| `stop-stage-promotion` | Block a stage from receiving new revisions |
|
|
63
|
+
| `start-stage-promotion` | Resume promotion for a stage |
|
|
64
|
+
| `bypass-stage-blockers` | Force-bypass blockers on a stage |
|
|
65
|
+
|
|
66
|
+
### Debugging (requires API key)
|
|
67
|
+
|
|
68
|
+
| Tool | Description |
|
|
69
|
+
|------|-------------|
|
|
70
|
+
| `get-step-logs` | Retrieve execution logs for a specific step |
|
|
71
|
+
| `get-pipeline-events` | List pipeline events for deployment history |
|
|
72
|
+
| `list-revisions` | List pipeline revisions with commit info |
|
|
73
|
+
|
|
74
|
+
## Resources
|
|
75
|
+
|
|
76
|
+
| Resource | Description |
|
|
77
|
+
|----------|-------------|
|
|
78
|
+
| `pipeline-schema` | Pipeline definition YAML format reference |
|
|
79
|
+
| `step-type-docs` | Documentation for all available step types |
|
|
80
|
+
|
|
81
|
+
## Prompts
|
|
82
|
+
|
|
83
|
+
| Prompt | Description |
|
|
84
|
+
|--------|-------------|
|
|
85
|
+
| `scaffold-project` | Guided workflow to scaffold a pipeline for a project |
|
|
86
|
+
| `debug-deployment` | Guided workflow to diagnose a failed deployment |
|
|
87
|
+
|
|
88
|
+
## Development
|
|
89
|
+
|
|
90
|
+
```bash
|
|
91
|
+
# Install dependencies
|
|
92
|
+
npm install
|
|
93
|
+
|
|
94
|
+
# Build
|
|
95
|
+
npm run build
|
|
96
|
+
|
|
97
|
+
# Watch mode
|
|
98
|
+
npm run dev
|
|
99
|
+
|
|
100
|
+
# Run tests
|
|
101
|
+
npm test
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
## License
|
|
105
|
+
|
|
106
|
+
MIT
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
#!/usr/bin/env node
|