Browser Monitoring MCP Server

Console and Network Logs Playwright MCP Server

This MCP (Model Context Protocol) server uses Playwright to open a browser, monitor console logs, and track network requests. It exposes these capabilities as tools that can be used by MCP clients.

Features

  • Open a browser at a specified URL
  • Monitor and retrieve console logs
  • Track and retrieve network requests
  • Close the browser when done

Requirements

  • Python 3.8+
  • Playwright
  • Model Context Protocol (MCP) Python SDK

Installation in claude

Edit the file: ~/Library/Application\ Support/Claude/claude_desktop_config.json

Add this:

"playwright": { "command": "/Users/christophersettles/.local/bin/uv", "args": [ "--directory", "/ABSOLUTE/PATH/TO/playwrightdebugger/", "run", "mcp_playwright.py" ] }

(Replace /ABSOLUTE/PATH/TO/playwrightdebugger/ with the absolute path to the directory where you cloned the repository)

Commands

Open localhost:3000/dashboard and look at console logs and network requests

Close the browser

How It Works

The server uses Playwright's event listeners to capture console messages and network activity. When a client requests this information, the server returns it in a structured format that can be used by the LLM.

-
security - not tested
F
license - not found
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

Opens a browser to monitor and retrieve console logs and network requests, providing structured data about web page behavior to LLMs.

  1. Features
    1. Requirements
      1. Installation in claude
        1. Commands
          1. How It Works

            Related MCP Servers

            • A
              security
              A
              license
              A
              quality
              This server enables LLMs to retrieve and process content from web pages, converting HTML to markdown for easier consumption.
              Last updated -
              1
              43,638
              JavaScript
              MIT License
              • Linux
              • Apple
            • A
              security
              F
              license
              A
              quality
              Enables browser automation for LLMs on Linux display servers, supporting web interaction, screenshots, and JavaScript execution in a real browser.
              Last updated -
              7
              0
              2
              JavaScript
              • Linux
            • A
              security
              F
              license
              A
              quality
              A server that helps discover and analyze websites implementing the llms.txt standard, allowing users to check if websites have llms.txt files and list known compliant websites.
              Last updated -
              2
              8
              37
              JavaScript
              • Apple
            • -
              security
              A
              license
              -
              quality
              A Model Context Protocol server that allows LLMs to interact with web content through standardized tools, currently supporting web scraping functionality.
              Last updated -
              Python
              MIT License
              • Linux
              • Apple

            View all related MCP servers

            ID: ma3zlev3rq