GitHunt
DE

dealenx/ai-factory-extension-playwright-mcp

ai-factory-extension-playwright-mcp

An ai-factory extension that adds the Playwright MCP server to all your agents. Once installed, your AI agents (Claude Code, Cline, etc.) can control a browser — navigate pages, click elements, fill forms, take screenshots, and more.

Installation

# from a git repo
ai-factory extension add https://github.com/dealenx/ai-factory-extension-playwright-mcp.git

# or from a local directory
ai-factory extension add ./ai-factory-extension-playwright-mcp

ai-factory will merge the Playwright MCP server config into every agent that supports MCP.

What's Inside

ai-factory-extension-playwright-mcp/
├── extension.json       # Extension manifest
├── mcp/
│   └── playwright.json  # Playwright MCP server config
├── package.json
├── LICENSE
└── README.md

extension.json

{
  "name": "ai-factory-extension-playwright-mcp",
  "version": "1.0.0",
  "description": "Playwright MCP server as an ai-factory extension",
  "mcpServers": [
    {
      "key": "playwright",
      "template": "./mcp/playwright.json",
      "instruction": "Playwright MCP: Install Chrome to use a web browser"
    }
  ]
}

mcp/playwright.json

{
  "command": "npx",
  "args": ["@playwright/mcp@latest"]
}

Managing the Extension

# List installed extensions
ai-factory extension list

# Remove the extension
ai-factory extension remove ai-factory-extension-playwright-mcp

Documentation

License

MIT