AIAny
Icon for item

Playwright MCP

Gives an LLM a browser via Playwright's accessibility tree instead of screenshots, so the model reads structured snapshots, not pixels. Actions target named elements deterministically, cutting token use and removing any need for a vision model.

Introduction

Most ways of letting an LLM drive a browser hand it a screenshot and ask it to guess where to click. That burns vision tokens and breaks the moment a layout shifts. This server takes the opposite route: it feeds the model Playwright's accessibility tree, so the page arrives as named, structured elements the LLM can reference directly. Actions become deterministic rather than coordinate-guessing — which is also why the same logic powers self-healing tests.

What Sets It Apart
  • Accessibility-tree snapshots instead of pixels mean no vision model is required and token cost stays low — the model works from text the way a screen reader would.
  • Clicks and types target semantic elements by role and name, so they survive layout changes that would defeat coordinate-based automation.
  • It runs as a standard MCP server, so it drops into VS Code, Cursor, Claude Desktop, and other MCP clients without per-client glue code.
  • Persistent browser context lets one session carry state across many steps, suiting long-running autonomous workflows rather than one-shot scrapes.
Who It's For And The Trade-offs

A great fit if you want an agent that explores web apps, repairs flaky tests, or runs multi-step browsing reliably across a stable, accessible DOM. Look elsewhere if your target relies on canvas-rendered or visually-encoded content with no accessibility metadata — there the structured-snapshot approach has little to read, and a screenshot-based tool may capture more. It also assumes you are comfortable running a browser process alongside your agent.

Information

  • Websitegithub.com
  • AuthorsMicrosoft
  • Published date2025/03/21

Categories

More Items

GitHub

Indexes full text of visited web pages and local files on a self‑hosted server so you can search your personal knowledge from a web UI, terminal, CLI, or an AI assistant. Runs without mandatory telemetry, offers a browser extension for automatic capture, and supports optional semantic search via a configurable embeddings endpoint.

GitHub

A read-only mirror of Anthropic's community plugin marketplace for Claude Cowork and Claude Code, listing vetted third-party plugins in a nightly-synced marketplace.json. Intended for discovering and installing community plugins via the Claude plugin system.

GitHub

Lets AI agents discover and run Apify Actors as MCP tools for web scraping and automation; supports OAuth/Streamable HTTP, dynamic tool discovery, output-schema inference, and agentic payments (AGI, x402, Skyfire) so agents like Claude, ChatGPT, or VS Code can call ready-made scrapers and automations.