An MCP server for controlling multiple browser sessions in parallel through a numeric session ID model. It supports local Playwright, Browserbase, Anchor Browser, and Cloudflare Browser Run providers, and exposes session management plus browser automation tools like navigate, click, fill, screenshot, and evaluate.
From the registry: MCP server for parallel browser automation across multiple providers.
$ npm install cloakbrowserhttps://cloakbrowser.dev/Please install the `parallel-browser-mcp` MCP server into my current AI client (that's you).
Required prerequisites (do these first if not already done):
- **Node.js and npm/npx** — Install Node.js so you can run the MCP server via npx.
Optional prerequisites:
- Optional: CloakBrowser peer dependency — Install the optional cloakbrowser package only if you want the Playwright provider to launch stealth Chromium with PLAYWRIGHT_USE_CLOAKBROWSER=true or equivalent config. Run: `npm install cloakbrowser` (https://cloakbrowser.dev/)
- Provider credentials — Set up credentials only for the browser provider(s) you plan to use. Playwright requires none. Browserbase requires BROWSERBASE_API_KEY and a project ID via BROWSERBASE_PROJECT_ID or BROWSER_MCP_CONFIG. Anchor requires ANCHOR_API_KEY. Cloudflare requires CLOUDFLARE_API_TOKEN and CLOUDFLARE_ACCOUNT_ID.
Canonical MCP server config (stdio transport):
- command: `npx`
- args: ["parallel-browser-mcp@latest"]
- optional environment variables:
- `BROWSER_MCP_CONFIG`: JSON string with server-wide provider configuration, such as defaultProvider and provider-specific options. (example: `{"defaultProvider":"playwright","providers":{"playwright":{"launchOptions":{"headless":true}}}}`)
- `BROWSER_MCP_CONFIG_PATH`: Path to a configuration file containing the browser MCP config JSON. Used if BROWSER_MCP_CONFIG is not set. (example: `<path-to-browser-mcp-config.json>`)
- `BROWSERBASE_API_KEY`: Required when using the browserbase provider. (example: `<your-browserbase-api-key>`)
- `BROWSERBASE_PROJECT_ID`: Browserbase project ID. Required for browserbase unless projectId is supplied in BROWSER_MCP_CONFIG. (example: `<your-browserbase-project-id>`)
- `BROWSERBASE_KEEP_ALIVE`: Optional Browserbase keep-alive setting. (example: `<true-or-false>`)
- `BROWSERBASE_CONTEXT_ID`: Optional Browserbase context ID. (example: `<your-browserbase-context-id>`)
- `BROWSERBASE_PERSIST`: Optional Browserbase persistence setting. (example: `<true-or-false>`)
- `ANCHOR_API_KEY`: Required when using the anchor provider. (example: `<your-anchor-api-key>`)
- `CLOUDFLARE_API_TOKEN`: Required when using the cloudflare provider. (example: `<your-cloudflare-api-token>`)
- `CLOUDFLARE_ACCOUNT_ID`: Required when using the cloudflare provider. (example: `<your-cloudflare-account-id>`)
- `PLAYWRIGHT_STORAGE_STATE_PATH`: Optional path to a Playwright storage state file. (example: `<path-to-storage-state.json>`)
- `PLAYWRIGHT_EXECUTABLE_PATH`: Optional path to a Playwright browser executable. (example: `<path-to-browser-executable>`)
- `PLAYWRIGHT_CHANNEL`: Optional Playwright browser channel. (example: `<browser-channel>`)
- `PLAYWRIGHT_USE_CLOAKBROWSER`: Set to true to launch stealth Chromium via CloakBrowser for the Playwright provider. Requires the optional cloakbrowser package to be installed. (example: `<true-or-false>`)
Note: The simplest install path is running the published package over stdio with npx. The server reads configuration in this order: BROWSER_MCP_CONFIG, then BROWSER_MCP_CONFIG_PATH, then direct env defaults, then built-in defaults. By default, the recommended configuration uses the playwright provider, which requires no credentials.
Add this MCP server to my current client's config in the correct format for you. If you need secrets or credentials I haven't provided, ASK me — do not invent values or leave raw placeholders. After adding it, tell me how to verify the server is connected.BROWSERBASE_API_KEYrequiredAPI key for Browserbase provider accessBROWSERBASE_PROJECT_IDBrowserbase project ID; can also be set in configANCHOR_API_KEYrequiredAPI key for Anchor Browser provider accessCLOUDFLARE_API_TOKENrequiredCloudflare API token for Browser Run accessCLOUDFLARE_ACCOUNT_IDrequiredCloudflare account ID for Browser Run accessAI orchestration with hive-mind swarms, neural networks, and 87 MCP tools for enterprise dev.