BrowserLoop

BrowserLoop

MCP server for screenshots and console logs from web pages using Playwright.

23
Stars
0
Forks
3
Releases

Overview

BrowserLoop is an archived MCP server that uses Playwright to take screenshots and read console logs from web pages. It enables AI agents and developers to automatically capture high-quality screenshots and monitor browser console output for debugging, testing, and development tasks. It supports local and remote URLs, cookie-based authentication for protected pages, and both full-page and element-specific captures. It can run in Docker containers for consistent environments and integrates with the MCP protocol to work with AI development tools. The project offers configurable viewport sizes and output formats (webp, png, jpeg) with adjustable quality, and provides extensive configuration via environment variables and MCP config snippets. Note that the project is archived and will not receive updates; for browser automation capabilities, the Chrome DevTools MCP project is recommended as a more comprehensive alternative. Documentation includes a cookie authentication guide and a complete API reference, along with troubleshooting and deployment examples.

Details

Owner
mattiasw
Language
TypeScript
License
GNU Affero General Public License v3.0
Updated
2025-12-07

Features

High-quality screenshot capture using Playwright

Capture high-quality screenshots with configurable formats, viewport sizes, and options.

Console log monitoring and collection

Read and collect browser console output for debugging and verification.

Cookie-based authentication

Support for cookies to access login-protected pages.

Full page and element-specific capture

Take full-page or element-level screenshots via CSS selectors.

Configurable viewport sizes and formats

Adjust width, height, format (webp/png/jpeg) and quality.

Docker containerization

Run BrowserLoop in Docker for consistent environments.

MCP protocol integration

Fully compatible with MCP for use with AI development tools.

Secure non-root container execution

Runs as non-root for security in container environments.

Audience

AI developersUse MCP commands to capture screenshots and console logs for automated debugging and reasoning.
QA engineersAutomate visual validation and console log debugging across web applications during testing.
DevOps teamsRun headless screenshots and logs in CI/CD pipelines and development environments.

Tags

PlaywrightScreenshotsConsole logsMCPCookie authenticationDockerChromiumWebPPNGJPEGFull page captureElement captureAI development tools