BrowserLoop
@mattiasw
关于 BrowserLoop
A Model Context Protocol (MCP) server for taking screenshots of web pages using Playwright.
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"browserloop": {
"command": "npx",
"args": [
"playwright",
"install",
"chromium"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is BrowserLoop?
BrowserLoop is a Model Context Protocol (MCP) server for taking screenshots of web pages using Playwright. It enables AI agents to automatically capture and analyze screenshots for UI verification or other tasks.
How to use BrowserLoop?
Install Chromium with npx playwright install chromium, then run BrowserLoop via NPX (npx -y browserloop@latest) or Docker. Configure the server in your MCP settings file (e.g., ~/.cursor/mcp.json) using the npx command or a compiled Node.js path. Screenshots can be taken with natural language commands like “Take a screenshot of https://example.com”.
Key features of BrowserLoop
- High-quality screenshot capture using Playwright
- Support for localhost and remote URLs
- Cookie-based authentication for protected pages
- Docker containerization for consistent environments
- PNG, JPEG, and WebP format support with configurable quality
- Full page and element-specific screenshot capture
Use cases of BrowserLoop
- Capture UI screenshots of local development servers with authentication
- Take screenshots of staging environments for visual regression testing
- Verify API documentation tools such as Swagger or GraphQL Playground
- Automate screenshots of admin panels and protected routes
- Debug UI changes by capturing pages during development
FAQ from BrowserLoop
How do I fix the “Executable doesn't exist” error?
Install the Chromium browser by running npx playwright install chromium. This is a required one-time setup.
Why is my MCP server not starting?
First test manually with npx browserloop@latest --version. Then verify Node.js 20+, npm, and npx are installed, and check your MCP configuration JSON syntax.
How can I capture screenshots from login-protected pages?
Use cookie-based authentication by providing cookies via the “cookies” parameter or the BROWSERLOOP_DEFAULT_COOKIES environment variable. See the Cookie Authentication Guide for details.
How do I update BrowserLoop to the latest version?
If using NPX with @latest, the latest version is used automatically—no manual update is needed. You can check the current version with npx browserloop@latest --version.
Where are debug logs written and how do I enable them?
Set the BROWSERLOOP_DEBUG environment variable to true. Debug logs are written to /tmp/browserloop.log (not the console) to maintain MCP stdio compatibility.
其他 分类下的更多 MCP 服务器
🚀 Model Context Protocol (MCP) Curriculum for Beginners
microsoftThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
ghidraMCP
LaurieWiredMCP Server for Ghidra
Inbox Zero AI
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
ICSS
chokcoco不止于 CSS
Unity MCP ✨
justinpbarnettUnity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.
评论