Glasses MCP Server Verified

@gourraguis Claim

Basic information

Transport
stdio
Runtime
TypeScript
Version
1.0.0
Author
gourraguis
Quality
40
Views
1.3K

About Glasses MCP Server

Glasses automates website screenshot capture with headless Chrome, offering device emulation and flexible formats for web development tasks.

Glasses is a MCP server in the Browser Automation category listed in the AddMCP.net directory, published by gourraguis. It exposes 1 tool, including screenshot. Supported transport: stdio. Runtime: TypeScript. License: MIT. The repository has 9 GitHub stars. Source code is hosted on github.com. Related topics: ai-agent, automation, browser-automation, cloudflare, community.

Setup

{
    "mcpServers": {
        "glasses": {
            "command": "npx",
            "args": [
                "-y",
                "glasses-mcp"
            ]
        }
    }
}

Glasses MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "glasses": {
            "command": "npx",
            "args": [
                "-y",
                "glasses-mcp"
            ]
        }
    }
}

Glasses MCP Server tools

  • screenshot — Takes a screenshot of a website.

Overview

What is Glasses?

This project demonstrates how to use Cloudflare Browser Rendering to extract web content for LLM context. It includes experiments with the REST API and Workers Binding API, as well as an MCP server implementation that provides web context to LLMs via tools like fetching pages and summarizing content.

How to use Glasses?

Clone the repository, install dependencies, and configure a Cloudflare Worker with the Browser Rendering binding and the nodejs_compat flag. Deploy the Worker, set the BROWSER_RENDERING_API environment variable to your Worker’s URL, then build and run the MCP server with npm run build and npm start. The MCP server exposes tools that can be invoked through compatible clients (e.g., Cline via MCP settings).

Key features of Glasses

  • Demonstrates Cloudflare Browser Rendering for LLM context
  • Includes REST API and Workers Binding API experiments
  • Provides an MCP server with four tools
  • Tools: fetch_page, search_documentation, extract_structured_content, summarize_content
  • Integrates with Cline via MCP settings

Use cases of Glasses

  • Extract web page content for LLM context
  • Search and retrieve Cloudflare documentation
  • Extract structured content from pages using CSS selectors
  • Summarize web content for concise LLM input

Frequently asked questions

1 What prerequisites are needed?

Node.js v16 or later, a Cloudflare account with Browser Rendering enabled, TypeScript, and the Wrangler CLI.

2 How do I configure the Cloudflare Worker?

Set up wrangler.toml with a [browser] binding (e.g., binding = "browser"), enable nodejs_compat, then deploy with npx wrangler deploy.

3 How do I set the Browser Rendering API URL?

Set the BROWSER_RENDERING_API environment variable to the URL of your deployed Cloudflare Worker.

4 What MCP server tools are available?

The MCP server provides fetch_page, search_documentation, extract_structured_content, and summarize_content.

5 What are key learnings for using Cloudflare Browser Rendering?

Use the @cloudflare/puppeteer package, launch the browser with puppeteer.launch(env.browser), enable the nodejs_compat compatibility flag, and always close the

Videos

Tutorials, guides, and showcases related to Glasses MCP Server. The player loads when you press play.

Videos belong to their creators. Relevance is approximate; check the channel and description before following setup steps.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