stealth browser mcp
Provides stealth browser capabilities using Playwright with anti-detection techniques, allowing MCP clients to navigate websites and take screenshots while evading common bot detection systems.
Provides stealth browser capabilities using Playwright with anti-detection techniques, allowing MCP clients to navigate websites and take screenshots while evading common bot detection systems.
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.
# Install dependencies
bun install
# Run the MCP server
bun start
# Development mode
bun dev
# Inspect available tools
bun inspect
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
This project uses: - FastMCP for the MCP server implementation - Playwright for browser automation - playwright-extra for plugin support - puppeteer-extra-plugin-stealth for avoiding bot detection
This project was built with Bun, a fast all-in-one JavaScript runtime.
[
{
"description": "Navigate to a URL and take a screenshot of the webpage",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"fullPage": {
"default": true,
"description": "Whether to take a screenshot of the full page",
"type": "boolean"
},
"headless": {
"default": true,
"description": "Whether to run browser in headless mode (default) or visible mode",
"type": "boolean"
},
"selector": {
"description": "CSS selector to screenshot a specific element",
"type": "string"
},
"url": {
"description": "URL to navigate to",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
},
"name": "screenshot"
}
]