Playwright Plus Python MCP logo

Playwright Plus Python MCP

by blackwhite084

Playwright-based MCP tools for navigating, inspecting, interacting with, and capturing browser pages.

Install Playwright Plus Python MCP

Run the project’s own setup commands, in order.

Setup steps from the project

blackwhite084/playwright-plus-python-mcp installs with its own commands rather than a config we can generate, so these are copied as-is. Run them in order in a terminal. Source: github.com

  1. 1. Start the server
    npx @modelcontextprotocol/inspector uv --directory C:\Users\YUNYING\Documents\project\python\mcp\playwright-server run playwright-server
    

Overview

blackwhite084/playwright-plus-python-mcp MCP server exposes Playwright browser actions through MCP tools for navigation, screenshots, clicks, form filling, JavaScript evaluation, and page inspection. It can create a browser session when navigation is requested without an active session, then operate on the current page with CSS selectors or text. The server also includes note resources and a prompt for summarizing stored notes. Reach for it when an MCP client needs to drive and inspect browser pages through a Python-based server.

Use cases

  • Navigate to websites for agent-driven browser tasks
  • Fill web forms using CSS selectors
  • Capture screenshots of pages or elements
  • Extract visible text and HTML from pages

Key features

  • Playwright browser navigation
  • CSS selector clicks and form filling
  • Text-based element clicking
  • JavaScript evaluation
  • Page text, HTML, and screenshots
  • Note resources and summarization prompt

Tools8

What Playwright Plus Python MCP lets your agent do. Expand a tool for its parameters.

Self-reported~149 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 1d ago

Recent health check succeeded.

15/15 checks healthy over the last 90d

Supply-chain signal

2 high-severity advisories on record for this package. Most advisories affect transitive dependencies and may not be exploitable in this server's actual usage — this is a directional signal, not a security audit.

Critical 1High 1Medium 0Low 0

Scanned 8/26/2026 via OSV.dev

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars188Stargazers on the source repository.
Last commit1y agoMost recent push to the default branch.
Tools exposed8Callable tools this server registers over MCP.
Directory activity5 viewsConfig copies, upvotes, and views on AllMCPs.

How Playwright Plus Python MCP works

What blackwhite084/playwright-plus-python-mcp MCP server does

blackwhite084/playwright-plus-python-mcp MCP server connects MCP clients to browser automation operations built around Playwright. Its tools can open a URL, capture the current page or a selected element, click controls, populate fields, run JavaScript, and retrieve page content. Navigation creates a new session automatically when no active session exists.

The server also describes a simple note storage feature. Notes are exposed through a custom note:// URI scheme, with each resource carrying a name, description, and text/plain MIME type. A summarize-notes prompt combines the stored notes into a summarization prompt and accepts a style value for brief or detailed output.

How it works

The browser tools act on the current Playwright page. playwright_navigate accepts a URL and establishes a session if necessary. playwright_screenshot requires a file name and can optionally receive a CSS selector; without a selector, it captures the full page. playwright_click and playwright_fill use CSS selectors, while playwright_click_text locates an element by its text content.

For page inspection, playwright_get_text_content returns text from visible elements, and playwright_get_html_content returns HTML for a selected area using a CSS selector. playwright_evaluate runs supplied JavaScript in the browser console. These operations let an agent combine page navigation, interaction, and extraction in one MCP session.

Setup and configuration

The README provides a published-server configuration for Claude Desktop using uvx:

config.json
{
  "mcpServers": {
    "playwright-server": {
      "command": "uvx",
      "args": ["playwright-server"]
    }
  }
}

The configuration file is located at ~/Library/Application Support/Claude/claude_desktop_config.json on macOS and at %APPDATA%/Claude/claude_desktop_config.json on Windows. The repository does not provide completed application-specific configuration settings; its configuration section is marked as a TODO.

Tools and capabilities

  • Navigate to a specified URL.
  • Capture full-page or element screenshots.
  • Click elements with CSS selectors or text matching.
  • Fill input fields with a supplied value.
  • Execute JavaScript in the browser console.
  • Read visible text and selected HTML content.
  • Access stored notes through note:// resources.
  • Generate brief or detailed summaries of stored notes.

Limitations and notes

blackwhite084/playwright-plus-python-mcp MCP server runs over stdio, so clients must launch it as a local process rather than connect to a documented hosted endpoint. The material does not specify browser installation steps, supported browser engines, persistence behavior, authentication handling, or additional environment variables. It also does not document configuration values beyond the Claude Desktop launch examples.

The screenshot tool requires a screenshot name, and page interaction tools require the selectors, text, values, scripts, or other arguments described above. The README recommends MCP Inspector for debugging stdio servers, but that utility is separate from blackwhite084/playwright-plus-python-mcp MCP server itself.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Playwright Plus Python MCP

Yes. The README provides macOS and Windows Claude Desktop configuration examples.

It provides tools for navigation, screenshots, CSS-selector clicks, text-based clicks, form filling, JavaScript evaluation, visible text extraction, and HTML extraction.

Yes. It includes a `summarize-notes` prompt with an optional brief or detailed style and exposes notes through `note://` resources.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewPlaywright Plus Python MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/blackwhite084-playwright-plus-python-mcp?style=directory)](https://allmcps.com/mcp/blackwhite084-playwright-plus-python-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/blackwhite084-playwright-plus-python-mcp"><img src="https://allmcps.com/api/badge/blackwhite084-playwright-plus-python-mcp?style=directory" alt="Playwright Plus Python MCP on AllMCPs" /></a>