modelcontextprotocol/puppeteer

MCP Server

MCP Puppeteer Server - browser automation and web scraping

Official MCP Puppeteer server. Browser automation, screenshots, form filling, and JavaScript execution.

MCP Server

  • Package: @modelcontextprotocol/server-puppeteer
  • Transport: stdio
  • Command: npx -y @modelcontextprotocol/server-puppeteer

Authentication

None

VariableRequiredDescription
PUPPETEER_LAUNCH_OPTIONSNoJSON-encoded launch options
ALLOW_DANGEROUSNoAllow security-reducing args

Available Tools

ToolDescription
puppeteer_navigateNavigate to URL
puppeteer_screenshotTake screenshot
puppeteer_clickClick element
puppeteer_fillFill input
puppeteer_selectSelect option
puppeteer_evaluateExecute JavaScript

Configuration Example

toml
[[mcp.servers]]
name = "puppeteer"
type = "stdio"
command = "npx"
args = ["-y", "@modelcontextprotocol/server-puppeteer"]
timeout_seconds = 60
env = { PUPPETEER_LAUNCH_OPTIONS = "your-value", ALLOW_DANGEROUS = "your-value" }
tools = []