mcp-puppeteer

mcp-puppeteer

3.3

MCP Puppeteer is a Model Context Protocol server that provides browser automation capabilities using Puppeteer, enabling LLMs to interact with web pages.

MCP Puppeteer is a server designed to facilitate browser automation through the use of Puppeteer. It allows Language Model Models (LLMs) to interact with web pages in a real browser environment, providing capabilities such as taking screenshots, executing JavaScript, and simulating user interactions like clicking, hovering, and typing. This server is particularly useful for tasks that require a high level of interaction with web content, such as form manipulation and accessibility tree generation. It also supports console log monitoring, making it a comprehensive tool for web automation and testing.

Features

  • Browser automation with Puppeteer
  • Screenshot capabilities
  • Accessibility tree generation
  • Element targeting with frame support
  • User interaction simulation (click, hover, type)

Usage with Different Platforms

sse_client

<script type="module" src="../dist/client.js"></script>

testing

bash
# Run client tests
npm test

# Run with coverage
npm run test:coverage