Python-native Playwright MCP server
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file playwright_mcp_python-0.1.0.tar.gz.
File metadata
- Download URL: playwright_mcp_python-0.1.0.tar.gz
- Upload date:
- Size: 21.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aad49e138ad8a651fe1ae79fb7f70b09615aa8cb1acfc5a62b7d5de63ca1282d
|
|
| MD5 |
b8923c804aca6c906c9560a4f853dd9c
|
|
| BLAKE2b-256 |
6f0d460dff6daaefa8d5fee836670f36e4f08fd2f0c913841d6e6d1d7defc125
|
Provenance
The following attestation bundles were made for playwright_mcp_python-0.1.0.tar.gz:
Publisher:
publish-to-pypi.yml on raka334/playwright-mcp-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
playwright_mcp_python-0.1.0.tar.gz -
Subject digest:
aad49e138ad8a651fe1ae79fb7f70b09615aa8cb1acfc5a62b7d5de63ca1282d - Sigstore transparency entry: 1705101024
- Sigstore integration time:
-
Permalink:
raka334/playwright-mcp-python@8ae3881b778eff5ecfb10599ed1c67788eb21eca -
Branch / Tag:
refs/heads/main - Owner: https://github.com/raka334
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@8ae3881b778eff5ecfb10599ed1c67788eb21eca -
Trigger Event:
push
-
Statement type:
File details
Details for the file playwright_mcp_python-0.1.0-py3-none-any.whl.
File metadata
- Download URL: playwright_mcp_python-0.1.0-py3-none-any.whl
- Upload date:
- Size: 23.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
51ba274c2a828ced38ebe7abead6ab268266fc2212fdcae02585d602f9351014
|
|
| MD5 |
cc6f3e2756fc87911cf652cb9dc417bf
|
|
| BLAKE2b-256 |
0686a777daf5ca9d7055e9606b62ba64f60f8a514bebf1ddfba2d1a51f1e1c16
|
Provenance
The following attestation bundles were made for playwright_mcp_python-0.1.0-py3-none-any.whl:
Publisher:
publish-to-pypi.yml on raka334/playwright-mcp-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
playwright_mcp_python-0.1.0-py3-none-any.whl -
Subject digest:
51ba274c2a828ced38ebe7abead6ab268266fc2212fdcae02585d602f9351014 - Sigstore transparency entry: 1705101112
- Sigstore integration time:
-
Permalink:
raka334/playwright-mcp-python@8ae3881b778eff5ecfb10599ed1c67788eb21eca -
Branch / Tag:
refs/heads/main - Owner: https://github.com/raka334
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@8ae3881b778eff5ecfb10599ed1c67788eb21eca -
Trigger Event:
push
-
Statement type: