camofox-browser-mcp

v1.19.0
@askjo/camofox-browser-mcp Checked 10 hours ago Published 20 days ago

Standalone 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.

ParameterTypeDescription
url *stringInitial URL to navigate to
sessionKeystringTab group within the profile, used when creating a tab (default: this host's sessionKey)
userIdstringCamofox 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.

ParameterTypeDescription
tabId *stringTab identifier
annotateScreenshotbooleanInclude screenshotAnnotations: per-ref bounding boxes aligned with the screenshot pixel space, for coordinate clicking (default false).
offsetnumberCharacter offset for paginated snapshots. Use nextOffset from a previous truncated response.
sessionKeystringTab group within the profile, used when creating a tab (default: this host's sessionKey)
userIdstringCamofox 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.

ParameterTypeDescription
tabId *stringTab identifier
coordinatesobjectExact viewport pixel coordinates (alternative to ref/selector)
expected_accessible_namestringAssert the resolved target has this accessible name before clicking
expected_rolestringAssert the resolved target has this ARIA role before clicking
refstringElement ref from snapshot (e.g., e1)
selectorstringCSS selector (alternative to ref)
sessionKeystringTab group within the profile, used when creating a tab (default: this host's sessionKey)
userIdstringCamofox 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.

ParameterTypeDescription
tabId *stringTab identifier
text *stringText to type
pressEnterbooleanPress Enter after typing
refstringElement ref from snapshot (e.g., e2)
selectorstringCSS selector (alternative to ref)
sessionKeystringTab group within the profile, used when creating a tab (default: this host's sessionKey)
userIdstringCamofox 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">.

ParameterTypeDescription
path *Absolute file path, or array of paths, inside CAMOFOX_UPLOADS_DIR
tabId *stringTab identifier
refstringUpload trigger element ref from snapshot (e.g., e36)
selectorstringUpload trigger CSS selector (alternative to ref)
sessionKeystringTab group within the profile, used when creating a tab (default: this host's sessionKey)
timeoutnumberMilliseconds to wait for the upload input or file chooser to appear after the trigger (default 12000)
userIdstringCamofox profile that owns the tab (default: this host's userId; others must be listed in CAMOFOX_MCP_USER_IDS)

camofox_navigate

Navigate a Camoufox tab to a URL or use a search macro (@google_search, @youtube_search, etc.). Preferred over Chrome for sites with bot detection.

ParameterTypeDescription
tabId *stringTab identifier
macrostringSearch macro (e.g., @google_search, @youtube_search)
querystringSearch query (when using macro)
sessionKeystringTab group within the profile, used when creating a tab (default: this host's sessionKey)
urlstringURL to navigate to
userIdstringCamofox 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.

ParameterTypeDescription
direction *string
tabId *stringTab identifier
amountnumberPixels to scroll
sessionKeystringTab group within the profile, used when creating a tab (default: this host's sessionKey)
userIdstringCamofox 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.

ParameterTypeDescription
tabId *stringTab identifier
fullPagebooleanCapture the full scrollable page instead of the viewport (default false)
sessionKeystringTab group within the profile, used when creating a tab (default: this host's sessionKey)
userIdstringCamofox 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.

ParameterTypeDescription
tabId *stringTab identifier
sessionKeystringTab group within the profile, used when creating a tab (default: this host's sessionKey)
userIdstringCamofox 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.

ParameterTypeDescription
expression *stringJavaScript expression to evaluate in the page context
tabId *stringTab identifier
sessionKeystringTab group within the profile, used when creating a tab (default: this host's sessionKey)
timeoutMsnumberEvaluate 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.
userIdstringCamofox 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.

ParameterTypeDescription
sessionKeystringTab group within the profile, used when creating a tab (default: this host's sessionKey)
userIdstringCamofox 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).

ParameterTypeDescription
tabId *stringTab identifier
sessionKeystringTab group within the profile, used when creating a tab (default: this host's sessionKey)
userIdstringCamofox 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.

ParameterTypeDescription
tabId *stringTab identifier
sessionKeystringTab group within the profile, used when creating a tab (default: this host's sessionKey)
userIdstringCamofox 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.

ParameterTypeDescription
tabId *stringTab identifier
limitnumberMaximum candidates to return (default 200)
sessionKeystringTab group within the profile, used when creating a tab (default: this host's sessionKey)
userIdstringCamofox 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.

ParameterTypeDescription
tabId *stringTab identifier
tableId *stringTable id from a snapshot (e.g., table-0)
limitnumberMaximum rows to return
offsetnumberRow offset to start from (default 0)
sessionKeystringTab group within the profile, used when creating a tab (default: this host's sessionKey)
userIdstringCamofox 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.

ParameterTypeDescription
tabId *stringTab identifier
deltaXnumberHorizontal wheel delta
deltaYnumberVertical wheel delta
refstringElement ref to wheel over (from snapshot)
sessionKeystringTab group within the profile, used when creating a tab (default: this host's sessionKey)
userIdstringCamofox profile that owns the tab (default: this host's userId; others must be listed in CAMOFOX_MCP_USER_IDS)
xnumberX coordinate to wheel over (with y; alternative to ref)
ynumberY 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.

ParameterTypeDescription
end *objectEnd point
start *objectStart point
tabId *stringTab identifier
buttonstringMouse button (default left)
sessionKeystringTab group within the profile, used when creating a tab (default: this host's sessionKey)
stepsnumberIntermediate move steps (default 20)
userIdstringCamofox 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.

ParameterTypeDescription
script *stringJavaScript source to run before each navigation
tabId *stringTab identifier
sessionKeystringTab group within the profile, used when creating a tab (default: this host's sessionKey)
userIdstringCamofox 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.

ParameterTypeDescription
sessionKeystringTab group within the profile, used when creating a tab (default: this host's sessionKey)
userIdstringCamofox 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 }] }.

ParameterTypeDescription
origins *array
sessionKeystringTab group within the profile, used when creating a tab (default: this host's sessionKey)
userIdstringCamofox 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.

ParameterTypeDescription
tabId *stringTab identifier
sessionKeystringTab group within the profile, used when creating a tab (default: this host's sessionKey)
userIdstringCamofox 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.

ParameterTypeDescription
tabId *stringTab identifier
sessionKeystringTab group within the profile, used when creating a tab (default: this host's sessionKey)
userIdstringCamofox 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.

ParameterTypeDescription
tabId *stringTab identifier
sessionKeystringTab group within the profile, used when creating a tab (default: this host's sessionKey)
userIdstringCamofox 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.

ParameterTypeDescription
key *stringKey name, e.g. Enter, Escape, Tab, ArrowDown
tabId *stringTab identifier
sessionKeystringTab group within the profile, used when creating a tab (default: this host's sessionKey)
userIdstringCamofox 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.

ParameterTypeDescription
option *stringOption value or visible label to select
tabId *stringTab identifier
refstringSelect element ref from snapshot
selectorstringCSS selector (alternative to ref)
sessionKeystringTab group within the profile, used when creating a tab (default: this host's sessionKey)
userIdstringCamofox 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.

ParameterTypeDescription
height *numberViewport height in pixels
tabId *stringTab identifier
width *numberViewport width in pixels
sessionKeystringTab group within the profile, used when creating a tab (default: this host's sessionKey)
userIdstringCamofox 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.

ParameterTypeDescription
tabId *stringTab identifier
dismissConsentbooleanAttempt to dismiss a cookie/consent dialog (default false)
sessionKeystringTab group within the profile, used when creating a tab (default: this host's sessionKey)
timeoutnumberMaximum milliseconds to wait (default 10000)
userIdstringCamofox profile that owns the tab (default: this host's userId; others must be listed in CAMOFOX_MCP_USER_IDS)
waitForNetworkbooleanWait 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.

ParameterTypeDescription
schema *objectJSON Schema describing the data to extract
tabId *stringTab identifier
sessionKeystringTab group within the profile, used when creating a tab (default: this host's sessionKey)
userIdstringCamofox 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.

ParameterTypeDescription
tabId *stringTab identifier
includeDatabooleanInline base64 image bytes (default false)
limitnumberMaximum images to return (default 8, max 20)
maxBytesnumberPer-image byte cap when includeData is true
sessionKeystringTab group within the profile, used when creating a tab (default: this host's sessionKey)
userIdstringCamofox 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.

ParameterTypeDescription
cookiesPath *stringRelative path to a Netscape-format cookies.txt file within the server cookies directory
domainSuffixstringOnly import cookies whose domain ends with this suffix
sessionKeystringTab group within the profile, used when creating a tab (default: this host's sessionKey)
userIdstringCamofox profile that owns the tab (default: this host's userId; others must be listed in CAMOFOX_MCP_USER_IDS)