Skip to main content
Glama

Multi-Browser Automation MCP Server

A FastMCP 3.x server providing multi-engine browser automation via the MCP protocol. Supports Camoufox (Playwright-based), DrissionPage, and Browser Use (AI agent) with datacenter proxy rotation.

Features

  • Three engines: Camoufox (anti-detect), DrissionPage (lightweight), Browser Use (AI agent)

  • Proxy support: 25-datacenter proxy pool (off by default), per-engine application

  • FastMCP 3.x: Modern SSE/HTTP/stdio transports, Prefect Horizon cloud-ready

  • Browser Use agent: LLM-driven automation via OpenAI-compatible API (9Router or direct)

Related MCP server: DrissionPage MCP Server

Quick Start

# Install dependencies
pip install -r requirements.txt

# Install browsers (first time only)
python -m playwright install
camoufox fetch

# Run server (SSE on 127.0.0.1:8000)
fastmcp run server.py

# Or with custom transport/port
fastmcp run server.py --transport http --port 8080
fastmcp run server.py --transport stdio

# Also works directly
python server.py
python server.py --transport http --port 8080

Tools

Tool

Description

set_active_engine(engine)

Switch active engine: camoufox or drissionpage

enable_drissionpage(enable)

Enable/disable DrissionPage (off by default)

set_proxy(enable, proxy?)

Toggle proxy; optional proxy URL overrides random pick

get_proxy_status()

View current proxy state and pool size

navigate(url)

Open URL with active engine

get_page_source()

Get truncated HTML of current page

click_element(selector)

Click element by CSS/XPath

run_browser_use(task, max_steps?, headless?)

Run AI agent task (requires LLM)

close_browser()

Close all browser instances

Proxy

proxies.txt contains 25 datacenter proxies (user:pass@host:port). Proxy is disabled by default.

# Enable with random proxy from pool
await set_proxy(True)

# Enable with specific proxy
await set_proxy(True, "http://user:pass@host:port")

# Disable
await set_proxy(False)

When toggling proxy, any running browser restarts automatically to apply the change.

Browser Use (AI Agent)

Requires an OpenAI-compatible LLM endpoint:

Env var

Purpose

OPENAI_API_KEY

Direct OpenAI key

OPENAI_BASE_URL

Custom OpenAI base URL

NINEROUTER_URL

9Router gateway URL

NINEROUTER_KEY

9Router API key

BROWSER_USE_MODEL

Model name (default: gpt-4o)

Example task:

await run_browser_use(
    task="Go to github.com, search for 'fastmcp', click first result, return repo stars",
    max_steps=20,
    headless=True
)

Engines

Camoufox (default)

Playwright-based with anti-detection. Best for sites with bot protection.

DrissionPage

Lightweight, fast, no Playwright dependency. Enable first:

await enable_drissionpage(True)
await set_active_engine("drissionpage")

Browser Use

AI agent that plans and executes multi-step tasks. Runs isolated Chromium session.

Project Structure

.
├── server.py         # FastMCP server with all tools
├── requirements.txt  # Pinned dependencies
├── proxies.txt       # Proxy pool (gitignored in public, committed to private)
└── LICENSE

Development

# Check dependencies
pip check

# Lint/type-check (if configured)
ruff check .
mypy .

# Run with auto-reload (FastMCP dev mode)
fastmcp dev server.py

Notes

  • proxies.txt contains credentials; it's in .gitignore and only committed to the private repo.

  • First run: python -m playwright install && camoufox fetch to download browsers.

  • Server binds to 127.0.0.1:8000 by default (SSE). Use --host 0.0.0.0 for LAN access.

A
license - permissive license
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    B
    quality
    D
    maintenance
    An MCP server providing robust browser automation tools for AI assistants, including page navigation, element interaction, and screenshot capabilities. It leverages the DrissionPage library to enable standardized DOM analysis, network monitoring, and complex web task automation.
    17
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    A professional browser automation server that enables MCP clients to perform structured web navigation, element interaction, and data extraction using the DrissionPage framework. It features 14 deterministic tools optimized for LLMs to automate web workflows efficiently without relying on vision-based models.
    69
    413
    Apache 2.0
  • A
    license
    A
    quality
    B
    maintenance
    MCP 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.
    21
    1
    MIT
  • A
    license
    -
    quality
    A
    maintenance
    MCP server for Meshbrow that gives AI agents full browser automation capabilities with stealth anti-detection, enabling natural language control of browser sessions, data extraction, and multi-browser fleets.
    MIT

View all related MCP servers

Related MCP Connectors

  • Free remote MCP server for fetching public web pages through a rotating proxy pool.

  • A paid remote MCP for AI agent browser approval MCP, built to return verdicts, receipts, usage logs,

  • Managed LinkedIn MCP server for AI agents: search, connect, message and enrich on accounts you own.

View all MCP Connectors

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/BlackCatOfficialytb/multi-browser-mcp'

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