mcp-camoufox

v0.9.3
@alessioz/mcp-camoufox Checked 3 days ago Published 3 months ago

MCP server for stealth browser automation via Camoufox — 104 tools, Chrome DevTools MCP-level power with anti-bot stealth

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

browser_launch

Launch Camoufox stealth browser and navigate to URL. Browser persists between calls. By default cookies/localStorage persist in ~/.camoufox-mcp/profile. Set fresh_profile=true to start with a clean temp profile (auto-cleaned on browser_close) — useful when switching between accounts on the same domain.

ParameterTypeDescription
fresh_profilebooleanStart with a clean temp profile (no carry-over cookies/cache). Temp dir is removed when browser_close is called. Use when switching between accounts on the same domain to avoid login session collision…
geoipbooleanAuto-detect timezone from IP
headlessbooleanRun without visible window
heightnumberWindow height (0 = default 800)
humanizebooleanHuman-like mouse movements
localestringBrowser locale
urlstringURL to navigate to
widthnumberWindow width (0 = default 1280)

browser_close

Close the browser. Cookies are preserved in the persistent profile (~/.camoufox-mcp/profile). If the launch used fresh_profile=true, the temp profile is removed.

reset_profile

Delete the persistent profile (~/.camoufox-mcp/profile) entirely. Use to start fresh — cookies, localStorage, history all wiped. Browser must be closed first (call browser_close before this).

navigate

Navigate to a URL.

ParameterTypeDescription
url *stringURL to navigate to
timeoutnumber
wait_untilstring

go_back

Navigate back in history.

go_forward

Navigate forward in history.

reload

Reload the current page.

browser_snapshot

Get visible interactive elements with ref IDs. Use refs with click/fill. Always call after navigation. On large pages (Outlook, dashboards) the response can be truncated — narrow with roles=["button","textbox"] or paginate with offset/limit. Refs stay stable regardless of filters (every visible element is still numbered).

ParameterTypeDescription
limitnumberMax elements to return (0 = no cap).
offsetnumberSkip the first N matched elements (pagination).
rolesarrayOnly show elements matching these tags/roles/types, e.g. ["button","link","textbox","tab"]. Empty = all.

screenshot

Screenshot the page, or a single element with ref/selector (great for documenting one modal). Returns the IMAGE inline — no second Read call — plus the saved path. Set return_image=false for path only.

ParameterTypeDescription
full_pagebooleanFull scrollable page (ignored when ref/selector is set)
namestringFilename prefix
refstringSnapshot ref — capture just that element.
return_imagebooleanEmbed the PNG in the response. false = only save to disk.
selectorstringCSS selector — capture just that element (ignored if ref is set).

click

Click element by ref ID from browser_snapshot. Auto JS-fallback for overlays.

ParameterTypeDescription
ref *stringElement ref (e.g. 'e5')
buttonstring
dblclickboolean

click_text

Click element by visible text. If the text matches several elements it FAILS with a numbered candidate list instead of silently clicking the first one — narrow with within ("@dialog", a CSS selector, or "ref:e5") or pick one with index.

ParameterTypeDescription
text *stringVisible text
exactboolean
indexnumberWhich match to click when several match (0-based). -1 = require a unique match.
withinstringLimit the search: "@dialog" = topmost modal, "ref:e5" = inside a snapshot ref, or any CSS selector.

click_role

Click element by ARIA role and name. Same ambiguity guard as click_text: several matches → candidate list, not a guess.

ParameterTypeDescription
role *stringARIA role (button, link, textbox, etc.)
indexnumberWhich match to click when several match (0-based). -1 = require a unique match.
namestringAccessible name
withinstringLimit the search: "@dialog", "ref:e5", or a CSS selector.

hover

Hover over element by ref ID.

ParameterTypeDescription
ref *string

fill

