Skip to content

Stealth browser automation for AI agents over MCP and the Chrome DevTools Protocol: navigation, network hooks, DOM extraction, and pixel-accurate UI cloning.

Use absolute README links so images show on PyPI

Vibhek Soni16d684641aed
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2d019c2..d7697a0 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -21,6 +21,7 @@ The format is based on Keep a Changelog and adheres to Semantic Versioning where
- **Tests** - `tests/test_js_values.py`, `tests/test_element_cloners.py`, and `tests/test_hooks_and_proxy.py` cover result conversion, template escaping, cloner data paths, hook matching, proxy parsing, and debug log export. CI now runs the unit test suite.
### Fixed
+- **README images on PyPI** - The logo, sponsor banner, demo GIF, and showcase image use absolute GitHub URLs, so they show on the PyPI page instead of breaking. The version badge shows the PyPI release instead of a stale 0.2.5, and file links point at GitHub.
- **Fresh installs** - `mcp` is pinned to 1.30.0. `mcp` 2.x removed names that fastmcp 2.11.2 imports, so an unpinned install could fail at startup. `py2js` now comes from PyPI (1.2.1, the same code as the old git pin), so installing no longer needs git, and `pydantic` is 2.12.5, which has Python 3.14 wheels.
- **Sandbox flags** - Chrome keeps its sandbox on Windows and macOS, including under an administrator account. Only Linux as root or in a container gets `--no-sandbox`. `--disable-setuid-sandbox`, `--single-process`, and `--disable-gpu` are no longer added anywhere, so headed windows no longer show the "unsupported command-line flag" bar, tabs no longer share one crash-prone process in containers, and WebGL stays available.
- **Browser startup** - Chrome gets up to 30 seconds to start instead of under 3, which cold CI runners and slow disks missed. A failed start no longer leaves a Chrome process and temp profile behind, and Chrome's output goes to the null device instead of an unread pipe that could fill up and block it.
diff --git a/README.md b/README.md
index 6e305d7..50ccf85 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
<div align="center">
-<img src="media/UndetectedStealthBrowser-2.png" alt="Stealth Browser MCP logo" width="200"/>
+<img src="https://raw.githubusercontent.com/vibheksoni/stealth-browser-mcp/master/media/UndetectedStealthBrowser-2.png" alt="Stealth Browser MCP logo" width="200"/>
# Stealth Browser MCP
@@ -9,11 +9,11 @@
Navigate Cloudflare challenges, anti-bot checks, and login walls with real Chrome-family browser instances powered by [nodriver](https://github.com/ultrafunkamsterdam/nodriver), Chrome DevTools Protocol, and [FastMCP](https://github.com/jlowin/fastmcp).
[![MCP](https://img.shields.io/badge/MCP-Compatible-blue?style=flat-square)](https://modelcontextprotocol.io)
-[![Version](https://img.shields.io/badge/version-0.2.5-blue?style=flat-square)](pyproject.toml)
-[![Python](https://img.shields.io/badge/Python-3.10%2B-blue?style=flat-square)](pyproject.toml)
+[![PyPI](https://img.shields.io/pypi/v/browserstealthmcp?style=flat-square)](https://pypi.org/project/browserstealthmcp/)
+[![Python](https://img.shields.io/badge/Python-3.10%2B-blue?style=flat-square)](https://github.com/vibheksoni/stealth-browser-mcp/blob/master/pyproject.toml)
[![Stars](https://img.shields.io/github/stars/vibheksoni/stealth-browser-mcp?style=flat-square)](https://github.com/vibheksoni/stealth-browser-mcp/stargazers)
-[![License](https://img.shields.io/badge/License-MIT-green?style=flat-square)](LICENSE)
-[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen?style=flat-square)](CONTRIBUTING.md)
+[![License](https://img.shields.io/badge/License-MIT-green?style=flat-square)](https://github.com/vibheksoni/stealth-browser-mcp/blob/master/LICENSE)
+[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen?style=flat-square)](https://github.com/vibheksoni/stealth-browser-mcp/blob/master/CONTRIBUTING.md)
</div>
@@ -21,7 +21,7 @@ Navigate Cloudflare challenges, anti-bot checks, and login walls with real Chrom
## Sponsors
-<a href="https://go.nodemaven.com/stealthbrowsermcpreadmesept"><img src="media/nodemaven-sponsor.png" alt="NodeMaven" width="100%"></a>
+<a href="https://go.nodemaven.com/stealthbrowsermcpreadmesept"><img src="https://raw.githubusercontent.com/vibheksoni/stealth-browser-mcp/master/media/nodemaven-sponsor.png" alt="NodeMaven" width="100%"></a>
[NodeMaven](https://go.nodemaven.com/stealthbrowsermcpreadmesept) — The most efficient proxy provider for Web Scraping and Automation with the Highest Quality IP on the market.
@@ -69,9 +69,9 @@ Navigate Cloudflare challenges, anti-bot checks, and login walls with real Chrom
## Demo
<div align="center">
-<img src="media/showcase-demo-full.gif" alt="Stealth Browser MCP demo" width="800" style="border-radius: 8px;">
+<img src="https://raw.githubusercontent.com/vibheksoni/stealth-browser-mcp/master/media/showcase-demo-full.gif" alt="Stealth Browser MCP demo" width="800" style="border-radius: 8px;">
<br><br>
-<a href="media/Showcase%20Stealth%20Browser%20Mcp.mp4" download>
+<a href="https://raw.githubusercontent.com/vibheksoni/stealth-browser-mcp/master/media/Showcase%20Stealth%20Browser%20Mcp.mp4" download>
<img src="https://img.shields.io/badge/Watch%20HD%20Video-red?style=for-the-badge&logo=video&logoColor=white" alt="Watch HD Video">
</a>
</div>
@@ -549,7 +549,7 @@ client = Client(
## Stealth vs Playwright MCP
-Detection results are point-in-time and depend on site policy, region, browser version, IP reputation, and detector version. See [STEALTH_TESTS.md](STEALTH_TESTS.md) for weekly automated results from the benchmark in `benchmarks/stealth/`, which runs on Linux, Windows, and macOS in GitHub Actions, plus the earlier manual snapshot.
+Detection results are point-in-time and depend on site policy, region, browser version, IP reputation, and detector version. See [STEALTH_TESTS.md](https://github.com/vibheksoni/stealth-browser-mcp/blob/master/STEALTH_TESTS.md) for weekly automated results from the benchmark in `benchmarks/stealth/`, which runs on Linux, Windows, and macOS in GitHub Actions, plus the earlier manual snapshot.
| Feature | Stealth Browser MCP | Playwright MCP |
|---------|---------------------|----------------|
@@ -613,24 +613,24 @@ All driven from a single AI agent conversation.
## Showcase
<div align="center">
-<img src="media/AugmentHeroClone.PNG" alt="Augment Code Hero Recreation" width="700" style="border-radius: 8px;">
+<img src="https://raw.githubusercontent.com/vibheksoni/stealth-browser-mcp/master/media/AugmentHeroClone.PNG" alt="Augment Code Hero Recreation" width="700" style="border-radius: 8px;">
</div>
**Augment Code hero clone** - A user asked Claude to clone the hero section from [augmentcode.com](https://www.augmentcode.com/). The agent spawned a stealth browser, navigated to the site, extracted the complete element via CDP (styles, structure, assets), and generated a pixel-accurate HTML recreation with responsive design and animations. The entire process took under two minutes of conversation.
-[View the recreation](demo/augment-hero-recreation.html) | [Full walkthrough](demo/augment-hero-clone.md)
+[View the recreation](https://github.com/vibheksoni/stealth-browser-mcp/blob/master/demo/augment-hero-recreation.html) | [Full walkthrough](https://github.com/vibheksoni/stealth-browser-mcp/blob/master/demo/augment-hero-clone.md)
---
## Roadmap
-See the live plan in [ROADMAP.md](ROADMAP.md). Contributions welcome.
+See the live plan in [ROADMAP.md](https://github.com/vibheksoni/stealth-browser-mcp/blob/master/ROADMAP.md). Contributions welcome.
---
## Contributing
-Read [CONTRIBUTING.md](CONTRIBUTING.md) and open a PR. First-time contributors welcome.
+Read [CONTRIBUTING.md](https://github.com/vibheksoni/stealth-browser-mcp/blob/master/CONTRIBUTING.md) and open a PR. First-time contributors welcome.
If this project saves you time, star the repo. It helps more than you think.
@@ -646,4 +646,4 @@ If this tool saved you time or made you money, consider supporting development:
## License
-MIT - see [LICENSE](LICENSE).
+MIT - see [LICENSE](https://github.com/vibheksoni/stealth-browser-mcp/blob/master/LICENSE).
diff --git a/src/stealth_browser_mcp/__init__.py b/src/stealth_browser_mcp/__init__.py
index acd3c29..a1c150a 100644
--- a/src/stealth_browser_mcp/__init__.py
+++ b/src/stealth_browser_mcp/__init__.py
@@ -1,3 +1,3 @@
"""Stealth Browser MCP, undetectable browser automation over the Model Context Protocol."""
-__version__ = "0.3.0"
+__version__ = "0.3.1"
diff --git a/tests/test_packaging.py b/tests/test_packaging.py
index 704940d..5c0e118 100644
--- a/tests/test_packaging.py
+++ b/tests/test_packaging.py
@@ -76,6 +76,12 @@ class PackageContentsTests(unittest.TestCase):
server.main(["--list-sections"])
self.assertEqual(raised.exception.code, 0)
+ def test_readme_links_work_on_pypi(self):
+ readme = (ROOT / "README.md").read_text(encoding="utf-8")
+ targets = re.findall(r'(?:src|href)="([^"]+)"', readme) + re.findall(r"\]\(([^)\s]+)\)", readme)
+ relative = [target for target in targets if not target.startswith(("http://", "https://", "mailto:", "#"))]
+ self.assertEqual(relative, [], "PyPI renders the README without the repo, so links must be absolute")
+
@unittest.skipIf(tomllib is None, "tomllib needs Python 3.11")
def test_console_script_points_at_main(self):
project = tomllib.loads((ROOT / "pyproject.toml").read_text(encoding="utf-8"))