Browser Mcp — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Browser Mcp (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
A MCP (Model Control Protocol) server for browser-use library. This package allows AI agents to perform web browsing tasks through a standardized interface.
You can install the package using pip:
pip install browser-mcpOr with uv (recommended):
uv pip install browser-mcpAfter installation, you'll need to install Playwright's browser dependencies:
playwright installAlternatively, you can use the browser-mcp-run command which will automatically install these dependencies if they're missing.
For development, clone the repository and install in development mode:
# Clone the repository
git clone https://github.com/pranav7/browser-mcp.git
cd browser-mcp
# Install dependencies with uv
uv pip install -e .
# Or with pip
pip install -e .Create a .env file with your OpenAI API key:
OPENAI_API_KEY=your_api_key_here#### In Development Mode
When working with the package in development mode, you can run it directly with Python:
mcp dev browser_mcp/server.py#### In Production
After installing the package from PyPI, you can run it with uvx:
uvx browser-mcpThe package is specifically designed to work with uvx, which allows for more efficient package loading and execution.
#### With Automatic Dependency Check
You can also use the browser-mcp-run command, which checks for and installs Playwright dependencies automatically before starting the server:
browser-mcp-runThis ensures that all required Playwright browsers are installed on your system.
from mcp.client import Client
async def main():
client = await Client.connect()
# Perform a task with the browser
result = await client.rpc("perform_task_with_browser",
task="Search for the latest news about AI and summarize the top 3 results")
print(result)
await client.close()You can also use the package programmatically:
# In development mode
from src import run
# In production (after installing the package)
# from browser_mcp import run
# Run the MCP server with stdio transport
run(transport="stdio")
# Or with SSE transport
# run(transport="sse")search_web(task: str, model: str = "gpt-4o-mini") - Performs basic web searches using browser-use Agent. The model parameter is optional and defaults to "gpt-4o-mini".search_web_with_planning(task: str, base_model: str = "gpt-4o-mini", planning_model: str = "o3-mini") - Performs complex web searches that require planning. Uses a planner LLM for better task decomposition. Both base_model and planning_model parameters are optional with their respective defaults.Tests can be run with:
python -m unittest discoverYou can also test the package functionality with:
python test_uvx.pyThis script will:
Note: The uvx test may fail in development mode unless the package is published to PyPI. This is expected behavior.
This project uses GitHub Actions to automatically publish to PyPI when a new release is created. The workflow:
To create a new release:
pyproject.toml~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.