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.
Playwright Consolelogs MCP
Project Details
- Lumeva-AI/playwright-consolelogs-mcp
- Last Updated: 4/10/2025
Recomended MCP Servers
A Model Context Protocol (MCP) server for interacting with Home Assistant. This server provides tools to control and...
A collection of tools for your LLMs that run on Modal
A simple implementation of an MCP server for the ScreenshotOne API
kali linux mcp,pentest,penetration test
Stock market data provider for Claude Desktop using MCP
A powerful headless browser MCP server that enables AI agents to fetch web content and perform Google searches...
An MCP server that autonomously evaluates web applications.
An experiment in software planning using MCP
Claude meets Google Docs via MCP
Make LLM can control your PC or Server with ssh or terminal.