# PlayGuard

> PlayGuard is an open-source MCP server for developer tools. One MCP proxy for Playwright, Figma, DevTools, Shopify Dev and Context7, with less output. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, macOS, Windows, Linux
- **Website:** https://playguard.dev
- **Repository:** https://github.com/zenyadar/playguard
- **MCP Registry name:** io.github.ZenyaDAR/playguard
- **Categories:** developer tools, browser automation
- **Listing updated:** 2026-11-14

## About

A single config entry starts a set of upstream servers and merges their tools into one list, so an agent connects once. Playwright MCP is bundled and always on; Figma (Framelink or the official desktop server), Chrome DevTools MCP, Shopify Dev MCP and Context7 start only when their environment variables are set. A failing optional upstream removes only its own tools.

The claim is that browser snapshot cost falls 70 to 90 percent through compact, delta and UNCHANGED snapshots, trimmed Figma trees, summarised network lists and rewritten documentation answers. Dead browser sessions and crashed upstream processes are restarted and the last URL restored. Caches include snapshots, evaluate calls, Figma and 24-hour on-disk documentation, with a screenshot policy and an NDJSON log that npm run analyze turns into savings per upstream.

Two tools are its own: playguard_a11y_audit runs axe-core in the open page and playguard_compare_design compares a Figma node with a live DOM element, using Framelink only. It is MIT-licensed and installed from npm.

## Features

- **One connection:** Merges tools from up to five upstream MCP servers.
- **Token trimming:** Compacts snapshots, Figma trees and network lists.
- **Crash recovery:** Restarts dead sessions and retries the call.
- **Disk caching:** Keeps documentation lookups for 24 hours.
- **Accessibility audit:** Runs axe-core and returns a short ranked report.
- **Design diff:** Compares a Figma node with the rendered element.

## Good for

- Running browser QA with fewer tokens per page
- Turning a Figma design into code with a trimmed design tree
- Auditing a page for WCAG issues in one call
- Auditing Shopify theme work with cached docs

## Install

### Claude Code (Terminal)

```sh
claude mcp add playguard -- npx -y playguard
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "playguard": {
      "command": "npx",
      "args": [
        "-y",
        "playguard"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "playguard": {
      "command": "npx",
      "args": [
        "-y",
        "playguard"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "playguard": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "playguard"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "playguard": {
      "command": "npx",
      "args": [
        "-y",
        "playguard"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "playguard": {
      "command": "npx",
      "args": [
        "-y",
        "playguard"
      ]
    }
  }
}
```

## Tools

- `playguard_a11y_audit`: Run axe-core in the open page and return a ranked report
- `playguard_compare_design`: Compare a Figma node with a live DOM element

## FAQ

### Is it free?

Yes, the site says free and MIT-licensed.

### Which clients work?

Claude Code, Claude Desktop, Cursor and Codex, or any MCP agent.

### Does Figma need an API key?

Framelink needs FIGMA_API_KEY; the official desktop server needs no key.

### Can it proxy Figma's remote server?

No, mcp.figma.com cannot be proxied.

### Is PlayGuard free?

Yes. PlayGuard is open source, so you can use and self-host it for free.

### How do I add PlayGuard to Claude Code?

Run this command in your terminal: claude mcp add playguard -- npx -y playguard

### What are the best alternatives to PlayGuard?

The closest alternatives to PlayGuard are REA, Browser Use, Scrapling MCP Server, Codebase Memory and GitHub.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Browser Use](https://ai-powered.com/mcp/browser-use): Browser Use is a freemium MCP server for browser automation.
- [Scrapling MCP Server](https://ai-powered.com/mcp/scrapling-mcp-server): Scrapling MCP Server is an open-source MCP server for web search and scraping.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/playguard
