Skip to main content

playwright-mcp-python

Python-native MCP server for browser automation with Playwright.

This package is designed as a Python implementation of the Playwright MCP tool contract. It exposes the same tool names and input schemas as pinned @playwright/mcp@0.0.75, while running through the official Python MCP SDK and Python Playwright.

Install

pip install playwright-mcp-python
python -m playwright install chromium

Run

Local browser launch:

playwright-mcp-python --browser chromium

Connect to an existing Chrome DevTools Protocol endpoint:

playwright-mcp-python --cdp-endpoint http://localhost:9222

Compatibility Target

  • Tool names: captured from @playwright/mcp@0.0.75
  • Input schemas: captured from @playwright/mcp@0.0.75
  • Transport: MCP over stdio
  • Browser backend: Python Playwright, Chromium-first

Verification

pytest tests/conformance -v -m 'not upstream_live'
pytest tests/conformance/test_upstream_live.py -v -m upstream_live

The live upstream tests compare this package against pinned Microsoft Playwright MCP for tool registry/schema parity and normalized behavior on core browser actions.

Metadata

Release files for playwright-mcp-python 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for playwright-mcp-python 0.1.0
File Size Uploaded Provenance Actions
playwright_mcp_python-0.1.0.tar.gz 21.2 kB With provenance Details for playwright_mcp_python-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for playwright-mcp-python 0.1.0
File Interpreter ABI Platform Actions
playwright_mcp_python-0.1.0-py3-none-any.whl Python 3 none any Details for playwright_mcp_python-0.1.0-py3-none-any.whl

Total release size: 44.3 kB

Release files / playwright_mcp_python-0.1.0.tar.gz

Download URL playwright_mcp_python-0.1.0.tar.gz
Size 21.2 kB
Tags Source
SHA-256 checksum
How to use checksums
aad49e138ad8a651fe1ae79fb7f70b09615aa8cb1acfc5a62b7d5de63ca1282d
BLAKE2b-256 checksum
How to use checksums
6f0d460dff6daaefa8d5fee836670f36e4f08fd2f0c913841d6e6d1d7defc125
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 2, 2026.

Transparency log

Release files / playwright_mcp_python-0.1.0-py3-none-any.whl

Download URL playwright_mcp_python-0.1.0-py3-none-any.whl
Size 23.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
51ba274c2a828ced38ebe7abead6ab268266fc2212fdcae02585d602f9351014
BLAKE2b-256 checksum
How to use checksums
0686a777daf5ca9d7055e9606b62ba64f60f8a514bebf1ddfba2d1a51f1e1c16
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 2, 2026.

Transparency log

Security for playwright-mcp-python 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for playwright_mcp_python-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 2, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page