diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a3ad538..0d9151b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -156,6 +156,9 @@ jobs: package: ${{ fromJson(needs.create-metadata.outputs.npm_packages) }} name: Build ${{ matrix.package }} environment: release + permissions: + contents: read + id-token: write # Required for npm trusted publishing (OIDC) runs-on: ubuntu-latest steps: - uses: actions/checkout@v6 @@ -168,6 +171,10 @@ jobs: cache: npm registry-url: 'https://registry.npmjs.org' + # Trusted publishing requires npm >= 11.5.1; Node 22 bundles an older npm + - name: Update npm for trusted publishing + run: npm install -g npm@latest + - name: Install dependencies working-directory: src/${{ matrix.package }} run: npm ci @@ -186,12 +193,12 @@ jobs: working-directory: src/${{ matrix.package }} run: npm run build + # Authenticates via OIDC trusted publishing (no token) — each package's + # npm trusted publisher is bound to this workflow + the release environment - name: Publish package working-directory: src/${{ matrix.package }} run: | npm publish --access public - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} create-release: needs: [update-packages, create-metadata, publish-pypi, publish-npm] diff --git a/src/everything/README.md b/src/everything/README.md index 34a948a..a5943c6 100644 --- a/src/everything/README.md +++ b/src/everything/README.md @@ -134,3 +134,7 @@ npx @modelcontextprotocol/server-everything sse ```shell npx @modelcontextprotocol/server-everything streamableHttp ``` + +## License + +This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository. diff --git a/src/filesystem/README.md b/src/filesystem/README.md index c099da1..76cabd0 100644 --- a/src/filesystem/README.md +++ b/src/filesystem/README.md @@ -2,6 +2,8 @@ Node.js server implementing Model Context Protocol (MCP) for filesystem operations. +Published on npm as [`@modelcontextprotocol/server-filesystem`](https://www.npmjs.com/package/@modelcontextprotocol/server-filesystem). + ## Features - Read/write files diff --git a/src/memory/README.md b/src/memory/README.md index e9fb37e..0f29423 100644 --- a/src/memory/README.md +++ b/src/memory/README.md @@ -2,6 +2,8 @@ A basic implementation of persistent memory using a local knowledge graph. This lets Claude remember information about the user across chats. +Published on npm as [`@modelcontextprotocol/server-memory`](https://www.npmjs.com/package/@modelcontextprotocol/server-memory). + ## Core Concepts ### Entities diff --git a/src/sequentialthinking/README.md b/src/sequentialthinking/README.md index 45d2c30..b6b853a 100644 --- a/src/sequentialthinking/README.md +++ b/src/sequentialthinking/README.md @@ -2,6 +2,8 @@ An MCP server implementation that provides a tool for dynamic and reflective problem-solving through a structured thinking process. +Published on npm as [`@modelcontextprotocol/server-sequential-thinking`](https://www.npmjs.com/package/@modelcontextprotocol/server-sequential-thinking). + ## Features - Break down complex problems into manageable steps