Skip to main content
Glama
Camoufox MCP Server

Camoufox MCP Server

by whit3rabbit

browse_sequence

Navigate to a URL, run a bounded sequence of selector-based browser actions, and return the final page state for extraction or verification.

Instructions

Navigate once, run bounded selector actions, then return final state.

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": {
      "url": "<url>",
      "actions": "<actions>"
    },
    "name": "browse_sequence"
  }
}

Input Schema

NameRequiredDescriptionDefault
osNoOptional OS to spoof. Can be 'windows', 'macos', or 'linux'. If not specified, will rotate between all OS types.
urlYesThe URL to navigate to. Must be a fully qualified http or https URL.
argsNoAdditional browser command-line arguments to pass to the browser. Rejected unless CAMOUFOX_MCP_ALLOW_UNSAFE_OPTIONS=1; denied args are always rejected.
geoipNoAutomatically detect geolocation based on IP address.
proxyNoProxy configuration for routing browser traffic through an HTTP(S) proxy. Proxy servers are checked against the same local-network URL policy as page requests.
localeNoBrowser locale (e.g., 'en-US', 'fr-FR').
windowNoSet fixed window size [width, height] instead of random generation. An empty array [] is accepted and treated as if the window parameter was not specified.
actionsYesBounded action sequence to run after navigation.
timeoutNoTimeout in milliseconds for page load (5-300 seconds).
headlessNoRun browser in headless mode. Auto-detects best mode for environment if not specified.
humanizeNoEnable realistic cursor movements and human-like behavior for better stealth and anti-detection.
maxCharsNoMaximum final text, HTML, snapshot, or evaluate-result characters to return.
selectorNoOptional CSS selector to limit final content extraction to one matching element.
viewportNoCustom viewport dimensions.
outputModeNoFinal response content mode.text
screenshotNoCapture a screenshot/image after all actions finish.
block_webglNoBlock WebGL to prevent fingerprinting and tracking.
maxElementsNoMaximum final snapshot elements to return.
block_imagesNoBlock all images for faster loading, reduced bandwidth, and lightweight browsing.
block_webrtcNoBlock WebRTC entirely for enhanced privacy and stealth.
disable_coopNoDisable Cross-Origin-Opener-Policy for sites that require it.
enable_cacheNoCache pages, requests, etc. Uses more memory but improves performance when revisiting pages.
waitStrategyNoWait strategy for page load. Defaults to 'domcontentloaded'. 'load' waits for all resources, 'networkidle' waits for network activity to finish.domcontentloaded
captchaPolicyNoChallenge handling policy. 'detect' reports signals, 'pause' returns state for human action, 'fail' returns an error, 'attempt' returns enhanced challenge metadata, interactive elements, a bounded screenshot, and a suggested strategy. When CAPTCHA_AUTONOMOUS=true, responses are marked for LLM-assisted handling and include provider-specific challengePlaybook context when known.
exclude_addonsNoList of default addons to exclude (e.g., ['ublock_origin']). Rejected unless CAMOUFOX_MCP_ALLOW_UNSAFE_OPTIONS=1.
includeConsoleNoInclude bounded page console diagnostics in the JSON response.
includeNetworkNoInclude bounded network diagnostics in the JSON response.
stealthProfileNoConvenience profile for common Camoufox browser settings. Explicit options override profile values.normal
screenshotOptionsNoOptional screenshot capture settings. Used only when screenshot is true.
firefox_user_prefsNoCustom Firefox user preferences to set. Rejected unless CAMOUFOX_MCP_ALLOW_UNSAFE_OPTIONS=1; denied prefs are always rejected.

Output Schema

NameRequiredDescriptionDefault
urlYes
htmlNo
textNo
titleNo
statusNo
actionsYes
messageNo
maxCharsYes
selectorNo
snapshotNo
truncatedYes
outputModeYes
screenshotNo
contentTypeNo
diagnosticsNo
challengeTypeNo
initialStatusNo
selectorFoundNo
captchaIframesNo
captchaDetectedNo
challengeSignalsNo
challengeHandlingNo
challengePlaybookNo
challengeProviderNo
suggestedStrategyNo
requiresUserActionNo
interactiveElementsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv2.7.2
    • addedOutput schema / properties / screenshot / properties / clipped
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / screenshot / properties / pageHeight
      Added value: +{
      +  "type": "number"
      +}
    • addedOutput schema / properties / screenshot / properties / pageWidth
      Added value: +{
      +  "type": "number"
      +}
  2. Changed29 schema fields changedv2.5.0
    • changedOutput schema / additionalProperties
      Previous value: -{}New value: +false
    • addedOutput schema / properties / actions
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "durationMs": {
      +        "type": "number"
      +      },
      +      "index": {
      +        "type": "number"
      +      },
      +      "result": {
      +        "type": "string"
      +      },
      +      "resultTruncated": {
      +        "type": "boolean"
      +      },
      +      "selector": {
      +        "type": "string"
      +      },
      +      "status": {
      +        "const": "ok",
      +        "type": "string"
      +      },
      +      "type": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "index",
      +      "type",
      +      "status",
      +      "durationMs"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / captchaDetected
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / captchaIframes
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "selector": {
      +        "type": "string"
      +      },
      +      "src": {
      +        "type": "string"
      +      },
      +      "title": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "selector",
      +      "src"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / challengeHandling
      Added value: +{
      +  "enum": [
      +    "manual",
      +    "llm_assisted"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / challengePlaybook
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / challengeProvider
      Added value: +{
      +  "enum": [
      +    "recaptcha",
      +    "hcaptcha",
      +    "turnstile",
      +    "cloudflare",
      +    "text_captcha",
      +    "generic"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / challengeSignals
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / challengeType
      Added value: +{
      +  "const": "captcha_or_bot_check",
      +  "type": "string"
      +}
    • addedOutput schema / properties / contentType
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / diagnostics
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "console": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "location": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "columnNumber": {
      +                "type": "number"
      +              },
      +              "lineNumber": {
      +                "type": "number"
      +              },
      +              "url": {
      +                "type": "string"
      +              }
      +            },
      +            "type": "object"
      +          },
      +          "text": {
      +            "type": "string"
      +          },
      +          "type": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "type",
      +          "text"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "consoleTruncated": {
      +      "type": "boolean"
      +    },
      +    "network": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "contentType": {
      +            "type": "string"
      +          },
      +          "errorText": {
      +            "type": "string"
      +          },
      +          "failed": {
      +            "type": "boolean"
      +          },
      +          "method": {
      +            "type": "string"
      +          },
      +          "resourceType": {
      +            "type": "string"
      +          },
      +          "status": {
      +            "type": "number"
      +          },
      +          "url": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "url",
      +          "method",
      +          "resourceType"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "networkTruncated": {
      +      "type": "boolean"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / properties / html
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / initialStatus
      Added value: +{
      +  "type": "number"
      +}
    • addedOutput schema / properties / interactiveElements
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "frame": {
      +        "type": "string"
      +      },
      +      "label": {
      +        "type": "string"
      +      },
      +      "selector": {
      +        "type": "string"
      +      },
      +      "type": {
      +        "enum": [
      +          "checkbox",
      +          "input",
      +          "button",
      +          "image"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "selector",
      +      "type"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / maxChars
      Added value: +{
      +  "type": "number"
      +}
    • addedOutput schema / properties / message
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / outputMode
      Added value: +{
      +  "enum": [
      +    "text",
      +    "html",
      +    "metadata"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / requiresUserAction
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / screenshot
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "bytes": {
      +      "type": "number"
      +    },
      +    "error": {
      +      "type": "string"
      +    },
      +    "fullPage": {
      +      "type": "boolean"
      +    },
      +    "included": {
      +      "type": "boolean"
      +    },
      +    "maxBytes": {
      +      "type": "number"
      +    },
      +    "requested": {
      +      "type": "boolean"
      +    },
      +    "selector": {
      +      "type": "string"
      +    },
      +    "selectorFound": {
      +      "type": "boolean"
      +    },
      +    "type": {
      +      "enum": [
      +        "png",
      +        "jpeg"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "requested",
      +    "included"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / selector
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / selectorFound
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / snapshot
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "ariaSnapshot": {
      +      "type": "string"
      +    },
      +    "ariaSnapshotError": {
      +      "type": "string"
      +    },
      +    "ariaSnapshotTruncated": {
      +      "type": "boolean"
      +    },
      +    "contentType": {
      +      "type": "string"
      +    },
      +    "diagnostics": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "console": {
      +          "items": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "location": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "columnNumber": {
      +                    "type": "number"
      +                  },
      +                  "lineNumber": {
      +                    "type": "number"
      +                  },
      +                  "url": {
      +                    "type": "string"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "text": {
      +                "type": "string"
      +              },
      +              "type": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "type",
      +              "text"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "consoleTruncated": {
      +          "type": "boolean"
      +        },
      +        "network": {
      +          "items": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "contentType": {
      +                "type": "string"
      +              },
      +              "errorText": {
      +                "type": "string"
      +              },
      +              "failed": {
      +                "type": "boolean"
      +              },
      +              "method": {
      +                "type": "string"
      +              },
      +              "resourceType": {
      +                "type": "string"
      +              },
      +              "status": {
      +                "type": "number"
      +              },
      +              "url": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "url",
      +              "method",
      +              "resourceType"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "networkTruncated": {
      +          "type": "boolean"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "elements": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "bounds": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "height": {
      +                "type": "number"
      +              },
      +              "width": {
      +                "type": "number"
      +              },
      +              "x": {
      +                "type": "number"
      +              },
      +              "y": {
      +                "type": "number"
      +              }
      +            },
      +            "required": [
      +              "x",
      +              "y",
      +              "width",
      +              "height"
      +            ],
      +            "type": "object"
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "role": {
      +            "type": "string"
      +          },
      +          "selector": {
      +            "type": "string"
      +          },
      +          "tag": {
      +            "type": "string"
      +          },
      +          "text": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "tag",
      +          "selector"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "elementsTruncated": {
      +      "type": "boolean"
      +    },
      +    "maxChars": {
      +      "type": "number"
      +    },
      +    "maxElements": {
      +      "type": "number"
      +    },
      +    "selector": {
      +      "type": "string"
      +    },
      +    "selectorFound": {
      +      "type": "boolean"
      +    },
      +    "status": {
      +      "type": "number"
      +    },
      +    "text": {
      +      "type": "string"
      +    },
      +    "textTruncated": {
      +      "type": "boolean"
      +    },
      +    "title": {
      +      "type": "string"
      +    },
      +    "url": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "url",
      +    "selectorFound",
      +    "maxChars",
      +    "maxElements",
      +    "text",
      +    "textTruncated",
      +    "elements",
      +    "elementsTruncated"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / properties / status
      Added value: +{
      +  "type": "number"
      +}
    • addedOutput schema / properties / suggestedStrategy
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / text
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / title
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / truncated
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / url
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / required
      Added value: +[
      +  "url",
      +  "actions",
      +  "outputMode",
      +  "truncated",
      +  "maxChars"
      +]
  3. First observedv2.4.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare openWorldHint=true, readOnlyHint=false, idempotentHint=false and destructiveHint=false, and the description adds that the action sequence is 'bounded' and that final state is returned. It omits meaningful behavior an agent would want — CAPTCHA policy effects, stealth/humanize implications, unsafe-option rejections, and that actions run only after navigation — so the contribution beyond annotations is thin but not absent. No contradiction with the declared behavior.

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?

A single front-loaded sentence with no filler: the operation order (navigate, act, return) is clear from the first words. It is efficient, though the terseness leaves 'bounded' and 'final state' undefined.

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

Completeness2/5

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

For a 30-parameter, open-world browser tool with a rich action union, one sentence is far too sparse — session-vs-one-shot choice, unsafe option gating, and CAPTCHA behavior all go unaddressed. The output schema covers return values and 100% schema coverage covers parameters, which saves it from a 1, but the behavioral picture an agent needs before invoking is largely missing.

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 description coverage is 100%, so all 30 parameters, the 25-item action cap, and the action type variants are already documented in the schema. The description adds no meaning beyond that — 'bounded selector actions' gestures at the actions array without explaining ordering, failure handling, or per-action timeouts, which is the baseline 3.

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?

States a concrete sequence — navigate to a URL, run a bounded action list, return final state — which is specific verb+resource and implies one-shot execution, distinguishing it in spirit from the browse_session_* family. It does not explicitly name any sibling, so differentiation still requires the agent to infer from 'Navigate once'.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance, no mention of browse_session_start/browse_session_navigate for multi-step flows, and no prerequisites such as the CAMOUFOX_MCP_ALLOW_UNSAFE_OPTIONS gating. 'Navigate once' hints at single-shot usage but leaves the choice against 15 sibling tools entirely to inference.

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