camofox-browser-mcp
v1.19.0Standalone stdio MCP server exposing the camofox-browser REST API as MCP tools (Claude Code, Codex, agy, Cursor, opencode).
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
camofox_create_tab
PREFERRED: Create a new browser tab using Camoufox anti-detection browser. Use camofox tools instead of Chrome/built-in browser - they bypass bot detection on Google, Amazon, LinkedIn, etc. Returns tabId for subsequent operations.
| Parameter | Type | Description |
|---|---|---|
url * | string | Initial URL to navigate to |
sessionKey | string | Tab group within the profile, used when creating a tab (default: this host's sessionKey) |
userId | string | Camofox profile that owns the tab (default: this host's userId; others must be listed in CAMOFOX_MCP_USER_IDS) |
camofox_snapshot
Get accessibility snapshot of a Camoufox page with element refs (e1, e2, etc.) for interaction, plus a visual screenshot. Large pages are truncated with pagination links preserved at the bottom. If the response includes hasMore=true and nextOffset, call again with that offset to see more content.
| Parameter | Type | Description |
|---|---|---|
tabId * | string | Tab identifier |
annotateScreenshot | boolean | Include screenshotAnnotations: per-ref bounding boxes aligned with the screenshot pixel space, for coordinate clicking (default false). |
offset | number | Character offset for paginated snapshots. Use nextOffset from a previous truncated response. |
sessionKey | string | Tab group within the profile, used when creating a tab (default: this host's sessionKey) |
userId | string | Camofox profile that owns the tab (default: this host's userId; others must be listed in CAMOFOX_MCP_USER_IDS) |
camofox_click
Click an element in a Camoufox tab by ref (e.g., e1), CSS selector, or exact {x, y} coordinates. Coordinates pair with the screenshotAnnotations from camofox_snapshot. Optionally pass expected_role and/or expected_accessible_name to assert the target is still the element you expected before the click lands.
| Parameter | Type | Description |
|---|---|---|
tabId * | string | Tab identifier |
coordinates | object | Exact viewport pixel coordinates (alternative to ref/selector) |
expected_accessible_name | string | Assert the resolved target has this accessible name before clicking |
expected_role | string | Assert the resolved target has this ARIA role before clicking |
ref | string | Element ref from snapshot (e.g., e1) |
selector | string | CSS selector (alternative to ref) |
sessionKey | string | Tab group within the profile, used when creating a tab (default: this host's sessionKey) |
userId | string | Camofox profile that owns the tab (default: this host's userId; others must be listed in CAMOFOX_MCP_USER_IDS) |
camofox_type
Type text into an element in a Camoufox tab.
| Parameter | Type | Description |
|---|---|---|
tabId * | string | Tab identifier |
text * | string | Text to type |
pressEnter | boolean | Press Enter after typing |
ref | string | Element ref from snapshot (e.g., e2) |
selector | string | CSS selector (alternative to ref) |
sessionKey | string | Tab group within the profile, used when creating a tab (default: this host's sessionKey) |
userId | string | Camofox profile that owns the tab (default: this host's userId; others must be listed in CAMOFOX_MCP_USER_IDS) |
camofox_upload
Attach files to a file upload control in a Camoufox tab without the native OS file dialog. Each path must be an absolute path inside the server upload directory (CAMOFOX_UPLOADS_DIR, default ~/.camofox/uploads). Pass the upload trigger ref or selector from a snapshot; it may be omitted when the page already has an <input type="file">.
| Parameter | Type | Description |
|---|---|---|
path * | Absolute file path, or array of paths, inside CAMOFOX_UPLOADS_DIR | |
tabId * | string | Tab identifier |
ref | string | Upload trigger element ref from snapshot (e.g., e36) |
selector | string | Upload trigger CSS selector (alternative to ref) |
sessionKey | string | Tab group within the profile, used when creating a tab (default: this host's sessionKey) |
timeout | number | Milliseconds to wait for the upload input or file chooser to appear after the trigger (default 12000) |
userId | string | Camofox profile that owns the tab (default: this host's userId; others must be listed in CAMOFOX_MCP_USER_IDS) |
camofox_scroll
Scroll a Camoufox page.
| Parameter | Type | Description |
|---|---|---|
direction * | string | |
tabId * | string | Tab identifier |
amount | number | Pixels to scroll |
sessionKey | string | Tab group within the profile, used when creating a tab (default: this host's sessionKey) |
userId | string | Camofox profile that owns the tab (default: this host's userId; others must be listed in CAMOFOX_MCP_USER_IDS) |
camofox_screenshot
Take a screenshot of a Camoufox page.
| Parameter | Type | Description |
|---|---|---|
tabId * | string | Tab identifier |
fullPage | boolean | Capture the full scrollable page instead of the viewport (default false) |
sessionKey | string | Tab group within the profile, used when creating a tab (default: this host's sessionKey) |
userId | string | Camofox profile that owns the tab (default: this host's userId; others must be listed in CAMOFOX_MCP_USER_IDS) |
camofox_close_tab
Close a Camoufox browser tab.
| Parameter | Type | Description |
|---|---|---|
tabId * | string | Tab identifier |
sessionKey | string | Tab group within the profile, used when creating a tab (default: this host's sessionKey) |
userId | string | Camofox profile that owns the tab (default: this host's userId; others must be listed in CAMOFOX_MCP_USER_IDS) |
camofox_evaluate
Execute JavaScript in a Camoufox tab's page context. Returns the result of the expression. Use for injecting scripts, reading page state, or calling web app APIs.
| Parameter | Type | Description |
|---|---|---|
expression * | string | JavaScript expression to evaluate in the page context |
tabId * | string | Tab identifier |
sessionKey | string | Tab group within the profile, used when creating a tab (default: this host's sessionKey) |
timeoutMs | number | Evaluate deadline in ms (1000 to 900000, default 30000). Over 30000 the script runs as a server job and this call waits for it. On timeout the tab is kept. |
userId | string | Camofox profile that owns the tab (default: this host's userId; others must be listed in CAMOFOX_MCP_USER_IDS) |
camofox_list_tabs
List all open Camofox tabs for the current session.
| Parameter | Type | Description |
|---|---|---|
sessionKey | string | Tab group within the profile, used when creating a tab (default: this host's sessionKey) |
userId | string | Camofox profile that owns the tab (default: this host's userId; others must be listed in CAMOFOX_MCP_USER_IDS) |
camofox_activate
Bring a Camoufox tab to the front (focus/activate it).
| Parameter | Type | Description |
|---|---|---|
tabId * | string | Tab identifier |
sessionKey | string | Tab group within the profile, used when creating a tab (default: this host's sessionKey) |
userId | string | Camofox profile that owns the tab (default: this host's userId; others must be listed in CAMOFOX_MCP_USER_IDS) |
camofox_ax
Get the raw accessibility tree of a Camoufox page (unfiltered, no element refs). Use camofox_snapshot for interaction; use this to inspect the full ARIA structure.
| Parameter | Type | Description |
|---|---|---|
tabId * | string | Tab identifier |
sessionKey | string | Tab group within the profile, used when creating a tab (default: this host's sessionKey) |
userId | string | Camofox profile that owns the tab (default: this host's userId; others must be listed in CAMOFOX_MCP_USER_IDS) |
camofox_actionables
List the clickable and fillable elements on a Camoufox page as candidate interaction targets, each with its ref.
| Parameter | Type | Description |
|---|---|---|
tabId * | string | Tab identifier |
limit | number | Maximum candidates to return (default 200) |
sessionKey | string | Tab group within the profile, used when creating a tab (default: this host's sessionKey) |
userId | string | Camofox profile that owns the tab (default: this host's userId; others must be listed in CAMOFOX_MCP_USER_IDS) |
camofox_table_rows
Read one page of rows from a table on a Camoufox page. Table ids come from camofox_snapshot (table.id or positional table-N). Use offset/limit to page through large tables.
| Parameter | Type | Description |
|---|---|---|
tabId * | string | Tab identifier |
tableId * | string | Table id from a snapshot (e.g., table-0) |
limit | number | Maximum rows to return |
offset | number | Row offset to start from (default 0) |
sessionKey | string | Tab group within the profile, used when creating a tab (default: this host's sessionKey) |
userId | string | Camofox profile that owns the tab (default: this host's userId; others must be listed in CAMOFOX_MCP_USER_IDS) |
camofox_mouse_wheel
Send a mouse wheel scroll over a specific element (by ref) or coordinate in a Camoufox tab. Unlike camofox_scroll (which scrolls the page), this wheels over nested scrollable containers and hover menus.
| Parameter | Type | Description |
|---|---|---|
tabId * | string | Tab identifier |
deltaX | number | Horizontal wheel delta |
deltaY | number | Vertical wheel delta |
ref | string | Element ref to wheel over (from snapshot) |
sessionKey | string | Tab group within the profile, used when creating a tab (default: this host's sessionKey) |
userId | string | Camofox profile that owns the tab (default: this host's userId; others must be listed in CAMOFOX_MCP_USER_IDS) |
x | number | X coordinate to wheel over (with y; alternative to ref) |
y | number | Y coordinate to wheel over (with x; alternative to ref) |
camofox_drag
Perform a trusted press-move-release mouse drag between two coordinates in a Camoufox tab.
| Parameter | Type | Description |
|---|---|---|
end * | object | End point |
start * | object | Start point |
tabId * | string | Tab identifier |
button | string | Mouse button (default left) |
sessionKey | string | Tab group within the profile, used when creating a tab (default: this host's sessionKey) |
steps | number | Intermediate move steps (default 20) |
userId | string | Camofox profile that owns the tab (default: this host's userId; others must be listed in CAMOFOX_MCP_USER_IDS) |
camofox_init_script
Register a script that runs in the page context before every subsequent navigation in a Camoufox tab. Use to install fetch/XHR hooks that must catch the first request after a reload. Scripts accumulate and are dropped when the tab closes. Runs arbitrary JS, like camofox_evaluate.
| Parameter | Type | Description |
|---|---|---|
script * | string | JavaScript source to run before each navigation |
tabId * | string | Tab identifier |
sessionKey | string | Tab group within the profile, used when creating a tab (default: this host's sessionKey) |
userId | string | Camofox profile that owns the tab (default: this host's userId; others must be listed in CAMOFOX_MCP_USER_IDS) |
camofox_export_storage_state
Export the current session cookies and storage state (Playwright storageState format) for the current user.
| Parameter | Type | Description |
|---|---|---|
sessionKey | string | Tab group within the profile, used when creating a tab (default: this host's sessionKey) |
userId | string | Camofox profile that owns the tab (default: this host's userId; others must be listed in CAMOFOX_MCP_USER_IDS) |
camofox_import_local_storage
Seed localStorage for one or more HTTP(S) origins in the current session. Each origin entry has { origin, localStorage: [{ name, value }] }.
| Parameter | Type | Description |
|---|---|---|
origins * | array | |
sessionKey | string | Tab group within the profile, used when creating a tab (default: this host's sessionKey) |
userId | string | Camofox profile that owns the tab (default: this host's userId; others must be listed in CAMOFOX_MCP_USER_IDS) |
camofox_back
Go back one entry in a Camoufox tab's history.
| Parameter | Type | Description |
|---|---|---|
tabId * | string | Tab identifier |
sessionKey | string | Tab group within the profile, used when creating a tab (default: this host's sessionKey) |
userId | string | Camofox profile that owns the tab (default: this host's userId; others must be listed in CAMOFOX_MCP_USER_IDS) |
camofox_forward
Go forward one entry in a Camoufox tab's history.
| Parameter | Type | Description |
|---|---|---|
tabId * | string | Tab identifier |
sessionKey | string | Tab group within the profile, used when creating a tab (default: this host's sessionKey) |
userId | string | Camofox profile that owns the tab (default: this host's userId; others must be listed in CAMOFOX_MCP_USER_IDS) |
camofox_refresh
Reload the current page in a Camoufox tab.
| Parameter | Type | Description |
|---|---|---|
tabId * | string | Tab identifier |
sessionKey | string | Tab group within the profile, used when creating a tab (default: this host's sessionKey) |
userId | string | Camofox profile that owns the tab (default: this host's userId; others must be listed in CAMOFOX_MCP_USER_IDS) |
camofox_press
Press a single keyboard key in a Camoufox tab (e.g., Enter, Escape, Tab, ArrowDown). Use camofox_type to enter text.
| Parameter | Type | Description |
|---|---|---|
key * | string | Key name, e.g. Enter, Escape, Tab, ArrowDown |
tabId * | string | Tab identifier |
sessionKey | string | Tab group within the profile, used when creating a tab (default: this host's sessionKey) |
userId | string | Camofox profile that owns the tab (default: this host's userId; others must be listed in CAMOFOX_MCP_USER_IDS) |
camofox_select
Choose an option in a native <select> dropdown in a Camoufox tab, by ref or CSS selector. The option is matched by value or visible label.
| Parameter | Type | Description |
|---|---|---|
option * | string | Option value or visible label to select |
tabId * | string | Tab identifier |
ref | string | Select element ref from snapshot |
selector | string | CSS selector (alternative to ref) |
sessionKey | string | Tab group within the profile, used when creating a tab (default: this host's sessionKey) |
userId | string | Camofox profile that owns the tab (default: this host's userId; others must be listed in CAMOFOX_MCP_USER_IDS) |
camofox_viewport
Set the viewport (window) size of a Camoufox tab in pixels.
| Parameter | Type | Description |
|---|---|---|
height * | number | Viewport height in pixels |
tabId * | string | Tab identifier |
width * | number | Viewport width in pixels |
sessionKey | string | Tab group within the profile, used when creating a tab (default: this host's sessionKey) |
userId | string | Camofox profile that owns the tab (default: this host's userId; others must be listed in CAMOFOX_MCP_USER_IDS) |
camofox_wait
Wait for a Camoufox page to settle before continuing: up to timeout ms, optionally until the network is idle, optionally dismissing a consent dialog.
| Parameter | Type | Description |
|---|---|---|
tabId * | string | Tab identifier |
dismissConsent | boolean | Attempt to dismiss a cookie/consent dialog (default false) |
sessionKey | string | Tab group within the profile, used when creating a tab (default: this host's sessionKey) |
timeout | number | Maximum milliseconds to wait (default 10000) |
userId | string | Camofox profile that owns the tab (default: this host's userId; others must be listed in CAMOFOX_MCP_USER_IDS) |
waitForNetwork | boolean | Wait for network idle (default true) |
camofox_extract
Extract structured data from a Camoufox page using a JSON Schema describing the fields to pull out. Returns data matching the schema.
| Parameter | Type | Description |
|---|---|---|
schema * | object | JSON Schema describing the data to extract |
tabId * | string | Tab identifier |
sessionKey | string | Tab group within the profile, used when creating a tab (default: this host's sessionKey) |
userId | string | Camofox profile that owns the tab (default: this host's userId; others must be listed in CAMOFOX_MCP_USER_IDS) |
camofox_links
List the links on a Camoufox page, with pagination.
| Parameter | Type | Description |
|---|---|---|
tabId * | string | Tab identifier |
limit | number | Maximum links to return (default 50) |
offset | number | Offset to start from (default 0) |
sessionKey | string | Tab group within the profile, used when creating a tab (default: this host's sessionKey) |
userId | string | Camofox profile that owns the tab (default: this host's userId; others must be listed in CAMOFOX_MCP_USER_IDS) |
camofox_images
List the images on a Camoufox page. Optionally inline the image bytes (base64) up to a byte cap.
| Parameter | Type | Description |
|---|---|---|
tabId * | string | Tab identifier |
includeData | boolean | Inline base64 image bytes (default false) |
limit | number | Maximum images to return (default 8, max 20) |
maxBytes | number | Per-image byte cap when includeData is true |
sessionKey | string | Tab group within the profile, used when creating a tab (default: this host's sessionKey) |
userId | string | Camofox profile that owns the tab (default: this host's userId; others must be listed in CAMOFOX_MCP_USER_IDS) |
camofox_import_cookies
Import cookies into the current Camoufox session (Netscape cookie file). Use to authenticate to sites like LinkedIn without interactive login. Requires CAMOFOX_API_KEY on the REST server.
| Parameter | Type | Description |
|---|---|---|
cookiesPath * | string | Relative path to a Netscape-format cookies.txt file within the server cookies directory |
domainSuffix | string | Only import cookies whose domain ends with this suffix |
sessionKey | string | Tab group within the profile, used when creating a tab (default: this host's sessionKey) |
userId | string | Camofox profile that owns the tab (default: this host's userId; others must be listed in CAMOFOX_MCP_USER_IDS) |