# Glasses

> Use this tool when you need to capture visual snapshots of web pages for automated testing, content auditing, or AI assistant development. It provides a configurable interface for device emulation, output formats, and capture options, accepting URLs and format preferences as inputs and producing PNG or JPEG screenshots as outputs. Ideal for web development workflows, it enables programmatic access to visual web page content without manual browser navigation.

Canonical page: https://skillsregistry.net/skills/gourraguis-glasses  
JSON: https://api.skillsregistry.net/v1/skills/gourraguis-glasses

## Description

This MCP server provides website screenshot capabilities using Puppeteer for headless Chrome automation, enabling AI assistants to capture visual snapshots of web pages with configurable device emulation and output formats. Built by Abderrahmane Gourragui with TypeScript and the Model Context Protocol SDK, it features device emulation for various screen sizes (iOS, Android, tablets, laptops with different DPI settings), support for both PNG and JPEG formats, full-page or viewport-only capture options, and robust error handling with comprehensive logging. The implementation uses Puppeteer's headless Chrome instance with sandbox-disabled arguments for compatibility, waits for network idle before capturing to ensure complete page loads, and automatically handles file path extensions based on the selected format, making it valuable for web development workflows, automated testing documentation, content auditing, and building AI assistants that need programmatic access to visual web page content without manual browser navigation.

## Trust

- **Trust score (0–1):** 1.00
- **Verification tier:** verified
- **Last scanned:** 2026-09-19

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** browser-automation
- **Updated:** 2026-09-19

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/gourraguis-glasses)
- **Repository:** <https://github.com/gourraguis/glasses-mcp>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "gourraguis-glasses"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/gourraguis-glasses` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/gourraguis-glasses/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
