MyBrowserControl
OfficialProvides Lighthouse performance auditing capabilities through a dedicated Lighthouse mode and a planned browser_lighthouse_audit tool, enabling performance audits and QA analysis of web pages.
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., "@MyBrowserControl go to example.com and take a screenshot"
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.
MyBrowserControl
Advanced browser automation MCP server built on Microsoft Playwright MCP foundation
π― Overview
MyBrowserControl is a unified browser automation MCP (Model Context Protocol) server that combines the best features from multiple browser automation solutions:
Microsoft Playwright MCP - Enterprise-grade foundation (21.4k stars, 96% issue resolution)
AgentDesk AI - Lighthouse audits and advanced tooling
BrowserMCP - Stealth mode and session management
Three-Mode Architecture
Native Mode (Default) - Fast, direct Playwright automation
Lighthouse Mode - Performance audits and QA analysis
Extension Mode - Connect to existing browser sessions
Related MCP server: Playwright MCP Automation
π Quick Start
Installation
npm install -g @mybrowsercontrol/mcpBasic Usage
# Start server in native mode (default)
mybrowsercontrol
# Start in Lighthouse mode
mybrowsercontrol --mode lighthouse
# Start in headless mode
mybrowsercontrol --headless
# Start with headed mode (visible browser window)
mybrowsercontrol --headed
# Use system-installed browser instead of Playwright's bundled browser
mybrowsercontrol --executable-path /usr/bin/chromium
# Combined: headed mode with system browser
mybrowsercontrol --headed --executable-path /usr/bin/chromiumMCP Configuration
Add to your ~/.cline/mcp_servers.json:
{
"mcpServers": {
"browser": {
"command": "npx",
"args": ["@mybrowsercontrol/mcp@latest"]
}
}
}Or for local development:
{
"mcpServers": {
"browser": {
"command": "node",
"args": ["/home/mw/Projects/mybrowsercontrol/dist/index.js"]
}
}
}π Available Tools
Core Tools (v0.1.0)
browser_navigate- Navigate to a URLbrowser_screenshot- Capture page screenshotbrowser_content- Get page HTML contentbrowser_close- Close the browser
Coming Soon (Phase 2-3)
browser_lighthouse_audit- Run Lighthouse performance auditsbrowser_session_save- Save browser session statebrowser_session_restore- Restore saved sessionbrowser_stealth_enable- Enable anti-detection modebrowser_optimize_tokens- AI-optimized result filtering
ποΈ Architecture
βββββββββββββββββββββββββββββββββββββββ
β AI Assistant (Cline/Claude) β
ββββββββββββββββ¬βββββββββββββββββββββββ
β MCP Protocol
βΌ
βββββββββββββββββββββββββββββββββββββββ
β MyBrowserControl MCP Server β
β β
β ββββββββββββββββββββββββββββββββββ β
β β Core: Playwright Foundation β β
β β - 3 deployment modes β β
β β - Multi-browser support β β
β β - Accessibility-first β β
β ββββββββββββββββββββββββββββββββββ β
β β
β ββββββββββββββββββββββββββββββββββ β
β β Extensions (Coming Soon) β β
β β - Lighthouse integration β β
β β - Stealth mode β β
β β - Session management β β
β β - Screenshot optimization β β
β ββββββββββββββββββββββββββββββββββ β
ββββββββββββββββ¬βββββββββββββββββββββββ
β Playwright API
βΌ
ββββββββββββββββ
β Browser β
β (Chrome/FF) β
ββββββββββββββββπ οΈ Development
Prerequisites
Node.js 18+
npm or yarn
Git
Setup
# Clone repository
git clone https://github.com/satwareAG/mybrowsercontrol.git
cd mybrowsercontrol
# Install dependencies
npm install
# Build
npm run build
# Run in development mode
npm run devProject Structure
mybrowsercontrol/
βββ src/
β βββ index.ts # Entry point
β βββ server.ts # MCP server implementation
β βββ config/
β β βββ types.ts # Configuration types
β βββ core/
β β βββ playwright.ts # Playwright wrapper
β βββ extensions/ # Future extensions
β β βββ lighthouse/
β β βββ stealth/
β β βββ screenshot/
β β βββ session/
β βββ tools/ # MCP tool implementations
βββ dist/ # Compiled output
βββ docs/ # Documentation
βββ tests/ # Test suiteπ§ͺ Testing
MyBrowserControl follows Test-Driven Design (TDD) principles with comprehensive test coverage:
Test Suite Status
Unit Tests: β 46 tests passing
Application Tests: π§ Pending implementation
Integration Tests: π§ Pending implementation
Acceptance Tests: π§ Pending implementation
Running Tests
# Run all unit tests
npm run test:unit
# Run with coverage
npm run test:unit -- --coverage
# Watch mode for TDD
npm run test:watch
# Run all tests (when implemented)
npm testManual Testing with MCP Inspector
Test tools interactively using the official MCP Inspector:
# Build project
npm run build
# Launch Inspector
npx @modelcontextprotocol/inspector node dist/index.jsThe Inspector provides a web UI to:
List all available MCP tools
Execute tools with custom parameters
View responses and debug issues
Monitor MCP protocol messages
Documentation
Testing Guide - Comprehensive testing strategy
Inspector Guide - MCP Inspector usage and debugging
π Documentation
Getting Started (coming soon)
Configuration Guide (coming soon)
API Reference (coming soon)
πΊοΈ Roadmap
Phase 1: Foundation (Current - Months 1-2)
Project structure and TypeScript setup
Core Playwright wrapper
Basic MCP server implementation
Native mode with 4 core tools
Testing framework
CI/CD pipeline
Phase 2: Extensions (Month 3)
Lighthouse integration
Screenshot optimization
AI-optimized result filtering
Extended tool set
Phase 3: Advanced Features (Month 4)
Multi-tab session management
Stealth mode
Session save/restore
Selective tool loading
Phase 4: Polish & Release (Months 5-6)
Comprehensive testing
Performance benchmarking
Complete documentation
v1.0.0 public release
π€ Contributing
Contributions are welcome! This is an open-source project under the Apache 2.0 license.
Development Workflow
Fork the repository
Create a feature branch
Make your changes
Add tests
Submit a pull request
π License
Apache License 2.0 - See LICENSE file for details.
π Acknowledgments
Built on the shoulders of giants:
Microsoft Playwright MCP - Foundation and core architecture
AgentDesk AI - Lighthouse integration inspiration
BrowserMCP - Stealth mode techniques
Model Context Protocol - MCP SDK and specification
π Support
Issues: GitHub Issues
Discussions: GitHub Discussions
Email: ja@satware.ai
π Links
npm Package (pending publication)
Changelog (coming soon)
Status: π§ Active Development (v0.1.0 - Phase 1)
Made with β€οΈ by satware AG
Available Tools
4 toolsbrowser_closeC
Close the browser
Inputs: no named parameters.
browser_contentB
Get the HTML content of the current page
Inputs: no named parameters.
browser_screenshotC
Take a screenshot of the current page
Inputs: fullPage.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
TDQS
Scored across 4 tools
Each tool targets a clearly distinct operation: navigation, visual capture, DOM retrieval, and teardown. There is no plausible way to confuse one with another, and the descriptions reinforce the boundaries.
All four names use a consistent 'browser_' prefix with snake_case, which reads predictably. Minor deviation in that navigate/close are verbs while screenshot/content are nouns, but the intent is still unambiguous.
Four tools is on the thin side for a browser-control server, though each one earns its place with no redundancy. An agent would quickly run out of levers, making the surface feel under-scoped rather than bloated.
The set supports navigate, read, and screenshot but offers no way to interact with a page β no click, type, scroll, wait-for-load, or back/forward. This read-only surface will dead-end any workflow that requires acting on the page beyond loading it.
Maintenance
Related MCP Connectors
Control a real browser from AI agents: navigate, click, type, screenshot, read the page.
Playwright browser automation β navigate, click, fill forms, extract, screenshot β 17 agent tools.
Run reusable browser automations from your AI assistant: scrape sites, extract data, fill forms.
AI-powered browser automation β navigate, click, fill forms, and extract data from any website.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to automate web browsers through Playwright, providing capabilities for navigation, content extraction, form filling, screenshot capture, and JavaScript execution. Supports multiple browser engines with comprehensive error handling and security features.1-
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to control browser automation through natural language prompts using Playwright, supporting visual element interaction, PDF generation, screenshots, and testing assertions.ISC
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to control web browsers through Playwright automation, providing 50+ tools for navigation, interaction, testing, accessibility audits, and visual testing across Chromium, Firefox, and WebKit.-
- AlicenseAqualityDmaintenanceEnables AI assistants to perform browser automation using Playwright, including navigation, content extraction, screenshot analysis, and custom script execution.5MIT