puppeteer-real-browser-mcp-server
v1.6.0MCP server for safe, detection-resistant browser automation
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
browser_init
Initialize a new browser instance with anti-detection features and automatic Chrome path detection
| Parameter | Type | Description |
|---|---|---|
connectOption | object | Additional connection options |
contentPriority | object | Configuration for content-first workflow enforcement |
customConfig | object | Custom configuration for Chrome launcher. Use chromePath to specify custom Chrome executable path |
disableXvfb | boolean | Disable Xvfb (X Virtual Framebuffer) |
headless | boolean | Run browser in headless mode |
profilePath | string | Absolute path to a dedicated automation profile. New or empty directories receive an MCP ownership marker; personal Chrome profiles are rejected. |
proxy | string | Proxy server URL (format: protocol://host:port) |
get_content
**Recommended** method to get page content (HTML or text) - More reliable than screenshots for content analysis and navigation tasks
| Parameter | Type | Description |
|---|---|---|
selector | string | CSS selector to get content from specific element |
type | string | Type of content to retrieve |
click
Click on an element
| Parameter | Type | Description |
|---|---|---|
selector * | string | CSS selector of element to click |
waitForNavigation | boolean | Wait for navigation after click |
type
Type text into an input field
| Parameter | Type | Description |
|---|---|---|
selector * | string | CSS selector of input element |
text * | string | Text to type |
delay | number | Delay between keystrokes in ms |
wait
Wait for various conditions
| Parameter | Type | Description |
|---|---|---|
type * | string | Type of wait condition |
value * | string | Selector to wait for or timeout in ms |
timeout | number | Maximum wait time in ms |
browser_close
Close the browser instance
solve_captcha
Attempt to solve CAPTCHAs (if supported)
| Parameter | Type | Description |
|---|---|---|
type * | string | Type of captcha to solve |
random_scroll
Perform random scrolling with natural timing
find_selector
Find CSS selector for element containing specific text
| Parameter | Type | Description |
|---|---|---|
text * | string | Text content to search for in elements |
elementType | string | HTML element type to search within (e.g., "button", "a", "div"). Default is "*" for any element |
exact | boolean | Whether to match exact text (true) or partial text (false) |
save_content_as_markdown
Extract page content and save it as a formatted markdown file
| Parameter | Type | Description |
|---|---|---|
filePath * | string | Absolute path where the markdown file should be saved (must end with .md) |
contentType | string | Type of content to extract and convert |
formatOptions | object | Options for markdown formatting |
selector | string | Optional CSS selector to extract content from specific element |