{"id":29113415,"url":"https://github.com/operative-sh/playwright-consolelogs-mcp","last_synced_at":"2025-06-29T11:07:08.872Z","repository":{"id":283943846,"uuid":"953359947","full_name":"Operative-Sh/playwright-consolelogs-mcp","owner":"Operative-Sh","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-24T21:41:55.000Z","size":41,"stargazers_count":12,"open_issues_count":3,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-17T13:06:41.948Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Operative-Sh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-23T07:07:53.000Z","updated_at":"2025-06-03T23:50:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"425cba81-788f-4433-903f-6b2cd94b986e","html_url":"https://github.com/Operative-Sh/playwright-consolelogs-mcp","commit_stats":null,"previous_names":["lumeva-ai/playwright-consolelogs-mcp","operative-sh/playwright-consolelogs-mcp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Operative-Sh/playwright-consolelogs-mcp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Operative-Sh%2Fplaywright-consolelogs-mcp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Operative-Sh%2Fplaywright-consolelogs-mcp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Operative-Sh%2Fplaywright-consolelogs-mcp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Operative-Sh%2Fplaywright-consolelogs-mcp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Operative-Sh","download_url":"https://codeload.github.com/Operative-Sh/playwright-consolelogs-mcp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Operative-Sh%2Fplaywright-consolelogs-mcp/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262581351,"owners_count":23331912,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-29T11:05:31.256Z","updated_at":"2025-06-29T11:07:08.852Z","avatar_url":"https://github.com/Operative-Sh.png","language":"Python","funding_links":[],"categories":["Browser Automation"],"sub_categories":["How to Submit"],"readme":"# Console and Network Logs Playwright MCP Server\n\n[![smithery badge](https://smithery.ai/badge/@Lumeva-AI/playwright-consolelogs-mcp)](https://smithery.ai/server/@Lumeva-AI/playwright-consolelogs-mcp)\n\nThis 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.\n\n## Features\n\n- Open a browser at a specified URL\n- Monitor and retrieve console logs\n- Track and retrieve network requests\n- Close the browser when done\n\n## Requirements\n\n- Python 3.8+\n- Playwright\n- Model Context Protocol (MCP) Python SDK\n\n## Installation in claude\n\nEdit the file:\n`~/Library/Application\\ Support/Claude/claude_desktop_config.json`\n\nAdd this:\n\n```json\n\"playwright\": {\n   \"command\": \"/Users/christophersettles/.local/bin/uv\",\n   \"args\": [\n      \"--directory\",\n      \"/ABSOLUTE/PATH/TO/playwrightdebugger/\",\n      \"run\",\n      \"mcp_playwright.py\"\n   ]\n}\n```\n\n(Replace `/ABSOLUTE/PATH/TO/playwrightdebugger/` with the absolute path to the directory where you cloned the repository)\n\n## Commands\n\nOpen localhost:3000/dashboard and look at console logs and network requests\n\nClose the browser\n\n## How It Works\n\nThe 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.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foperative-sh%2Fplaywright-consolelogs-mcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foperative-sh%2Fplaywright-consolelogs-mcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foperative-sh%2Fplaywright-consolelogs-mcp/lists"}