MCP.so
登录

MCP Web Snapshot

@gustavo-meilus

基本信息

分类

其他

许可证

MIT

传输方式

stdio

作者

gustavo-meilus

关于 MCP Web Snapshot

Take snapshot of websites and deliver it to LLM tools.

MCP Web Snapshot 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "mcp-web-snapshot": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/mcp-web-snapshot",
        "run",
        "python",
        "src/server.py"
      ]
    }
  }
}

MCP Web Snapshot 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is MCP Web Snapshot?

MCP Web Snapshot is a Model Context Protocol server that uses Playwright to capture comprehensive website snapshots, including accessibility trees, network requests, and console messages, designed for LLM-based analysis. It is built for developers using MCP clients such as VS Code, Cursor, Windsurf, or Claude Desktop.

How to use MCP Web Snapshot?

Install dependencies with uv sync and Playwright browsers with uv run playwright install, then configure the server in your MCP client using a JSON object with command: "uv" and args: ["--directory", "/path/to/mcp-web-snapshot", "run", "python", "src/server.py"]. After setup, invoke the website_snapshot tool with a valid URL.

Key features of MCP Web Snapshot

  • Fast and lightweight using Playwright’s accessibility tree
  • LLM-optimized structured data output
  • Comprehensive network and console message monitoring
  • Unique element references for interactive elements
  • Production-ready with error handling and timeouts
  • Well-tested with 92% code coverage

Use cases of MCP Web Snapshot

  • LLM-guided test generation from captured page structure
  • Web content analysis for pricing or feature comparison
  • Accessibility auditing based on WCAG guidelines
  • API integration analysis by monitoring network requests
  • Cross-browser test scenario creation from interactive elements

常见问题

1

What are the system requirements?

Python 3.11 or newer and a compatible MCP client (e.g., VS Code, Cursor, Claude Desktop).

2

How do I install Playwright browsers?

Run `uv run playwright install` after setting up the project dependencies.

3

Can I customize the viewport size or timeout?

Yes, edit the `CONFIG` dictionary in `src/tools/snapshot_url.py` to adjust viewport, user agent, and timeout settings.

4

What happens if I provide an invalid URL?

The server returns a helpful error message for malformed URLs.

5

How is this different from the interactive Playwright MCP?

MCP Web Snapshot focuses on one-shot, structured snapshots with network and console monitoring, while Playwright MCP offers interactive browser control.

评论

其他 分类下的更多 MCP 服务器