✨ From vibe coding to vibe deployment. UBOS MCP turns ideas into infra with one message.

Learn more

Console and Network Logs Playwright MCP Server

smithery badge

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.

Playwright Consolelogs MCP

Project Details

Featured Templates

View More
AI Engineering
Python Bug Fixer
119 1433
AI Assistants
Image to text with Claude 3
152 1366
AI Agents
AI Video Generator
252 2007 5.0
AI Characters
Your Speaking Avatar
169 928
AI Characters
Sarcastic AI Chat Bot
129 1713

Start your free trial

Build your solution today. No credit card required.

Sign In

Register

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.