biteval
MCP Serverbitevalpublic

browser_ctl

Anthropic based MCP server built on Python Playwright , enable AI agents to control web browsers.

Repository Info

0
Stars
0
Forks
0
Watchers
0
Issues
Python
Language
Apache License 2.0
License

About This Server

Anthropic based MCP server built on Python Playwright , enable AI agents to control web browsers.

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

Browser CTL MCP Server

SSE Anthropic based MCP server built on Python Playwright, providing a suite of tools that enable AI agents to control and interact with web browsers , this simple version use chrome browser.

Exposed Tools:

1. execute_javascript

Execute JavaScript code in real-time browser using Playwright's evaluate method and return the script's result.

2. go_to_url

Visit a target url in real-time browser.

3. sleep_for

Browser sleep for a random seconds between begin and end .

4. close_browser

Close the opened browser.

5. open_browser

Open browser in real-time.

6. take_browser_screenshot

Capture a screenshot of the current browser page and return a base64-encoded image.

Default log

This MCP server start with info log level by default:

#Configure logging
logging.basicConfig(
    level=logging.INFO, format="%(asctime)s - %(levelname)s - %(message)s"
)

Default End Point

http://127.0.0.1:8001/sse

INSTALL

First, let’s install uv and set up our Python project and environment:

Linux:

curl -LsSf https://astral.sh/uv/install.sh | sh

Windows:

powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

Clone the repo:

git clone https://github.com/biteval/browser_ctl.git

Go to the project dir:

cd browser_ctl

Create virtual environment and activate it

uv init

uv venv

Linux:

source .venv/bin/activate

Windows:

.venv\Scripts\activate

Install dependencies

Linux

uv add "mcp[cli]" httpx playwright

Windows

uv add mcp[cli] httpx playwright

Download playwright browser binaries

python -m playwright install

Start the Browser CTL MCP Server

python browser_ctl.py

Contributions Are Welcome!

Your expertise and ideas can make a significant impact on this project. Thanks!

Learn More

Visit our YouTube channel to learn how to create AI agents:

Watch

Quick Start

1

Clone the repository

git clone https://github.com/biteval/browser_ctl
2

Install dependencies

cd browser_ctl
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownerbiteval
Repobrowser_ctl
LanguagePython
LicenseApache License 2.0
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation