@yawlabs/lemonsqueezy-mcp 0.9.1 → 0.9.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 CHANGED
@@ -270,7 +270,7 @@ The server exposes one MCP Resource for clients that prefer structural retrieval
270
270
 
271
271
  | URI | MIME type | Contents |
272
272
  | --- | --- | --- |
273
- | `lemonsqueezy://audit-log` | `application/x-ndjson` | The most recent destructive tool calls and outcomes (rate-limit blocks, refund-cap blocks, exceptions, successes). Bounded ring buffer of the last 1000 entries, most-recent-first, resets on server restart. Secret-shaped input fields are redacted before they reach the buffer. |
273
+ | `lemonsqueezy://audit-log` | `application/x-ndjson` | The most recent destructive tool calls and outcomes (rate-limit blocks, refund-cap blocks, exceptions, successes). Bounded ring buffer of the last 1000 entries, most-recent-first, resets on server restart. Redaction runs on the input payload before it reaches the buffer: any object key whose name matches a credential / PII pattern (`secret`, `password`, `token`, `api_key`, `bearer`, `authorization`, `signing_secret`, `private_key`, `pin`, `ssn`, `social_security_number`, `credit_card`, `card_number`, `cvv`, `cvc` — case-insensitive, whole-word) AND any string value matching the JWT bearer-token shape (`eyJ…`-prefixed, three base64url segments) is replaced with `[REDACTED]`. Ordinary identifiers (`licenseKey`, `instanceId`, `storeId`, `orderId`, `webhookId`) and UUID-shaped values are preserved. |
274
274
 
275
275
  ## Operating the server unattended
276
276
 
@@ -300,6 +300,13 @@ npm test # full unit + handler suite
300
300
  npm run test:integration # requires LEMONSQUEEZY_TEST_API_KEY + LEMONSQUEEZY_TEST_STORE_ID
301
301
  ```
302
302
 
303
+ `Containerfile` is generated from `Dockerfile`. After editing `Dockerfile`:
304
+
305
+ ```bash
306
+ npm run gen:containerfile # regenerate Containerfile
307
+ npm run check:containerfile # CI runs this; non-zero exit means the two have drifted
308
+ ```
309
+
303
310
  ## Releasing
304
311
 
305
312
  Two paths from a clean checkout of `main`. Both produce the same artifact (npm publish with provenance + GitHub release).
@@ -323,7 +330,7 @@ git push origin main --follow-tags
323
330
  gh run list --limit 2
324
331
  ```
325
332
 
326
- The tag push triggers `.github/workflows/release.yml`, which runs `release.sh` in CI mode: lint, test, build, npm publish (with `--provenance`) using the org-level `NPM_TOKEN` secret, then GitHub release creation, then a smoke test against the published tarball. No local `npm login` needed.
333
+ The tag push triggers `.github/workflows/release.yml`, which runs `release.sh` in CI mode: lint, test, build, npm publish (with `--provenance`) using the org-level `NPM_TOKEN` secret, then GitHub release creation, then a smoke test against the published tarball, then a publish to the [Official MCP Registry](https://registry.modelcontextprotocol.io) via GitHub OIDC (no `MCP_*` secret needed; the namespace `io.github.YawLabs/*` is authorized purely from the OIDC `repository_owner` claim). No local `npm login` needed.
327
334
 
328
335
  ### 2. Local end-to-end
329
336
 
@@ -338,6 +345,8 @@ npm login --auth-type=web # publisher of @yawlabs/lemonsqueezy-mcp
338
345
  gh auth login # GitHub CLI for the release-creation step
339
346
  ```
340
347
 
348
+ The local path does **not** publish to the Official MCP Registry — that step lives only in CI and depends on a GitHub Actions OIDC token. To push a locally-released version to the registry, install [`mcp-publisher`](https://github.com/modelcontextprotocol/registry/releases), run `mcp-publisher login github` (interactive OAuth), then `mcp-publisher publish` from the repo root.
349
+
341
350
  ## License
342
351
 
343
352
  MIT
package/dist/index.js CHANGED
@@ -32617,7 +32617,7 @@ function readAuditLogResource(uri) {
32617
32617
  }
32618
32618
 
32619
32619
  // src/index.ts
32620
- var version2 = true ? "0.9.1" : (await null).createRequire(import.meta.url)("../package.json").version;
32620
+ var version2 = true ? "0.9.2" : (await null).createRequire(import.meta.url)("../package.json").version;
32621
32621
  var subcommand = process.argv[2];
32622
32622
  if (subcommand === "version" || subcommand === "--version") {
32623
32623
  console.log(version2);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yawlabs/lemonsqueezy-mcp",
3
- "version": "0.9.1",
3
+ "version": "0.9.2",
4
4
  "mcpName": "io.github.YawLabs/lemonsqueezy-mcp",
5
5
  "description": "LemonSqueezy MCP server for managing your store from AI assistants",
6
6
  "license": "MIT",