Fill input/textarea by ref ID. Always replaces existing content (email/number inputs are cleared explicitly first — Firefox's select-all is a no-op on those, which would otherwise append).

ParameterTypeDescription
ref *stringElement ref
value *stringText to fill

select_option

Select option from <select> dropdown.

ParameterTypeDescription
ref *string
value *string

check

Check checkbox or radio button.

ParameterTypeDescription
ref *string

uncheck

Uncheck a checkbox.

ParameterTypeDescription
ref *string

type_text

Type text char by char via keyboard.

ParameterTypeDescription
text *string
delaynumberDelay between keys (ms)

press_key

Press key or combo (Enter, Escape, Control+a, etc.).

ParameterTypeDescription
key *stringKey name

wait_for

Wait for element/text to appear or disappear.

ParameterTypeDescription
selectorstringCSS selector
statestring
textstringText to wait for
timeoutnumber

wait_for_navigation

Wait for page load to complete.

ParameterTypeDescription
timeoutnumber

wait_for_any_of

Race multiple wait conditions — returns the first that matches, so the agent can branch immediately without sequential probes. Each condition is {kind: 'selector'|'text'|'url_contains'|'title_contains', value: string}. Returns the index + kind + value of the winning condition (or 'timeout' if none matched). Ideal for post-login flows where the next page could be any of several (e.g. 'Stay signed in?', 'Skip for now', or the inbox directly).

ParameterTypeDescription
conditions *arrayConditions to race. First match wins.
timeoutnumberMax wait in ms

evaluate

Execute JavaScript in page context.

ParameterTypeDescription
expression *stringJS expression

get_url

Get current URL and title.

get_text

Get visible text from page or element.

ParameterTypeDescription
selectorstring

get_html

Get HTML content from page or element.

ParameterTypeDescription
outerboolean
selectorstring

tab_list

List all open tabs.

tab_new

Open new tab.

ParameterTypeDescription
urlstring

tab_select

Switch to a tab by index, or by url_contains (first tab whose URL contains the substring).

ParameterTypeDescription
indexnumberTab index. Ignored if url_contains is set.
url_containsstringSelect the first tab whose URL contains this substring.

tab_close

Close a tab by index (-1 = active), or by url_contains.

ParameterTypeDescription
indexnumber
url_containsstringClose the first tab whose URL contains this substring (overrides index).

dialog_handle

Set handler for the next alert/confirm/prompt on ANY open tab (first dialog wins, handler then clears).

ParameterTypeDescription
actionstring
prompt_textstring

upload_file

Upload file to file input.

ParameterTypeDescription
file_path *string
ref *string

chatgpt_generate_image

Generate or edit an image on chatgpt.com end-to-end and save it to disk in ONE call. Opens a fresh chat, optionally uploads reference images (e.g. a brand logo), submits the prompt, waits for the generated image to finish, then writes the result PNG to output_path. Requires an authenticated chatgpt.com session (import cookies first via cookie_import). Returns the saved path and pixel dimensions. Note: chatgpt image generation is slow (~60-120s) — set timeout_ms accordingly.

ParameterTypeDescription
output_path *stringAbsolute path to write the resulting PNG.
prompt *stringText prompt for image generation/editing.
image_pathsarrayOptional reference image file paths to upload before prompting (e.g. a logo).
timeout_msnumberMax ms to wait for the generated image.

chatgpt_generate_batch

Generate MANY images on chatgpt.com IN PARALLEL (one tab per job, fire-all-then-collect) and save each to disk. Submits every job first WITHOUT waiting, then waits for all generations concurrently — far faster than sequential. For a CONSISTENT feed set, pass shared_image_paths (e.g. [logo] and/or a style-reference image like a previously-generated hero) uploaded to EVERY tab, plus style_suffix (a shared style spec) appended to every prompt. Requires an authenticated chatgpt.com session (import cookies first). Returns per-job results (saved path / ok / bytes / error).

ParameterTypeDescription
jobs *arrayPer-image jobs: each has a prompt and an output PNG path.
shared_image_pathsarrayReference images uploaded to EVERY tab (e.g. [logoPath, styleRefPath]) — key for visual consistency.
stagger_msnumberDelay between submitting each tab (avoids UI/anti-bot races).
style_suffixstringShared style spec text appended to every prompt (exact colors, typography, layout, mood) for consistency.
timeout_msnumberMax ms to wait for each image to finish.

scroll

Scroll the page.

ParameterTypeDescription
amountnumber
directionstring

console_start

Start capturing console messages from all tabs.

console_get

Get captured console messages.

network_start

Start capturing network requests. With capture_bodies=true also records request/response headers + text bodies (json/text/xml/form only, capped at body_limit bytes) so you can inspect API payloads via network_get_detail — no need to pivot to evaluate()+fetch().

ParameterTypeDescription
body_limitnumberMax bytes kept per request/response body.
capture_bodiesbooleanAlso capture request/response headers and text bodies.

network_get

List captured network requests in capture order, keeping the most recent `limit` rows. Each row shows an #id usable with network_get_detail.

ParameterTypeDescription
filterstringOnly show requests whose URL contains this substring.
limitnumberMax rows to return.

network_get_detail

Full request + response detail (headers and text body) for one captured request. Requires network_start(capture_bodies=true) BEFORE the request fired. Identify the request by id (from network_get) or by url substring.

ParameterTypeDescription
idnumberRequest #id from network_get. -1 = match by url instead.
urlstringWhen id=-1, match the newest request whose URL contains this substring.

save_pdf

Save page as PDF. NOTE: Playwright can only generate PDFs in headless Chromium — Camoufox is Firefox, so this fails by design here. Use screenshot(full_page=true) instead. Kept for API compatibility.

ParameterTypeDescription
pathstring

batch_actions

Execute multiple actions in one call. Each action: {type, ref?, value?, text?, key?, url?}.

ParameterTypeDescription
actions *arrayList of actions to execute sequentially

fill_form

Fill multiple form fields and optionally submit.

ParameterTypeDescription
fields *array
submit_refstringRef of submit button to click after filling

login_classic

Composite login for classic email→password forms (Google, Microsoft, generic SSO). Auto-detects the email field, clicks Next/Continue on multi-step forms, fills the password, submits, and optionally enters a TOTP 2FA code. Collapses the usual 5–8 fill/click/snapshot calls into one. Heuristic — if a form is unusual, fall back to individual fill/click tools. Returns the step log + a fresh snapshot.

ParameterTypeDescription
email *stringEmail / username to fill.
password *stringPassword to fill.
step_timeout_msnumberMax wait for each step's field to appear.
submit_after_emailbooleanClick Next/Continue after the email (Google/Microsoft multi-step).
totp_codestringPre-computed 6-digit 2FA code (overrides totp_secret).
totp_secretstringBase32 TOTP secret — a 6-digit code is generated if a 2FA field appears.

navigate_and_snapshot

Navigate to URL then return snapshot — combined in one call.

ParameterTypeDescription
url *string
wait_untilstring

inspect_element

Get detailed info about an element (tag, attributes, bounding box, styles).

ParameterTypeDescription
ref *string

get_attribute

Get a specific attribute value from an element.

ParameterTypeDescription
attribute *string
ref *string

query_selector_all

Query elements by CSS selector, return text/attributes of all matches.

ParameterTypeDescription
selector *string
attributestringAttribute to extract (empty = innerText)
limitnumber

localstorage_get

Get all localStorage data or a specific key.

ParameterTypeDescription
keystringKey to get (empty = all)

localstorage_set

Set a localStorage item.

ParameterTypeDescription
key *string
value *string

localstorage_clear

Clear all localStorage.

sessionstorage_get

Get all sessionStorage data or a specific key.

ParameterTypeDescription
keystring

sessionstorage_set

Set a sessionStorage item.

ParameterTypeDescription
key *string
value *string

mouse_click_xy

Click at exact x,y coordinates. steps>0 adds interpolated pre-movement (human-like).

ParameterTypeDescription
x *number
y *number
buttonstring
stepsnumberInterpolation steps for pre-click movement (0=instant, 15-30=human-like)

mouse_move

Move mouse to x,y. steps>0 interpolates path (human-like).

ParameterTypeDescription
x *number
y *number
stepsnumberInterpolation steps (0=instant jump, 15-30=smooth)

click_turnstile

Auto-solve Cloudflare Interactive Turnstile checkbox. Locates the widget via in-page selectors AND the Playwright frame API (handles closed shadow roots that document.querySelector misses), polls for render, skips if already solved, then does a humanized real-mouse click with retries + small nudge, verifying the cf-turnstile-response token after each attempt. Managed Challenge full-page interstitials still need mcp-stealth-chrome.

ParameterTypeDescription
max_attemptsnumberMax click attempts (small vertical nudge between tries) until token appears
offset_xnumberPixels from widget left edge to the checkbox (calibrated for CF checkbox)
offset_ynumberVertical offset from widget top (default = height/2)
wait_render_msnumberWait before first detection to let widget render

drag_and_drop

Drag from one element to another.

ParameterTypeDescription
source_ref *stringRef of element to drag
target_ref *stringRef of drop target

list_frames

List all frames/iframes in the page.

frame_evaluate

Execute JavaScript inside a specific frame/iframe.

ParameterTypeDescription
expression *string
frame_indexnumberFrame index from list_frames
frame_namestringFrame name (empty = by index)

wait_for_url

Wait for URL to match a pattern.

ParameterTypeDescription
pattern *stringURL substring or regex pattern
timeoutnumber

wait_for_response

Wait for a network response matching a URL pattern.

ParameterTypeDescription
url_pattern *stringURL substring to match
timeoutnumber

get_viewport_size

Get current viewport dimensions.

set_viewport_size

Set viewport width and height.

ParameterTypeDescription
height *number
width *number

accessibility_snapshot

Get accessibility tree snapshot — compact view of page structure for LLM understanding.

server_status

Health check — verify server, browser status, active tabs.

get_page_errors

Get uncaught JavaScript errors + unhandled promise rejections from the current page. Captured by a hook installed at browser_launch, so the buffer resets on every navigation (read it before navigating away). Max 100 entries per page load.

inject_init_script

Inject a script that runs before every page load.

ParameterTypeDescription
script *stringJavaScript code to inject

export_har

Export captured network traffic as a HAR 1.2 file (openable in DevTools/other HAR viewers). Requires network_start first; headers and bodies are only included when network_start(capture_bodies=true) was used.

ParameterTypeDescription
limitnumberMax (most recent) requests to include.
pathstring

detect_content_pattern

Auto-detect repeated content patterns (cards, listings, rows) and suggest CSS selectors. Run this BEFORE extract_structured to find the right selectors.

ParameterTypeDescription
min_itemsnumberMinimum repeated items to detect as pattern

extract_structured

Extract structured data from repeated elements (cards, rows, listings). Auto-deduplicates, filters empty items, extracts direct text only. Use detect_content_pattern first to find correct selectors.

ParameterTypeDescription
container_selector *stringCSS selector for each repeated item. Use detect_content_pattern to find this.
fields *arrayFields to extract from each item
deduplicate_bystringField name to deduplicate by (empty = auto)
direct_text_onlybooleanExtract only direct text of matched element, not children text (prevents field mixing)
limitnumberMax items to extract

extract_table

Extract data from an HTML table as JSON array.

ParameterTypeDescription
limitnumberMax rows
selectorstringCSS selector for the table

scrape_page

Smart page scraper — auto-detect and extract main content, links, metadata. Strips nav/footer noise.

ParameterTypeDescription
include_linksboolean
include_metaboolean
max_text_lengthnumberMax text chars (truncates at paragraph boundary)
only_main_contentbooleanStrip nav, header, footer, sidebar — extract only main content area

wait_and_snapshot

Wait for selector/text then return snapshot. Combines wait_for + browser_snapshot in one call.

ParameterTypeDescription
selectorstringCSS selector to wait for
statestring
textstringText to wait for
timeoutnumber

back_and_snapshot

Navigate back + return snapshot.

reload_and_snapshot

Reload page + return snapshot.

click_and_snapshot

Click element by ref + wait + return snapshot. Perfect for buttons that trigger navigation/dialog.

ParameterTypeDescription
ref *stringElement ref from browser_snapshot
wait_msnumberWait after click before snapshot

find_by_text

Find elements by visible text — returns EVERY match (total + a ref and ancestor path per candidate), so you can tell whether the one you want is really the one you'd click. Skip browser_snapshot when you know the text.

ParameterTypeDescription
text *stringVisible text to search for
exactboolean
limitnumberMax candidates to describe.
withinstringLimit the search: "@dialog", "ref:e5", or a CSS selector.

find_by_label

Find input element by its label text (<label>). Returns ref + how many matched.

ParameterTypeDescription
label *stringLabel text (e.g. 'Email', 'Password')
withinstringLimit the search: "@dialog", "ref:e5", or a CSS selector.

find_by_placeholder

Find input by placeholder text. Returns ref + how many matched.

ParameterTypeDescription
placeholder *string
withinstringLimit the search: "@dialog", "ref:e5", or a CSS selector.

page_stats

Page statistics: element count, size, load metrics. Use to decide extraction strategy.

storage_state_save

Save cookies + localStorage to a JSON file. Reload via storage_state_load on a fresh browser to skip login/CF entirely.

ParameterTypeDescription
path *stringOutput file path (e.g. ~/.camoufox-mcp/sessions/site.json)

storage_state_load

Load cookies + localStorage from a JSON file (created by storage_state_save). Bypass CF/login if session is fresh.

ParameterTypeDescription
path *stringPath to storage state JSON file
navigate_tostringURL to navigate to after loading (recommended — localStorage requires same-origin)

auth_capture

Save current session as named auth state (e.g. logged-in user). Convenience wrapper: storage_state_save to ~/.camoufox-mcp/sessions/<name>.json

ParameterTypeDescription
name *stringSession name (e.g. 'github-bob', 'shopify-mystore')

humanize_click

Click element with humanized mouse approach (3-step Bezier-like curve before click). Use for anti-bot pages.

ParameterTypeDescription
refstringElement ref from snapshot
selectorstringCSS selector

humanize_type

Type text with Gaussian-distributed delays between keystrokes (mean ~80ms, sigma ~30ms). Mimics human typing rhythm.

ParameterTypeDescription
text *stringText to type
mean_delay_msnumber
refstring
selectorstring

mouse_drift

Random mouse movements over a duration — builds up mouse history before action (CF/DataDome behavior analysis).

ParameterTypeDescription
duration_msnumberTotal drift duration
pointsnumberNumber of random destinations

mouse_record

Start recording mouse positions (call mouse_replay later). Returns recorder handle.

ParameterTypeDescription
duration_msnumber
sample_rate_hznumber

mouse_replay

Replay last recorded mouse path with original timing.

ParameterTypeDescription
speednumberReplay speed multiplier (1.0=original, 2.0=2x faster)

session_warmup

Visit innocuous public sites (Google, Wikipedia) to build browsing history before targeting protected site. Helps with CF/DataDome IP scoring.

ParameterTypeDescription
duration_msnumberTotal warmup time
sitesarrayURLs to visit (default: google.com, wikipedia.org)

detect_anti_bot

Heuristic detection of anti-bot vendor on current page (Cloudflare, DataDome, Akamai, PerimeterX, Imperva).

assert_element_visible

Assert element exists and is visible. Returns success/fail (no throw).

ParameterTypeDescription
selector *string

assert_text_present

Assert text is present anywhere on page (case-sensitive substring).

ParameterTypeDescription
text *string

assert_url_matches

Assert current URL matches pattern (substring or regex).

ParameterTypeDescription
pattern *string
regexboolean

click_and_wait

Click element then wait for navigation or selector. Atomic — fewer roundtrips than separate click + wait_for.

ParameterTypeDescription
refstring
selectorstring
timeout_msnumber
wait_for_selectorstringSelector to wait for after click
wait_for_urlstringURL substring to wait for after click

wait_for_network_idle

Wait until there are no in-flight requests for idle_ms continuously. Better than fixed timeouts for SPAs.

ParameterTypeDescription
idle_msnumberHow long the network must stay quiet before returning.
timeout_msnumber

describe_page

Compact LLM-friendly page summary (title, heading, key buttons, forms). Cheaper than browser_snapshot for agent context. Also returns `intent` — a classified hint of what kind of page this is (login_email, login_password, otp_input, captcha, stay_signed_in, protect_account, error_page, consent, two_factor, account_disabled, content, unknown) — so the agent can branch with one read.

http_request

HTTP request WITHOUT a browser, using a real Firefox TLS/HTTP2 fingerprint (impit). By default it reuses the live browser's cookies for that URL, so you can log in with the browser and then hit the site's API cheaply. Far faster and lighter than navigating — use it for APIs, JSON, and any page that doesn't need JS.

ParameterTypeDescription
url *string
bodystringRaw request body (JSON string, form-encoded, …)
headers_jsonstringExtra headers as JSON, e.g. {"Accept":"application/json"}
impersonatestringTLS fingerprint to present. firefox matches the Camoufox browser.
max_charsnumberMax response body characters returned.
methodstring
proxystringProxy URL, e.g. http://user:pass@host:port
timeout_msnumber
use_browser_cookiesboolean

http_session_cookies

Show which browser cookies would be sent with an HTTP request to this URL. Use it to confirm session sharing before relying on http_request.

ParameterTypeDescription
url *string

scrape_markdown

Fetch a URL and return clean, LLM-ready markdown (headings, links, lists preserved; nav/footer/scripts stripped). Default path is browserless (impit) — fast and cheap. Set use_browser=true for JS-rendered pages (needs browser_launch).

ParameterTypeDescription
url *string
impersonatestring
max_charsnumber
proxystring
use_browserbooleanRender in the stealth browser instead of a plain HTTP fetch.

smart_fetch

Dual-mode fetch: tries the browserless HTTP path first and escalates to the stealth browser ONLY when the response looks anti-bot blocked. This is the efficiency core — high-volume reading stays cheap, the browser fires only when it's actually needed.

ParameterTypeDescription
url *string
force_browserboolean
impersonatestring
max_charsnumber
proxystring

search_page

Grep the CURRENT page's visible text and return matches with surrounding context. Costs nothing compared to a snapshot or a screenshot — use it first to find where a term actually appears.

ParameterTypeDescription
text *stringSubstring, or a regex source when regex=true
case_sensitiveboolean
context_charsnumber
max_matchesnumber
regexboolean

wait_for_change

Wait until the page actually CHANGES and report what changed (url / title / DOM size / text). This is the honest version of a fixed sleep after a click: it returns as soon as something happened, or tells you nothing did.

ParameterTypeDescription
poll_msnumber
settle_msnumberRequire the page to stay stable this long after the change.
timeoutnumber

assert_clickable

Hit-test an element WITHOUT clicking: would a real click actually land on it? Answers "why did my click do nothing?" before you spend the click. Reports the element that would intercept the click when something covers it.

ParameterTypeDescription
refstring
selectorstring

scroll_to

Scroll a specific element into view (the page-level `scroll` tool only moves by pixels).

ParameterTypeDescription
blockstring
refstring
selectorstring

click_element_offset

Click at a percentage position inside an element instead of its centre — for wide labels whose real checkbox sits at the left edge, sliders, or split buttons.

ParameterTypeDescription
refstring
selectorstring
x_percentnumber0 = left edge, 100 = right edge
y_percentnumber0 = top edge, 100 = bottom edge

click_at_corner

Click a corner of an element — close/X buttons, delete icons and dismiss controls usually live there, not in the centre.

ParameterTypeDescription
cornerstring
offsetnumberInset in pixels from the corner.
refstring
selectorstring

paste_text

Fill a field with a REAL paste. Puts the text on the clipboard and presses Ctrl/Cmd+V so the page receives a trusted paste event with actual clipboardData — the only thing that works for frameworks that listen to paste alone (Svelte 5 / SolidJS runes, some Qwik forms). Falls back to a synthetic event and then the native value setter.

ParameterTypeDescription
text *string
refstring
selectorstring

form_introspect

Analyse a form in one call: per field the label, type, current value, required/pattern/length constraints, validation state, and the JS framework it is bound to. Tells you what to fill and why a submit is being rejected without guessing from a snapshot.

ParameterTypeDescription
form_selectorstringCSS selector for the form. Empty = first form, or all top-level fields if the page has none.

smart_fill

Fill form fields by their LABEL text (fuzzy, case-insensitive) instead of refs — no snapshot needed. Values go through the same clearing logic as fill, so email/number fields replace rather than append.

ParameterTypeDescription
fields_json *stringJSON object of {"Label": "value", …}, e.g. {"Email":"a@b.com","Password":"secret"}
submit_labelstringIf set, click the button whose text matches after filling.
withinstringScope: "@dialog", "ref:e5", or a CSS selector.

dialog_auto_handle

Install a PERSISTENT dialog handler that stays armed across every dialog and every tab (dialog_handle is one-shot). Reads its action at fire time, so you can change it without re-arming. Set enabled=false to remove it.

ParameterTypeDescription
actionstring
enabledboolean
prompt_textstringText to submit for prompt() dialogs.

sessionstorage_clear

Clear all sessionStorage for the current origin (parity with localstorage_clear).

wait_for_request

Block until the page ISSUES a request matching a URL substring (wait_for_response waits for the reply). Use it to confirm an action actually fired its API call.

ParameterTypeDescription
url_pattern *string
methodstringOptional HTTP verb filter (GET/POST/…)
timeoutnumber

storage_snapshot

Capture cookies + localStorage + sessionStorage + URL into a named slot, so storage_diff can tell you exactly what an action changed.

ParameterTypeDescription
namestring

storage_diff

Compare current storage against an earlier storage_snapshot — shows exactly which cookies/localStorage/sessionStorage keys were added, removed or changed. The fastest way to find which key holds a session token.

ParameterTypeDescription
namestring

indexeddb_list

List IndexedDB databases for the current origin. Many SPAs keep auth state and drafts here, invisible to cookie/localStorage tools.

indexeddb_delete

Delete an IndexedDB database by name for the current origin (clears SPA state that survives a cookie wipe).

ParameterTypeDescription
name *string

performance_timeline

Navigation + paint + resource timing for the current page: TTFB, DOMContentLoaded, load, FCP, LCP, and the 5 slowest resources. Note: Firefox does not implement layout-shift, so CLS is unavailable here.

browser_recover

Escape hatch when the browser is wedged and browser_close can't complete: force-drops the connection and resets server state so browser_launch works again. Also reports a profile lock held by another Camoufox process, which is the usual cause of 'A copy of Camoufox is already open'.

workflow_run

Run a list of tool calls in sequence — any tool this server exposes, by name — and return a per-step log. Resumable: a failed run tells you the index, and start_at skips the steps that already succeeded. Each step is {"tool":"navigate","args":{"url":"…"},"label":"optional"}.

ParameterTypeDescription
steps *arraySteps to execute in order.
start_atnumberSkip the first N steps (resume after a failure).
stop_on_errorboolean