Skip to main content
Glama
tonjun

camofox-mcp

by tonjun

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
camofox_import_cookiesA

Import cookies into a user session

Import cookies into a Camoufox user session for authenticated browsing (e.g. to skip interactive login on sites like LinkedIn). Requires BearerAuth in production.

camofox_healthB

Health check

Detailed health with tab/session counts and failure tracking.

camofox_metricsB

Prometheus metrics

Returns Prometheus text exposition format. Requires PROMETHEUS_ENABLED=1.

camofox_cleanup_idle_tabsA

Proactive memory-pressure cleanup

Closes tabs observed idle across multiple checks while preserving tabs with active/queued operations. Never returns URLs, titles, cookies, page text, or user IDs. Defaults to dry-run mode.

camofox_list_tabsB

List open tabs

List all open Camoufox tabs, optionally filtered by userId.

camofox_create_tabA

Create a new tab

PREFERRED: Create a new browser tab using the Camoufox anti-detection browser. Use camofox tools instead of Chrome/the built-in browser -- they bypass bot detection on Google, Amazon, LinkedIn, etc. Returns tabId for subsequent operations.

camofox_navigateB

Navigate a tab to a URL or search macro

Navigate a Camoufox tab to a URL or use a search macro (@google_search, @youtube_search, etc.). Preferred over Chrome/the built-in browser for sites with bot detection. Auto-creates the tab if tabId is not found.

camofox_snapshotB

Get an accessibility snapshot of a tab

Get an accessibility snapshot of a Camoufox tab with element refs (e1, e2, etc.) for interaction, plus an optional screenshot (set includeScreenshot=true). 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.

camofox_wait_forC

Wait for a selector or timeout

Wait for a CSS selector to appear in a Camoufox tab, or for a timeout to elapse.

camofox_clickB

Click an element

Click an element in a Camoufox tab by ref (e.g. e1), CSS selector, or coordinates.

camofox_typeB

Type text into an element

Type text into a focused element or a specific ref/selector in a Camoufox tab.

camofox_press_keyC

Press a keyboard key

Press a keyboard key (e.g. Enter, Escape, Tab) in a Camoufox tab.

camofox_scroll

Scroll a tab

Scroll a Camoufox page up or down.

camofox_set_viewportA

Set the tab viewport size

Physically resizes the page via Playwright's page.setViewportSize, triggering a real layout reflow. Use for responsive testing — window.resizeTo() is a no-op on non-popup windows.

camofox_go_backC

Go back

Navigate a Camoufox tab back to the previous page in history.

camofox_go_forward

Go forward

Navigate a Camoufox tab forward to the next page in history.

camofox_refresh

Refresh the page

Reload the current page in a Camoufox tab.

camofox_extract_links

Extract page links

Extract all links (text, href, ref) from the current page in a Camoufox tab.

camofox_list_downloads

List tab downloads

List files downloaded in a Camoufox tab.

camofox_extract_images

Extract page images

Extract all images (src, alt, dimensions) from the current page in a Camoufox tab.

camofox_screenshotC

Take a screenshot

Take a screenshot of a Camoufox page. Returns a base64-encoded PNG.

camofox_tab_stats

Get tab statistics

Returns tab metadata including URL, tool call count, visited URLs, download/failure counts.

camofox_evaluateA

Evaluate JavaScript in a tab

Execute JavaScript in a Camoufox tab's page context and return the result of the expression. Use for injecting scripts, reading page state, or calling web app APIs.

camofox_extract_structured_dataA

Extract structured data via JSON Schema

Extracts structured data from the current page using a JSON Schema whose properties carry x-ref hints pointing at snapshot element refs (e.g. e1, e2).
Call the snapshot tool (camofox_snapshot) first to populate the ref table.

camofox_close_tab

Close a tab

Close a Camoufox browser tab.

camofox_close_tab_groupC

Close all tabs in a group

Close all Camoufox tabs sharing the given listItemId (tab group).

camofox_list_tracesA

List trace files

Returns all Playwright trace zip files for the given user session, sorted newest first.

camofox_download_traceB

Download a trace file

Streams a Playwright trace zip for viewing in trace.playwright.dev.

camofox_delete_traceA

Delete a trace file

Removes a specific Playwright trace zip from the server.

camofox_destroy_sessionA

Destroy a user session

Closes all tabs and cleans up state for the given userId.

camofox_server_statusB

Server status

Returns basic server liveness and browser state.

camofox_start_browserA

Start the browser

Ensures the browser process is running. Idempotent.

camofox_stop_browserA

Stop the browser

Stops the browser and closes all sessions. Requires x-admin-key header.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tonjun/camofox-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server