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.
Localhost Browser Console and Network logs
Project Details
- Operative-Sh/playwright-consolelogs-mcp
- Last Updated: 4/16/2025
Recomended MCP Servers
Open Source, Self-Hosted, AI Search and LLM.txt for your website
Chain of Draft Server is a powerful AI-driven tool that helps developers make better decisions through systematic, iterative...
AI-powered search capabilities for AI assistants using the Tavily API and Model Context Protocol (MCP)
A repository for MCP server to connect to Linear
MCP Server for transcribing videos via video links and summarizing video content
High-performance FastAPI server implementing Model Context Protocol (MCP) for seamless integration with Large Language Models (LLMs). Built with...
Sensei MCP is a Model Context Protocol (MCP) server that provides expert guidance for Dojo and Cairo development...
A Model Context Protocol (MCP) server that provides basic mathematical and statistical functions to Large Language Models (LLMs)....
A macOS AppleScript MCP server
🔎 A Model Context Protocol (MCP) server for integrating Perplexity's AI API with LLMs.





