Skip to main content
Glama
NexBrowser MCP Server

NexBrowser MCP Server

Official
by nex-browser

nex_browser_connect

Connects a NexBrowser window to create an isolated browser automation session, using the active team by default and optionally starting a closed window when needed.

Instructions

For nexbrowser-mcp browser tasks, use a NexBrowser environment by default. Connects one window (active team by default) and creates an isolated automation session; startIfNeeded=true opens a closed window. For several windows, call nex_browser_open once with all IDs, then connect each with startIfNeeded=false. Page CAPTCHA: default to nex_captcha_product_schema, collect real page inputs with permitted tools, then use free nex_captcha_detect with productCode/adapter. Confirm application capability before NexCaptcha buy/query and apply the result in the original page. nex_browser_captcha_prepare is optional; never bypass browser permissions.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "windowId": "<windowId>"
    },
    "name": "nex_browser_connect"
  }
}

Input Schema

NameRequiredDescriptionDefault
teamIdNoOptional team ID. Omit it to use the team currently selected in NexBrowser.
windowIdYes
startIfNeededNoExplicitly start one window when it is not running. Keep false after a multi-window batch open.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv2026.11.3
    • removedInput schema / properties / teamId / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "number"
      -  }
      -]
    • addedInput schema / properties / teamId / type
      Added value: +[
      +  "string",
      +  "number"
      +]
    • removedInput schema / properties / windowId / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "number"
      -  }
      -]
    • addedInput schema / properties / windowId / type
      Added value: +[
      +  "string",
      +  "number"
      +]
  2. Changed1 schema field changedv2026.8.14
    • changedInput schema / properties / startIfNeeded / description
      Previous value: -"Explicitly start the window when it is not running."New value: +"Explicitly start one window when it is not running. Keep false after a multi-window batch open."
  3. First observedv1.0.3

TDQS

A3.9/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full load and does disclose non-obvious behavior: team scoping comes from the currently selected team, the session is isolated, and startIfNeeded opens a stopped window rather than failing. It omits lifecycle facts (is the session persistent, what happens on connecting an already-connected window, does it fail on invalid windowId), which is why it is not a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The connect-specific content is front-loaded and tight, but roughly half the text is a captcha workflow (product schema, detect, buy/query confirmation, captcha_prepare) that does not describe connecting and would be better placed on the captcha tools. Those sentences do not earn their place in this definition.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Three parameters, no annotations, no output schema; the description explains invocation well but says nothing about what a successful connect yields or the natural next step (navigate vs. connection_info). For a session-establishing tool that omission leaves the agent guessing at the post-connect state.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 67% and the description mostly restates what the schema already declares for teamId ("active team by default") and startIfNeeded ("opens a closed window"). The required windowId — the parameter an agent is most likely to get wrong — is never explained (where to obtain it, e.g. from nex_browser_list).

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Connects one window (active team by default) and creates an isolated automation session" gives a specific verb plus the two effects of the call, which an agent can distinguish from nex_browser_open (batch open) and nex_browser_disconnect. The long CAPTCHA/CAPTCHA-product digression dilutes the core statement and belongs to other tools, keeping it short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit default posture ("use a NexBrowser environment by default"), an alternative routine for the multi-window case ("call nex_browser_open once with all IDs, then connect each with startIfNeeded=false"), and a named opt-in for captcha prep. The agent gets both when-to-use and which sibling to use instead.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools