Puppeteer MCP Server

puppeteer_connect_active_tab

Connect to an existing Chrome instance with remote debugging enabled

Input Schema

NameRequiredDescriptionDefault
debugPortNoOptional Chrome debugging port (default: 9222)
targetUrlNoOptional URL of the target tab to connect to. If not provided, connects to the first available tab.

Input Schema (JSON Schema)

{ "properties": { "debugPort": { "default": 9222, "description": "Optional Chrome debugging port (default: 9222)", "type": "number" }, "targetUrl": { "description": "Optional URL of the target tab to connect to. If not provided, connects to the first available tab.", "type": "string" } }, "required": [], "type": "object" }