camofox-browser-mcp
Allows searching Amazon via the web_search tool.
Allows searching Google via the web_search tool.
Allows searching Instagram via the web_search tool.
Allows searching Netflix via the web_search tool.
Allows searching Reddit via the web_search tool.
Allows searching Spotify via the web_search tool.
Allows searching TikTok via the web_search tool.
Allows searching Twitch via the web_search tool.
Allows searching Wikipedia via the web_search tool.
Allows searching Yelp via the web_search tool.
Allows searching YouTube via the web_search tool and extracting video transcripts via the camofox_youtube_transcript tool.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@camofox-browser-mcpsearch for MCP protocol overview"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
quick installation
paste this into your llm agent session:
Install and configure camofox-browser-mcp by following the instructions here:
https://raw.githubusercontent.com/Microck/camofox-browser-mcp/refs/heads/main/INSTALL.mdnpm (recommended)
npm install -g camofox-browser-mcpMCP server for controlling a local jo-inc/camofox-browser instance.
This server exposes the full practical camofox-browser workflow to LLM agents:
tab lifecycle, navigation, interaction, snapshots, screenshots, links, stats,
cookie import, session cleanup, YouTube transcript extraction, and high-level
composite helpers (navigate_and_snapshot, scroll_and_snapshot, fill_form,
type_and_submit, batch_click, web_search).
Prerequisites
Node.js 22+ (required for the npm package)
Optional: Bun (recommended for local development): https://bun.sh/docs/installation
A running
camofox-browserserver (defaulthttp://127.0.0.1:9377)Optional, depending on tools used:
CAMOFOX_API_KEYfor cookie importCAMOFOX_ADMIN_KEYfor browser stop endpoint
Related MCP server: Browser Jet Pilot
Installation
Local development checkout
git clone https://github.com/Microck/camofox-browser-mcp.git
cd camofox-browser-mcp
bun install
bun run typecheck
bun run buildnpm package
npm install -g camofox-browser-mcp
# optional smoke-run (most users just configure their MCP client)
camofox-browser-mcpConfiguration
Set these environment variables in your MCP client config.
Variable | Required | Default | Purpose |
| yes |
| Base URL of running camofox-browser server |
| alias | unset | Compatibility alias for |
| no |
| HTTP timeout for camofox calls |
| alias | unset | Compatibility alias for |
| no |
| Default |
| no |
| Default |
| for | unset | Bearer key for |
| for | unset | Admin key sent as |
| no |
| When baseUrl is localhost and server is unreachable, try to spawn |
| no |
| Command used to spawn the camofox-browser HTTP server |
| no |
| Max time to wait for the spawned server to answer |
Example MCP config (local build)
{
"mcpServers": {
"camofox-browser-mcp": {
"command": "bun",
"args": ["/absolute/path/to/camofox-browser-mcp/dist/index.js"],
"env": {
"MCP_TRANSPORT_TYPE": "stdio",
"MCP_LOG_LEVEL": "info",
"CAMOFOX_BASE_URL": "http://127.0.0.1:9377",
"CAMOFOX_DEFAULT_USER_ID": "default-user",
"CAMOFOX_DEFAULT_SESSION_KEY": "default-session",
"CAMOFOX_API_KEY": "",
"CAMOFOX_ADMIN_KEY": ""
}
}
}
}Tool coverage
The MCP toolset maps to camofox-browser endpoints and includes compatibility
aliases for common camofox-mcp prompts.
Server and session tools
MCP tool | Endpoint | Notes |
|
| Runtime and browser status |
| alias of | Compatibility alias |
|
| Starts browser engine |
|
| Requires admin key |
|
| Closes all tabs/context for user |
|
| Requires API key |
Tab lifecycle tools
MCP tool | Endpoint | Notes |
|
| Lists open tabs by user |
| alias of | Compatibility alias |
|
| Creates tab with optional URL |
| alias of | Compatibility alias |
|
| Closes one tab |
| alias of | Compatibility alias |
|
| Closes all tabs in group |
|
| Usage stats and visited URLs |
Navigation and interaction tools
MCP tool | Endpoint | Notes |
|
| URL or macro navigation |
| alias of | Compatibility alias |
| composite | Navigate, wait, then snapshot |
|
| Wait for page readiness |
|
| Wait for text appearance |
|
| Ref-based accessibility snapshot |
| alias of | Compatibility alias |
| composite | Scroll, then snapshot |
|
| Click by ref or selector |
| composite | Execute multiple clicks sequentially |
|
| Type text by ref/selector |
| alias of | Compatibility alias |
| composite | Type then press submit key |
| composite | Fill multiple fields + optional submit click |
|
| Hover by ref or selector |
|
| Keyboard press |
|
| Vertical scroll |
|
| Scroll referenced element into view |
|
| History back |
| alias of | Compatibility alias |
|
| History forward |
| alias of | Compatibility alias |
|
| Page reload |
| alias of | Compatibility alias |
|
| Extract page links |
|
| Returns base64 PNG |
| macro wrapper around | Multi-engine search helper |
Content extraction tools
MCP tool | Endpoint | Notes |
|
| Extracts YouTube captions |
Supported web_search engines
web_search maps engine values to backend macros:
google,youtube,amazon,reddit,wikipedia,twitter,yelpspotify,netflix,linkedin,instagram,tiktok,twitch
Compatibility notes
list_profiles,save_profile,load_profile, anddelete_profileare not exposed yet because currentjo-inc/camofox-browserAPIs do not provide cookie export/profile endpoints.
Typical workflow
camofox_start_browsercamofox_create_tab(orcamofox_list_tabs+ reuse)camofox_navigate_tabcamofox_get_snapshotInteract with refs:
camofox_click,camofox_type,camofox_press,camofox_scrollRe-run
camofox_get_snapshotafter major page changesCleanup with
camofox_close_taborcamofox_close_session
Macro support
camofox_navigate_tab passes macro and query through to camofox-browser.
Upstream macros include:
@google_search@youtube_search@amazon_search@reddit_search@reddit_subreddit@wikipedia_search@twitter_search@yelp_search@spotify_search@netflix_search@linkedin_search@instagram_search@tiktok_search@twitch_search
Troubleshooting
camofox_healthfails: checkCAMOFOX_BASE_URLand confirm backend is running.camofox_import_cookies403: setCAMOFOX_API_KEYin both backend and MCP env.camofox_stop_browser403: setCAMOFOX_ADMIN_KEYin both backend and MCP env.Missing refs after navigation: call
camofox_get_snapshotagain.
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server to assist with JxBrowser development.
Stealth web browser for agents: search, fetch, click, download and type in persistent MCP sessions.
Scrape, crawl and search the web for AI agents via MCP.
Related MCP Servers
- AlicenseAqualityBmaintenanceMCP server for browser automation with anti-detection. Scout pages, find elements, interact with websites, and monitor network traffic from any AI client that supports the Model Context Protocol.211MIT
- AlicenseAqualityDmaintenanceSelf-hosted MCP server for AI browser automation. Connects to your own Chromium instance via CDP, providing tools for browser control, navigation, interaction, and content extraction.191MIT
- AlicenseBqualityAmaintenanceA stdio MCP server that bridges the camofox-browser anti-detection browser automation API as MCP tools, with built-in SSRF and prompt injection protections.3317 npm1MIT
- FlicenseNot gradedqualityCmaintenanceMCP server that wraps agent-browser to let LLMs control a real browser, providing tools for navigation, interaction, reading page content, accessibility snapshots, screenshots, and session management.1-