lazy-mcp 2.1.22 → 2.2.2
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 +26 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -21,6 +21,7 @@ A proxy tool that converts normal MCP servers to use a lazy-loading pattern, dra
|
|
|
21
21
|
- [`GITLAB_RELEASE_TOKEN`](#gitlabreleasetoken)
|
|
22
22
|
- [`NPM_TOKEN`](#npmtoken)
|
|
23
23
|
- [`PYPI_TOKEN`](#pypitoken)
|
|
24
|
+
- [`CARGO_TOKEN`](#cargotoken)
|
|
24
25
|
- [Configuration Reference](#configuration-reference)
|
|
25
26
|
- [Server Configuration Fields](#server-configuration-fields)
|
|
26
27
|
- [OAuth 2.0 Authentication](#oauth-20-authentication)
|
|
@@ -60,6 +61,12 @@ brew tap gitlab-org/lazy-mcp https://gitlab.com/gitlab-org/ai/lazy-mcp
|
|
|
60
61
|
brew install lazy-mcp
|
|
61
62
|
```
|
|
62
63
|
|
|
64
|
+
**Cargo** (if you have Rust installed):
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
cargo install lazy-mcp
|
|
68
|
+
```
|
|
69
|
+
|
|
63
70
|
**If you have Python / uv** (no Node.js required):
|
|
64
71
|
|
|
65
72
|
```bash
|
|
@@ -205,13 +212,14 @@ No manual version bumping or tagging needed — just merge to `main` with conven
|
|
|
205
212
|
|
|
206
213
|
### Required CI/CD Variables
|
|
207
214
|
|
|
208
|
-
|
|
215
|
+
Four CI/CD variables must be configured (GitLab → Project → Settings → CI/CD → Variables):
|
|
209
216
|
|
|
210
217
|
| Variable | Description |
|
|
211
218
|
|----------|-------------|
|
|
212
219
|
| `GITLAB_RELEASE_TOKEN` | Project access token — pushes the release commit + tag to `main` and creates the GitLab Release |
|
|
213
220
|
| `NPM_TOKEN` | npm automation token — publishes the package to the npm registry on tag pipelines |
|
|
214
221
|
| `PYPI_TOKEN` | PyPI API token — publishes the package to PyPI on tag pipelines |
|
|
222
|
+
| `CARGO_TOKEN` | crates.io API token — publishes the crate to crates.io on tag pipelines |
|
|
215
223
|
|
|
216
224
|
#### `GITLAB_RELEASE_TOKEN`
|
|
217
225
|
|
|
@@ -266,6 +274,23 @@ Three CI/CD variables must be configured (GitLab → Project → Settings → CI
|
|
|
266
274
|
| Masked | ✅ Yes |
|
|
267
275
|
| Protected | ✅ Yes (only needed on tag pipelines, which are protected) |
|
|
268
276
|
|
|
277
|
+
#### `CARGO_TOKEN`
|
|
278
|
+
|
|
279
|
+
**Creating the token** (crates.io → Account Settings → API Tokens → New Token):
|
|
280
|
+
|
|
281
|
+
| Setting | Value |
|
|
282
|
+
|---------|-------|
|
|
283
|
+
| Token name | `lazy-mcp-ci` (or any name) |
|
|
284
|
+
| Scopes | `publish-new`, `publish-update` |
|
|
285
|
+
|
|
286
|
+
**Adding the variable:**
|
|
287
|
+
|
|
288
|
+
| Setting | Value |
|
|
289
|
+
|---------|-------|
|
|
290
|
+
| Key | `CARGO_TOKEN` |
|
|
291
|
+
| Masked | ✅ Yes |
|
|
292
|
+
| Protected | ✅ Yes (only needed on tag pipelines, which are protected) |
|
|
293
|
+
|
|
269
294
|
## Configuration Reference
|
|
270
295
|
|
|
271
296
|
### Server Configuration Fields
|