{"type":"mcp_server","name":"mcp-playwright","description":"This repository hosts a Model Context Protocol (MCP) server leveraging Playwright for browser automation, enabling LLMs to interact with web pages and execute JavaScript. It supports tasks like screenshot capture","category":"Developer Tools","language":"TypeScript","stars":5563,"forks":148,"owner":"executeautomation","github_url":"https://github.com/executeautomation/mcp-playwright","homepage":"https://executeautomation.github.io/mcp-playwright/","setup":"## Setup\n\nYou can install the package using either npm, mcp-get, or Smithery:\n\nUsing npm:\n```bash\nnpm install -g @executeautomation/playwright-mcp-server\n```\n\nUsing mcp-get:\n```bash\nnpx @michaellatman/mcp-get@latest install @executeautomation/playwright-mcp-server\n```\nUsing Smithery\n\nTo install Playwright MCP for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@executeautomation/playwright-mcp-server):\n\n```bash\nnpx -y @smithery/cli install @executeautomation/playwright-mcp-server --client claude\n```\nHere's the Claude Desktop configuration to use the Playwright server:\n\n```json\n{\n  \"mcpServers\": {\n    \"playwright\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@executeautomation/playwright-mcp-server\"]\n    }\n  }\n}\n```","tools":"## Available Tools\n\n\t\t1. Browser automation capabilities (enables LLMs to interact with web pages).\n\t\t2. Take screenshots (capture visual representations of web pages).\n\t\t3. Generate test code (create automated tests for web applications).\n\t\t4. Web scraps the page (extract data from web pages).\n\t\t5. Execute JavaScript (run JavaScript code in a real browser environment).","faq":null,"created_at":"2024-12-03T18:43:20+00:00","updated_at":"2025-03-28T23:18:41+00:00","source_url":"https://model-context-protocol.com/servers/playwright-browser-automation-model-context-protocol","related_articles":[]}