Skip to main content
Glama
camoufox-reverse-mcp

camoufox-reverse-mcp

launch_browser

Starts the Camoufox anti-detection browser or attaches to a running instance, with headless, OS fingerprint, locale, proxy, and tracing options for JavaScript reverse engineering and bot-detection bypass.

Instructions

Launch the Camoufox anti-detection browser, or attach to a running one.

Leave out any option you do not need to change. It then keeps the value the server was started with (for example --headless), or the default below if the server did not set one. An option passed here wins for this launch.

Args: headless: Run in headless mode (default False). os_type: OS fingerprint - "auto", "windows", "macos", or "linux" (default "auto"). locale: Browser locale (e.g. "zh-CN"). "auto" detects system locale (default "auto"). proxy: Proxy server URL (e.g. "http://127.0.0.1:7890"). humanize: Enable humanized mouse movement. geoip: Auto-infer geolocation from proxy IP. block_images: Block image loading. block_webrtc: Block WebRTC to prevent IP leaks. enable_trace: Enable engine-level property access tracing. Requires camoufox-reverse custom browser build. When enabled, use trace_property_access() to capture DOM access. trace_objects: Optional exact native object-name allowlist (for example ["navigator", "screen", "webgl"]). Empty traces all native sites declared by the selected reverse build. trace_max_events: Per Firefox process/session event cap (1..200000). browser_version: Select one already-installed Camoufox 0.5+ browser without changing its persistent active version. Use a repo-qualified selector such as "official/beta.30" or "whitenightshadow/152.0.4-beta.30-reverse.5". Omit it to preserve the active/default behavior, including Camoufox 0.4.x installations. The selected browser must match the active browser's exact version/build because Camoufox reads shared resources from active. ws_endpoint: Attach to an already-running Camoufox server instead of launching a new browser. Start the server with python -m camoufox server, copy its "Websocket endpoint: ws://127.0.0.1:/" line, and pass that full URL here. When set, all other launch args (os_type/locale/proxy/...) are ignored — fingerprint config is owned by the running server. Start the server with an os fingerprint matching the host for font-metric parity (attach mode cannot inject the host/os font-fallback shim that launch mode does). close_browser() will only disconnect; the server keeps running.

Returns: dict with status, config, and page list.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "launch_browser"
  }
}

Input Schema

NameRequiredDescriptionDefault
geoipNo
proxyNo
localeNo
os_typeNo
headlessNo
humanizeNo
ws_endpointNo
block_imagesNo
block_webrtcNo
enable_traceNo
trace_objectsNo
browser_versionNo
trace_max_eventsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changedv1.9.4
    • removedInput schema / properties / block_images / default
      Removed value: -false
    • removedInput schema / properties / block_webrtc / default
      Removed value: -false
    • removedInput schema / properties / geoip / default
      Removed value: -false
    • removedInput schema / properties / headless / default
      Removed value: -false
    • removedInput schema / properties / humanize / default
      Removed value: -false
    • removedInput schema / properties / locale / default
      Removed value: -"auto"
    • removedInput schema / properties / os_type / default
      Removed value: -"auto"
  2. Changed3 schema fields changedv1.6.0
    • addedInput schema / properties / browser_version
      Added value: +{
      +  "title": "Browser Version",
      +  "type": "string"
      +}
    • addedInput schema / properties / trace_max_events
      Added value: +{
      +  "default": 100000,
      +  "title": "Trace Max Events",
      +  "type": "integer"
      +}
    • addedInput schema / properties / trace_objects
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "title": "Trace Objects",
      +  "type": "array"
      +}
  3. Changed4 schema fields changedv1.1.1
    • removedInput schema / properties / proxy / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / proxy / default
      Removed value: -null
    • addedInput schema / properties / proxy / type
      Added value: +"string"
    • addedInput schema / properties / ws_endpoint
      Added value: +{
      +  "title": "Ws Endpoint",
      +  "type": "string"
      +}
  4. Changed1 schema field changedv1.0.0
    • addedInput schema / properties / enable_trace
      Added value: +{
      +  "default": false,
      +  "title": "Enable Trace",
      +  "type": "boolean"
      +}
  5. First observedv0.3.0

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the burden well: it discloses default inheritance from server startup flags, that passed options win for this launch only, that ws_endpoint causes all other launch args to be ignored, the font-fallback parity limitation in attach mode, and the coupling between browser_version and the active version. It does not state permissions, resource cost, or what happens if a browser is already running in launch mode.

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

Conciseness4/5

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

The lead sentence front-loads the two modes, followed by inheritance semantics and then a per-argument list, so the structure is easy to scan. It is long, and a few clauses (trace_max_events range, browser_version rationale) are dense, but every section does useful work.

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

Completeness5/5

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

A complex 13-parameter tool with no output schema and no annotations is fully covered: launch vs attach behavior, per-arg defaults, ignored-argument behavior, and a stated return shape ('dict with status, config, and page list'). Nothing an agent needs to invoke it correctly is missing.

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

Parameters5/5

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

Schema coverage is 0%, yet the description documents all 13 parameters with meaning, formats, and defaults — os_type enumerations, locale examples, proxy URL form, trace_objects as a native-object allowlist, the 1..200000 cap, and repo-qualified browser_version selectors. This fully compensates for the empty schema descriptions.

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

Purpose5/5

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

States a concrete verb and resource ('Launch the Camoufox anti-detection browser') plus the second mode ('or attach to a running one'), which an agent can immediately distinguish from sibling tools like close_browser or reset_browser_state.

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

Usage Guidelines4/5

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

Gives explicit operating guidance: omit options you don't want to change, per-launch overrides, and the ws_endpoint attach path with the exact server command and URL format to copy. It also clarifies that close_browser only disconnects in attach mode. It stops short of naming when to prefer reset_browser_state or check_environment first, so not a full 5.

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