Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Browser Instrumentation MCP Servernavigate to news.ycombinator.com and show me the console logs"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Browser Instrumentation MCP Server
A Model Context Protocol (MCP) server for browser instrumentation using Playwright. Prioritizes observation over action.
This server does not attempt to make browser automation reliable. Browsers are non-deterministic systems. This server prioritizes visibility over convenience.
Philosophy
This server is designed around one principle: observation first, action second.
INSPECT tools (7 tools) - Safe, encouraged, no side effects
ACT tools (3 tools) - Dangerous, require escalation and justification, logged
Actions don't return success/failure. They return what was observed with a confidence level.
When NOT to Use This
Form filling
Login automation
Payment flows
Anything you wouldn't trust a flaky intern to do
Any scenario requiring reliable, repeatable automation
If you need reliable automation, use Playwright directly with proper test infrastructure.
Installation
Prerequisites
Python 3.11 or later
Playwright browsers installed
Install from source
Configuration
Claude Desktop
Add to your Claude Desktop configuration:
Windows: %APPDATA%\Claude\claude_desktop_config.json
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Claude Code
Available Tools
Session Management
Tool | Description |
| Create a new session (observation-only mode) |
| List sessions with status and event count |
| Clean up session |
| Enable actions (requires reason) |
INSPECT Tools (Safe)
Tool | Description |
| Navigate to URL |
| Capture page screenshot |
| Get HTML content |
| Get text content (no HTML) |
| Get console log messages |
| Get network requests |
| Get session event log |
ACT Tools (Require Escalation)
Tool | Description |
| Click element (requires reason) |
| Type into input (requires reason) |
| Execute JavaScript (requires reason) |
Usage Examples
Observation workflow (typical)
Action workflow (when observation isn't enough)
Action result format
ACT tools return observed changes, not success/failure:
Event Log
Every session maintains an append-only event log. Use browser_inspect_events to audit what happened:
Architecture
Development Setup
Testing
Integration tests are marked with @pytest.mark.integration and may require:
Playwright browsers installed (
playwright install chromium)Network access for real navigation
A running CDP-enabled browser for CDP tests
To run CDP integration tests, start a Chromium instance with a remote debugging
port and set BIMCP_CDP_URL, for example:
License
MIT
This server cannot be installed