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
AI Client2025

Turns Chromium into a local-first AI browser with an embedded assistant that can summarise pages, extract structured data, automate web tasks, and run scheduled agents. Built as an open-source Chromium fork with 53+ built-in browser tools, 40+ app integrations, and support for BYO AI keys or fully local models (Ollama / LM Studio).

GitHub

Runs a self-hosted meeting bot and transcription API that joins Google Meet, Teams and Zoom and streams speaker-attributed transcripts in real time. Compiles meetings into a git-backed Markdown workspace and runs sandboxed agents on your infrastructure; Apache-2.0 and air-gap capable.

GitHub

Lets AI agents produce expressive, polished charts from compact, human-editable semantic specs; the compiler infers layout, scales, and labels and emits Vega-Lite, ECharts, or Chart.js outputs, with an MCP server for agent-driven chart creation and rendering.