Glance is an MCP server that gives your AI agent eyes. Navigate, click, screenshot, and test — Claude literally sees your app.
Try it right now
Works with Claude Code, Cursor, Windsurf, Claude Desktop, and any MCP-compatible client.
# Add Glance to Claude Code
claude mcp add glance -- npx glance-mcp
# With headed mode (watch the browser in real-time)
claude mcp add glance \
-e BROWSER_HEADLESS=false \
-- npx glance-mcp
# Then just ask Claude:
$ "Open localhost:3000 and test the login flow"
Claude Code Extensions
# Install agent for Claude Code
curl -o ~/.claude/agents/glance-e2e-tester.md \
https://raw.githubusercontent.com/DebugBase/glance/main/agents/e2e-browser-tester.md
# Install skill for Claude Code
mkdir -p ~/.claude/skills/glance-test
curl -o ~/.claude/skills/glance-test/SKILL.md \
https://raw.githubusercontent.com/DebugBase/glance/main/skills/glance-test/SKILL.md
30
MCP Tools
12
Assertion Types
300+
Test Steps Run
97%
Pass Rate
How it works
Screenshots returned inline. Accessibility snapshots as structured text. Claude doesn't guess — it looks.
Claude Code
AI Agent
Glance
MCP Server
Browser
Chromium
Screenshots returned as base64 images directly in Claude's response. Claude sees the actual rendered pixels.
Full page structure as a text tree. Every link, button, input, heading — with labels, roles, and states.
URL allowlist/denylist, rate limiting, JS execution policies. Three profiles: local-dev, restricted, open.
Define multi-step tests in JSON or plain English. 12 assertion types, form filling, auth flow testing.
Pixel-level screenshot comparison. Save baselines, detect changes. Powered by pixelmatch.
Monitor all HTTP requests and console messages. Catch failed API calls, CSP errors, JS exceptions.
30 MCP Tools
Configuration
| Variable | Default | Description |
|---|---|---|
| BROWSER_HEADLESS | true | Show browser window |
| BROWSER_SECURITY_PROFILE | local-dev | local-dev / restricted / open |
| BROWSER_VIEWPORT_WIDTH | 1280 | Viewport width (px) |
| BROWSER_VIEWPORT_HEIGHT | 720 | Viewport height (px) |
| BROWSER_TIMEOUT | 30000 | Default timeout (ms) |
Open-source, MIT licensed, community-driven.
Glance is free and open source. If it saves you time, consider supporting development.