diff --git a/.github/workflows/beta-release.yml b/.github/workflows/beta-release.yml index 5944ac73..5a64813f 100644 --- a/.github/workflows/beta-release.yml +++ b/.github/workflows/beta-release.yml @@ -19,7 +19,7 @@ jobs: - name: "Set up Node.js" uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 with: - node-version: 22.x + node-version: 24.22.3 registry-url: "https://registry.npmjs.org/" - name: "Install dependencies" diff --git a/.github/workflows/bump-version.yml b/.github/workflows/bump-version.yml index 52b7d66e..fe99aae5 100644 --- a/.github/workflows/bump-version.yml +++ b/.github/workflows/bump-version.yml @@ -36,9 +36,9 @@ jobs: fetch-depth: 0 - name: "Set up Node.js" - uses: actions/setup-node@v4 + uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 with: - node-version: 22.x + node-version: 24.22.3 - name: "Compute and apply version bump" id: bump diff --git a/.github/workflows/mcp-ci.yml b/.github/workflows/mcp-ci.yml index bcb8e119..a1b745d2 100644 --- a/.github/workflows/mcp-ci.yml +++ b/.github/workflows/mcp-ci.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: - node-version: [22.x] + node-version: [22.23.5, 24.22.3] steps: - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0 diff --git a/.github/workflows/mcp-registry-publish.yml b/.github/workflows/mcp-registry-publish.yml index fda676b4..83562229 100644 --- a/.github/workflows/mcp-registry-publish.yml +++ b/.github/workflows/mcp-registry-publish.yml @@ -20,7 +20,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0 with: - node-version: "lts/*" + node-version: 24.22.3 - name: Install dependencies run: npm ci diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 4493d7e8..ccfd597d 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -20,7 +20,7 @@ jobs: - name: "Set up Node.js" uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 with: - node-version: 22.x + node-version: 24.22.3 registry-url: "https://registry.npmjs.org/" - name: "Install dependencies" diff --git a/.nvmrc b/.nvmrc index 379b25d1..229b3ce8 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v22.1.0 +24.22.3 diff --git a/README.md b/README.md index d021324d..d160605b 100644 --- a/README.md +++ b/README.md @@ -54,11 +54,11 @@ Click on the buttons below to install MCP in your respective IDE or assistant: For manual setup in any MCP client, see [Install the MCP server locally](https://www.browserstack.com/docs/browserstack-mcp-server/get-started/local-mcp) or [Set up the remote MCP server](https://www.browserstack.com/docs/browserstack-mcp-server/get-started/remote-mcp-server). -#### Note : Ensure you are using Node version >= `22` -- Check your node version using `node --version`. Recommended version: `v22.15.0` (LTS) +#### Note : Ensure you are using Node version >= `22.23.5` +- Check your node version using `node --version`. Recommended version: `v24.22.3` (current), minimum `v22.23.5`. - To Upgrade Node : -- 1. On macOS `(Homebrew) - brew update && brew upgrade node or if using (nvm) - nvm install 22.15.0 && nvm use 22.15.0 && nvm alias default 22.15.0` -- 2. On Windows `(nvm-windows) : nvm install 22.15.0 && nvm use 22.15.0` +- 1. On macOS `(Homebrew) - brew update && brew upgrade node or if using (nvm) - nvm install 24.22.3 && nvm use 24.22.3 && nvm alias default 24.22.3` +- 2. On Windows `(nvm-windows) : nvm install 24.22.3 && nvm use 24.22.3` - 👉 Or directly download the Node.js LTS Installer ## 🪄 Agent-assisted setup diff --git a/llms-install.md b/llms-install.md index cf1b8598..cb093f30 100644 --- a/llms-install.md +++ b/llms-install.md @@ -9,7 +9,7 @@ Exposes BrowserStack's Test Platform as MCP tools: run and debug tests on real b ## Prerequisites - A BrowserStack account. Sign up at https://www.browserstack.com/users/sign_up. Open-source projects can request a free plan at https://www.browserstack.com/open-source. -- For the local (stdio) install only: Node.js 20.9 or newer. Node 22 LTS is recommended. Check with `node --version`. +- For the local (stdio) install only: Node.js 22.23.5 or newer (24.22.3 recommended). Check with `node --version`. ## Option A: hosted remote server (recommended, no install) @@ -133,7 +133,7 @@ Optional environment variables for the local server: ## Troubleshooting - `401` or OAuth loop on the remote server: the user must complete the sign-in in the browser window the client opens. If the client does not support OAuth, use Option B. -- Local server fails to start: check `node --version` is 20.9 or newer, and that both env vars are set with no surrounding quotes or whitespace. +- Local server fails to start: check `node --version` is 22.23.5 or newer, and that both env vars are set with no surrounding quotes or whitespace. - Tools missing from the list: some clients cap the number of tools they load. The server exposes about 50 tools; if the client has a limit, disable other servers or use its tool filter. - Further help: https://github.com/browserstack/mcp-server/issues diff --git a/package-lock.json b/package-lock.json index f717cbb5..1b685236 100644 --- a/package-lock.json +++ b/package-lock.json @@ -40,7 +40,7 @@ "vitest": "^4.0.16" }, "engines": { - "node": ">=20.9.0" + "node": ">=22.23.5" } }, "node_modules/@emnapi/runtime": { diff --git a/package.json b/package.json index deb59cc3..769d969c 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "automation" ], "engines": { - "node": ">=20.9.0" + "node": ">=22.23.5" }, "author": "", "license": "AGPL-3.0-only",