About Camofox MCP
Camofox MCP is an MCP server published by redf0x1 in the Developer Tools category: anti-detection browser MCP server for AI agents — navigate, interact, and automate the web without getting blocked. Conduid read 51 tools from its source: batch_click, batch_download, camofox_close_session, camofox_evaluate_js, camofox_get_page_html, camofox_hover and 45 more. No package is published for it, so it installs from a source checkout.
The repository has 129 stars and 14 forks, is licensed MIT, and its last commit was on 6 Nov 2026. The latest release is v1.15.0 (13 Aug 2026): Adds full-page screenshot support through the existing screenshot MCP tool with fullPage: true, matching camofox-browser@2.4.7's screenshot route. It follows v1.14.5 (17 Jun 2026), and the 5 most recent releases go back to v1.14.2 (23 May 2026). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include anti-detection, browser-automation, camoufox and web-scraping.
Install
git clone https://github.com/redf0x1/camofox-mcpTools (51)
batch_clickClick multiple elements sequentially. Continues on error (clicks are independent). Returns per-click results.| Parameter | Type | Description |
|---|---|---|
| clicks * | array | Array of elements to click |
| delayMs | number | Delay between clicks in ms |
| tabId * | string | Tab ID from create_tab |
batch_downloadExtract resources from a DOM container and download them all. Combines extract_resources + download in one call. Useful for downloading all images from a chat, all PDFs from a table, etc.| Parameter | Type | Description |
|---|---|---|
| concurrency | number | Parallel download limit |
| extensions | array | Filter extensions: ['jpg', 'pdf'] |
| maxFiles | number | Maximum files to download |
| ref | string | Element ref from snapshot |
| resolveBlobs | boolean | Auto-resolve blob: URLs |
| selector | string | CSS selector for target container |
| tabId * | string | Tab ID from create_tab |
| types | array | Resource types: 'images', 'links', 'media', 'documents' (singular forms also accepted) |
| userId | string | User ID override (default: tracked tab userId) |
camofox_close_sessionClose all browser tabs for a user session. Use for complete cleanup when done with a browsing session.| Parameter | Type | Description |
|---|---|---|
| tabId * | string | Any tab ID from the session to identify the user |
camofox_evaluate_jsExecute JavaScript in the browser page context. Runs in isolated scope (invisible to page scripts — safe for anti-detection). Use for: extracting data not visible in accessibility snapshot, checking element properties, reading computed styles, manipulating DOM elements. Requires CAMOFOX_API_KEY only when browser-server authentication is enabled.| Parameter | Type | Description |
|---|---|---|
| expression * | string | JavaScript expression to evaluate (e.g. 'document.title', 'document.querySelectorAll("img").length', 'document.querySelector(".modal").scrollHeight') |
| tabId * | string | Tab ID from create_tab |
| timeout | number | Execution timeout in ms (max 30000) |
camofox_get_page_htmlGet rendered HTML from the live DOM. Use when snapshot refs are incomplete on SPA/custom-component sites or when you need the final DOM state rather than the accessibility tree. Optionally pass a CSS selector to return only that element's outerHTML instead of the full page. Requires CAMOFOX_API_KEY only when browser-server authentication is enabled.| Parameter | Type | Description |
|---|---|---|
| selector | string | Optional CSS selector to scope HTML extraction to a single element |
| tabId * | string | Tab ID from create_tab |
camofox_hoverHover over an element to trigger tooltips, dropdown menus, or hover states. Use ref from snapshot or CSS selector.| Parameter | Type | Description |
|---|---|---|
| ref | string | Element ref from snapshot (e.g. 'e5') |
| selector | string | CSS selector (e.g. '#menu-item', '.dropdown-trigger') |
| tabId * | string | Tab ID |
camofox_press_keyPress a keyboard key. Use after type_text to submit forms (Enter), navigate between elements (Tab), move through suggestions (ArrowDown/ArrowUp), or dismiss dialogs (Escape). Common keys: Enter, Tab, Escape, ArrowDown, ArrowUp, Backspace, Space.| Parameter | Type | Description |
|---|---|---|
| key * | string | Key to press (e.g. 'Enter', 'Escape', 'Tab', 'ArrowDown') |
| tabId * | string | Tab ID from create_tab |
camofox_query_selectorQuery a CSS selector in the live DOM and return its element details or a specific attribute. Use this for targeted inspection without writing raw evaluate_js. Requires CAMOFOX_API_KEY only when browser-server authentication is enabled.| Parameter | Type | Description |
|---|---|---|
| attribute | string | Optional attribute name to return instead of the full element payload |
| selector * | string | CSS selector to query |
| tabId * | string | Tab ID from create_tab |
camofox_scroll_elementScroll a specific container element (modal dialog, scrollable div, sidebar). Use when page-level scroll doesn't reach content inside modals or overflow containers. Returns scroll position metadata to track progress.| Parameter | Type | Description |
|---|---|---|
| deltaX | number | Horizontal scroll pixels |
| deltaY | number | Vertical scroll pixels (positive=down, negative=up) |
| ref | string | Element ref from snapshot (e.g. 'e5') |
| selector | string | CSS selector for scrollable container (e.g. '[role=dialog]', '.modal-body') |
| tabId * | string | Tab ID from create_tab |
camofox_scroll_element_and_snapshotScroll a container element AND take a snapshot. Combines scroll_element + snapshot in one call. Perfect for incrementally loading lazy content in modals (e.g. Facebook group post comments). Returns both scroll position and page snapshot.| Parameter | Type | Description |
|---|---|---|
| deltaY | number | Scroll delta |
| ref | string | Element ref from snapshot |
| selector | string | CSS selector for scrollable container |
| tabId * | string | Tab ID |
| waitMs | number | Wait before snapshot (ms) |
camofox_wait_forWait for page to be fully ready (DOM loaded, network idle, framework hydration complete). Use after navigation or actions that trigger page changes.| Parameter | Type | Description |
|---|---|---|
| tabId * | string | Tab ID |
| timeout | number | Timeout in ms (default: 10000) |
| waitForNetwork | boolean | Wait for network idle (default: true) |
camofox_wait_for_selectorWait for a CSS selector to appear in the live DOM. Use for SPA hydration and async content when snapshot refs are incomplete or stale. Once found, prefer snapshot refs for interaction when available. Requires CAMOFOX_API_KEY only when browser-server authentication is enabled.| Parameter | Type | Description |
|---|---|---|
| selector * | string | CSS selector to wait for |
| tabId * | string | Tab ID from create_tab |
| timeout | number | Timeout in ms (default: 10000) |
camofox_wait_for_textWait for specific text to appear on the page. Useful for waiting for search results, form submissions, or dynamic content loading.| Parameter | Type | Description |
|---|---|---|
| tabId * | string | Tab ID |
| text * | string | Text to wait for |
| timeout | number | Timeout in ms (default: 10000) |
clickClick an element. Provide either ref (from snapshot) or CSS selector. Use snapshot first to discover element refs.| Parameter | Type | Description |
|---|---|---|
| ref | string | Element ref from snapshot (e.g. 'e1', 'e2') |
| selector | string | CSS selector (e.g. 'button.submit', '#login') |
| tabId * | string | Tab ID from create_tab |
close_tabClose a browser tab and release resources. Always close tabs when done to free memory.| Parameter | Type | Description |
|---|---|---|
| tabId * | string | Tab ID from create_tab |
create_tabCreate a new browser tab with anti-detection fingerprinting. Each tab gets a unique fingerprint. Optionally provide a URL, userId, sessionKey, and viewport. To share the camofox CLI default browser profile/context, pass userId "cli-default" and sessionKey "default"; this creates a tracked MCP tab in that context but does not attach to a CLI tab that is already open.| Parameter | Type | Description |
|---|---|---|
| geolocation | object | GPS coordinates override |
| locale | string | BCP 47 locale override (e.g. "ja-JP", "vi-VN") |
| preset | string | Named geo preset (e.g. "us-east", "us-west", "japan", "uk", "germany", "vietnam", "singapore", "australia"). Sets locale, timezone, and geolocation. |
| proxyProfile | string | Named proxy profile configured in camofox-browser |
| sessionKey | string | Session key for browser context reuse. Defaults to a new unique session; use "default" with userId "cli-default" for the camofox CLI default context. This does not attach to a tab that the CLI already opened. |
| timezoneId | string | IANA timezone override (e.g. "Asia/Tokyo", "Asia/Ho_Chi_Minh") |
| url | string | Full URL including protocol (e.g. 'https://example.com') |
| userId | string | User ID for session isolation. MCP defaults to CAMOFOX_DEFAULT_USER_ID/default; use "cli-default" with sessionKey "default" to share the camofox CLI default context. |
| viewport | object | Browser viewport/display size override. Use this to control wide windows, for example { "width": 1366, "height": 768 }. |
delete_downloadDelete a downloaded file from disk and registry| Parameter | Type | Description |
|---|---|---|
| downloadId * | string | ID of the download to delete |
| userId | string | User ID (default: CAMOFOX_DEFAULT_USER_ID) |
delete_profileDelete a saved browser profile from disk. Removes the profile's cookie data permanently.| Parameter | Type | Description |
|---|---|---|
| profileId * | string | Profile name to delete |
extract_resourcesExtract resources (images, links, media, documents) from a specific DOM container. Use a CSS selector or element ref from snapshot to scope extraction to a particular section of the page. This is useful for extracting all images from a specific post, all links from a table, etc.| Parameter | Type | Description |
|---|---|---|
| extensions | array | Filter by file extensions: ['pdf', 'jpg', 'png'] |
| maxDepth | number | Max nesting depth for container traversal |
| ref | string | Element ref from snapshot (e.g., 'e12'). Either selector or ref required. |
| resolveBlobs | boolean | Resolve blob: URLs to data: URIs |
| selector | string | CSS selector for target container (e.g., '.message:nth-child(3)') |
| tabId * | string | Tab ID from create_tab |
| triggerLazyLoad | boolean | Scroll to trigger lazy-loaded images before extraction |
| types | array | Resource types to extract: 'images', 'links', 'media', 'documents' (singular forms also accepted). Default: all. |
| userId | string | User ID override (default: tracked tab userId) |
extract_structuredExtract deterministic structured JSON from a page using the camofox-browser structured extraction schema.fill_formFill multiple form fields in one call. Provide an array of field entries, each with a ref or CSS selector and the text to type. Optionally specify a submit button to click after filling.| Parameter | Type | Description |
|---|---|---|
| fields * | array | Array of form fields to fill |
| tabId * | string | Tab ID from create_tab |
get_downloadGet a downloaded file. Images are always returned as viewable images. Recommended for AI agents: set includeContent=true to get non-image file content as base64 inline (max 256KB). Otherwise returns metadata only (including contentUrl).| Parameter | Type | Description |
|---|---|---|
| downloadId * | string | ID of the download |
| includeContent | boolean | Whether to include file content for non-image files |
| userId | string | User ID (default: CAMOFOX_DEFAULT_USER_ID) |
get_linksGet all hyperlinks on page with URLs and text. Useful for navigation discovery and site mapping.| Parameter | Type | Description |
|---|---|---|
| downloadOnly | boolean | Only include links with a download attribute |
| extension | string | Filter by extension, comma-separated (e.g. 'pdf,zip') |
| scope | string | CSS selector to scope link extraction to a container |
| tabId * | string | Tab ID from create_tab |
get_statsGet session statistics: request counts, active tabs, uptime, performance metrics.| Parameter | Type | Description |
|---|---|---|
| tabId * | string | Tab ID from create_tab |
go_backNavigate backward in browser history (Back button). Returns new page URL.| Parameter | Type | Description |
|---|---|---|
| tabId * | string | Tab ID from create_tab |
go_forwardNavigate forward in browser history (Forward button). Returns new page URL.| Parameter | Type | Description |
|---|---|---|
| tabId * | string | Tab ID from create_tab |
import_cookiesImport cookies for authenticated sessions. Provide cookies in a JSON string array. Restores login sessions without re-auth. Requires userId.| Parameter | Type | Description |
|---|---|---|
| cookies * | string | JSON string of cookie array to import |
| tabId | string | Tab ID to target correct session (needed when using presets) |
| userId * | string | User ID for session isolation |
list_downloadsList downloaded files with optional filtering by tab, status, extension, MIME type, and size range. Each download includes contentUrl for direct file retrieval.| Parameter | Type | Description |
|---|---|---|
| extension | string | Filter by file extension, comma-separated: 'pdf,zip,jpg' |
| limit | number | Max results to return |
| maxSize | number | Maximum file size in bytes |
| mimeType | string | Filter by MIME type prefix: 'image/', 'application/pdf' |
| minSize | number | Minimum file size in bytes |
| offset | number | Result offset |
| sort | string | Sort order: 'createdAt:asc' or 'createdAt:desc' (default) |
| status | string | Filter by status: pending, completed, failed, canceled |
| tabId | string | Filter by specific tab. If omitted, lists all user downloads. |
| userId | string | User ID (default: CAMOFOX_DEFAULT_USER_ID or tracked tab userId) |
list_presetsList all available geo presets supported by the CamoFox server. Presets include locale, timezone, and optional geolocation.list_profilesList all saved browser profiles with metadata. Shows profile names, cookie counts, save dates, and descriptions.list_tabsList all open browser tabs with URLs and titles. Use to discover available tabs or verify tab state.load_profileLoad a saved profile's cookies into an active browser tab. Restores login sessions without re-authentication. Use after create_tab to restore saved state.| Parameter | Type | Description |
|---|---|---|
| profileId * | string | Profile name to load |
| tabId * | string | Tab ID to load cookies into |
navigateNavigate a tab to a URL. Waits for page load. Use create_tab first, then navigate. Returns final URL (may differ due to redirects).| Parameter | Type | Description |
|---|---|---|
| tabId * | string | Tab ID from create_tab |
| url * | string | Full URL including protocol (e.g. 'https://example.com') |
navigate_and_snapshotNavigate to a URL and return the page snapshot. Combines navigate + wait + snapshot into one call.| Parameter | Type | Description |
|---|---|---|
| tabId * | string | Tab ID from create_tab |
| timeout | number | Wait timeout in ms |
| url * | string | Full URL to navigate to |
| waitForText | string | Optional text to wait for before taking snapshot |
network_export_harExport the capture as sanitized HAR 1.2 JSON. Stop the capture first for a stable export.network_get_responseRead metadata for one captured request. Set includeBody only when the capture explicitly enabled bodies and the content is needed.| Parameter | Type | Description |
|---|---|---|
| includeBody | boolean | |
| requestId * | number |
network_interceptReplace up to four exact-match HTTP(S) fetch/XHR abort or static mock rules on an active tab capture. No URL credentials or fragments. Mock bodies: at most 16384 UTF-8 bytes; statuses: 200..299 except 204/205, or 400..599. Pass an empty list to clear. Requires browser-side interception to be enabled.| Parameter | Type | Description |
|---|---|---|
| rules * | array |
network_list_requestsList a page of sanitized network requests from this capture.| Parameter | Type | Description |
|---|---|---|
| after | number | |
| limit | number |
refreshReload the current page. Useful when page state is stale or after changes.| Parameter | Type | Description |
|---|---|---|
| tabId * | string | Tab ID from create_tab |
resolve_blobsResolve blob: URLs to downloadable base64 data. Blob URLs are temporary browser objects (common in Telegram, WhatsApp, Discord) that cannot be downloaded directly. This tool converts them to base64 data URIs.| Parameter | Type | Description |
|---|---|---|
| tabId * | string | Tab ID from create_tab |
| urls * | array | Array of blob: URLs to resolve |
| userId | string | User ID override (default: tracked tab userId) |
save_profileSave browser cookies from an active tab to a named profile on disk. Enables session persistence across restarts. Use after login to save authenticated state.| Parameter | Type | Description |
|---|---|---|
| description | string | Optional description for this profile |
| profileId * | string | Profile name (alphanumeric, hyphens, underscores, dots, 1-64 chars) |
| tabId * | string | Tab ID to export cookies from |
screenshotTake a viewport or full-page visual screenshot in base64 PNG. Set fullPage to capture the entire scrollable page. Use ONLY for visual verification (CSS, layout, proof). Prefer snapshot for most tasks — much more token-efficient.| Parameter | Type | Description |
|---|---|---|
| fullPage | boolean | Capture the entire scrollable page instead of only the current viewport |
| tabId * | string | Tab ID from create_tab |
scrollScroll page up or down by pixel amount. Use to reveal content below the fold or navigate long pages.| Parameter | Type | Description |
|---|---|---|
| amount | number | Pixels to scroll (default: 500) |
| direction * | string | Scroll direction |
| tabId * | string | Tab ID from create_tab |
scroll_and_snapshotScroll the page and take a snapshot. Useful for revealing content below the fold.| Parameter | Type | Description |
|---|---|---|
| amount | number | Pixels to scroll |
| direction * | string | Scroll direction |
| tabId * | string | Tab ID from create_tab |
| waitMs | number | Milliseconds to wait after scrolling before snapshot |
server_statusCheck CamoFox server health and browser connection. Call first to verify server is running. Returns version, browser status, and active tab count.snapshotGet accessibility tree snapshot — the PRIMARY way to read page content. Returns element refs, roles, names and values. Token-efficient. Always prefer over screenshot. Refs come from the accessibility tree, so custom SPA elements may be missing; fall back to CSS selectors, camofox_wait_for_selector, or camofox_get_page_html when needed.| Parameter | Type | Description |
|---|---|---|
| offset | number | Offset for paginating large snapshots. Use nextOffset from previous response. |
| tabId * | string | Tab ID from create_tab |
toggle_displayToggle browser display mode between headless and headed. When encountering CAPTCHAs or issues requiring visual interaction, switch to headed mode (headless: false) to show the browser window. After resolving, switch back to headless mode (headless: true). When switching an existing single context to virtual or headed mode, the response includes a vncUrl field — open this URL in a browser to see and interact with the browser GUI. Check tabsInvalidated in the response: when true, recreate tabs; when false, existing tracked tabs remain usable and the override applies to future contexts.| Parameter | Type | Description |
|---|---|---|
| headless * | any | Display mode — false for headed, true for headless, "virtual" for virtual display |
| userId * | string | User/session identifier |
type_and_submitType text into a field and press a key (default: Enter). Useful for search boxes and single-field forms.| Parameter | Type | Description |
|---|---|---|
| key | string | Key to press after typing (default: Enter) |
| ref | string | Element ref from snapshot |
| selector | string | CSS selector |
| tabId * | string | Tab ID from create_tab |
| text * | string | Text to type |
type_textType text into an input field. Provide either a ref (from snapshot) or a CSS selector. Use ref when available; otherwise use selector when snapshot doesn't assign refs (common with combobox/autocomplete inputs). Call snapshot first to find target element.| Parameter | Type | Description |
|---|---|---|
| ref | string | Element ref from snapshot (e.g. 'e1', 'e2') |
| selector | string | CSS selector (e.g. 'input[name=q]', '#search-input') |
| tabId * | string | Tab ID from create_tab |
| text * | string | Text to type into the element. Replaces existing content. |
web_searchSearch via the 14 macros supported by camofox-browser 2.4.7: google, youtube, amazon, reddit, reddit_subreddit, wikipedia, twitter, yelp, spotify, netflix, linkedin, instagram, tiktok, twitch. Also supports engine=custom via CAMOFOX_SEARCH_URL_TEMPLATE and ordinary browser navigation/network policy. Returns a snapshot of results.| Parameter | Type | Description |
|---|---|---|
| engine | string | Browser search macro or configured custom URL template (default: google) |
| query * | string | Search query text; for reddit_subreddit, pass the subreddit name |
| tabId * | string | Tab ID from create_tab |
youtube_transcriptExtract transcript from a YouTube video. Returns timestamped text. No tab required.| Parameter | Type | Description |
|---|---|---|
| languages | array | Preferred languages (default: ["en"]) |
| url * | string | YouTube video URL |
Security checks
Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 807 words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by package-lock.json.
- ✓No dynamic code executionScanned 28 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdio and Streamable HTTPsrc/index.ts:3, src/http.ts:6
- Starts other programs
- No calls that start other programs
- Outbound network calls
- 1 callsrc/client.ts:1064
- Writes or deletes files
- No file writes or deletes
- Lockfile
- package-lock.json
Pattern matches on the source text of 28 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 807 words, fetched a month ago. The original in the repository is authoritative.
Read full README