diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 005fbc3..c58f197 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,12 +1,11 @@ name: Publish Any Commit on: - workflow_dispatch: pull_request: push: branches: - "**" tags: - - "v*" + - "!**" jobs: build: @@ -15,19 +14,14 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 - - - name: Add git.kvant.cloud scope - run: npm config set @kvant:registry=https://git.kvant.cloud/api/packages/${{ github.repository_owner }}/npm/ - - - name: Login to git.kvant.cloud npm - run: npm config set -- '//git.kvant.cloud/api/packages/${{ github.repository_owner }}/npm/:_authToken' "${{ secrets.PHOENIX_PACKAGE_WRITER_TOKEN }}" - name: Setup pnpm & install - uses: https://github.com/wyvox/action-setup-pnpm@v3 + uses: wyvox/action-setup-pnpm@v3 with: node-version: 22 + pnpm-version: 10 - name: Build run: pnpm build - - run: pnpm dlx publish --compact --bin + - run: pnpm dlx pkg-pr-new publish --compact --bin diff --git a/README.md b/README.md index bc0a4a7..bc70b15 100644 --- a/README.md +++ b/README.md @@ -46,11 +46,11 @@ To bypass authentication, or to emit custom headers on all requests to your remo "https://remote.mcp.server/sse", "--header", "Authorization: Bearer ${AUTH_TOKEN}" - ], - "env": { - "AUTH_TOKEN": "..." - } + ] }, + "env": { + "AUTH_TOKEN": "..." + } } } ``` @@ -65,11 +65,11 @@ To bypass authentication, or to emit custom headers on all requests to your remo "https://remote.mcp.server/sse", "--header", "Authorization:${AUTH_HEADER}" // note no spaces around ':' - ], - "env": { - "AUTH_HEADER": "Bearer " // spaces OK in env vars - } + ] }, +"env": { + "AUTH_HEADER": "Bearer " // spaces OK in env vars +} ``` ### Flags diff --git a/package.json b/package.json index bf4892f..b7f3f7f 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "@kvant/mcp-remote", + "name": "mcp-remote", "version": "0.1.5", "description": "Remote proxy for Model Context Protocol, allowing local-only clients to connect to remote servers using oAuth", "keywords": [ @@ -31,7 +31,6 @@ "express": "^4.21.2", "open": "^10.1.0" }, - "packageManager": "pnpm@10.11.0", "devDependencies": { "@modelcontextprotocol/sdk": "^1.11.2", "@types/express": "^5.0.0",