From df815035b067ae77ae3a6aa0a0053d061cb9ecaa Mon Sep 17 00:00:00 2001 From: Jake Wang Date: Wed, 8 Jul 2026 20:12:28 -0400 Subject: [PATCH 1/2] fix: shorten server.json description to <=100 chars (MCP Registry limit) --- server.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.json b/server.json index 18d6545..631a5b4 100644 --- a/server.json +++ b/server.json @@ -1,7 +1,7 @@ { "$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json", "name": "io.github.argon-lab/argon", - "description": "Versioned MongoDB sandboxes for AI agents — branch, time-travel, diff/merge, and undo a MongoDB database over MCP.", + "description": "Versioned MongoDB sandboxes for AI agents: branch, time-travel, merge, and undo over MCP.", "repository": { "url": "https://github.com/argon-lab/argon", "source": "github" From 0a8ea18a77abc366709e46d33071703b10b7a2ff Mon Sep 17 00:00:00 2001 From: Jake Wang Date: Wed, 8 Jul 2026 20:14:34 -0400 Subject: [PATCH 2/2] ci: enable npm auto-publish on release (uses NPM_TOKEN secret) --- .github/workflows/release.yml | 38 ++++++++++++++++++----------------- 1 file changed, 20 insertions(+), 18 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f969e10..1aade67 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -71,21 +71,23 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - # publish-npm: - # name: Publish to npm - # needs: release - # runs-on: ubuntu-latest - # steps: - # - uses: actions/checkout@v4 - # - # - name: Setup Node.js - # uses: actions/setup-node@v3 - # with: - # node-version: '18' - # registry-url: 'https://registry.npmjs.org' - # - # - name: Publish to npm - # working-directory: ./npm - # run: npm publish --access public - # env: - # NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file + publish-npm: + name: Publish to npm + needs: release + runs-on: ubuntu-latest + # Requires an NPM_TOKEN repo secret — an npm "Automation" (or granular, + # 2FA-bypass) token that owns argonctl, so CI can publish without an OTP. + steps: + - uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v3 + with: + node-version: '18' + registry-url: 'https://registry.npmjs.org' + + - name: Publish to npm + working-directory: ./npm + run: npm publish --access public + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file