stealth-browser-mcp

A MCP Server that provides browser access through playwright with "stealth mode" enabled.

GitHub Stars

14

User Rating

Not Rated

Forks

7

Issues

3

Views

0

Favorites

0

README

MseeP.ai Security Assessment Badge

Stealth Browser MCP Server

An MCP (Model Context Protocol) server that provides stealth browser capabilities using Playwright with anti-detection techniques. This server allows MCP clients to navigate to websites and take screenshots while evading common bot detection systems.

Stealth Browser Server MCP server
Features
  • Stealth Mode: Uses puppeteer-extra-plugin-stealth with playwright-extra to bypass bot detections
    • Modifies browser fingerprints to appear as regular user traffic
    • Handles WebGL, canvas, font, plugin and other browser fingerprinting techniques
  • Screenshot Tool: Take full-page or element-specific screenshots of any website
    • Supports both headless (default) and visible browser modes
  • MCP Integration: Exposes browser capabilities via Model Context Protocol
Installation
# Install dependencies
bun install
Usage
# Run the MCP server
bun start

# Development mode
bun dev

# Inspect available tools
bun inspect
Available Tools
screenshot

Takes screenshots of webpages using a stealth browser.

Parameters:

  • url (string, required): The URL to navigate to
  • fullPage (boolean, optional, default: true): Whether to capture the entire page
  • selector (string, optional): CSS selector to capture only a specific element
  • headless (boolean, optional, default: true): Whether to run in headless mode or visible browser mode
Technical Details

This project uses:


This project was built with Bun, a fast all-in-one JavaScript runtime.

Author Information

8

Followers

9

Repositories

2

Gists

7

Total Contributions

Top Contributors

Threads