{"repo":"ZenyaDAR/PlayGuard","free":true,"listed":false,"github":"https://github.com/ZenyaDAR/PlayGuard","clone":"git clone https://github.com/ZenyaDAR/PlayGuard.git","description":"AI-powered MCP proxy for Playwright and Figma. Optimize Claude Code and AI agents with session recovery, context reduction and intelligent tool routing.","language":"JavaScript","stars":15,"topics":["ai-agent","ai-agents","anthropic","automation","browser-automation","claude","claude-code","context-window","developer-tools","llm"],"license":"MIT","category":"ai-agents","readme_excerpt":"PlayGuard An MCP proxy that sits between your AI agent and browser/design tools. It wraps Playwright MCP and optionally a Figma MCP, exposing a single unified MCP server while transparently adding: - Automatic session recovery — dead browser sessions are revived; the agent never sees a crash error - Token optimization — compact snapshots, delta diffs, snapshot cache, and eval caching reduce browser snapshot cost by 70–90% - Figma response optimization — strips metadata, invisible layers, duplicate component instances, and SVG geometry blobs before the response reaches the agent - Screenshot policy — redirect, warn, block, or allow screenshot calls Works with Claude Code, Claude Desktop, Cursor, Codex, or any MCP-compatible agent. --- Architecture Figma MCP is optional. If FIGMA MCP CMD is not set, PlayGuard runs in browser-only mode with no behavior changes. Playwright MCP is bundled as a dependency — no separate installation required. --- Features Browser (Playwright) Automatic Session Recovery PlayGuard intercepts dead-session errors before the agent sees them: It restarts Playwright MCP, restores the last URL, and retries the call transparently. Two concurrent calls during a crash → one restart, both calls continue. Compact Snapshots browser snapshot normally returns the full accessibility tree. PlayGuard keeps only lines with [ref=] (interactive elements) and structural landmarks ( nav , main , form , dialog , …). Static text and decorative images have no refs and are not","default_branch":null,"files":null,"tree":[],"storefront":"/r/ZenyaDAR","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ZenyaDAR/PlayGuard/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}