{"id":23479524,"url":"https://github.com/Automata-Labs-team/MCP-Server-Playwright","last_synced_at":"2025-08-27T07:31:23.048Z","repository":{"id":266043889,"uuid":"897203967","full_name":"Automata-Labs-team/MCP-Server-Playwright","owner":"Automata-Labs-team","description":"MCP server for browser automation using Playwright","archived":false,"fork":false,"pushed_at":"2025-06-05T21:48:28.000Z","size":103,"stargazers_count":238,"open_issues_count":8,"forks_count":31,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-08T05:48:29.831Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Automata-Labs-team.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2024-12-02T08:15:20.000Z","updated_at":"2025-08-07T08:49:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"af95a0ce-885e-4f8c-bfbb-4b9de81e802f","html_url":"https://github.com/Automata-Labs-team/MCP-Server-Playwright","commit_stats":null,"previous_names":["automata-labs-team/mcp-server-playwright"],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/Automata-Labs-team/MCP-Server-Playwright","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Automata-Labs-team%2FMCP-Server-Playwright","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Automata-Labs-team%2FMCP-Server-Playwright/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Automata-Labs-team%2FMCP-Server-Playwright/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Automata-Labs-team%2FMCP-Server-Playwright/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Automata-Labs-team","download_url":"https://codeload.github.com/Automata-Labs-team/MCP-Server-Playwright/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Automata-Labs-team%2FMCP-Server-Playwright/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272304637,"owners_count":24910603,"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","status":"online","status_checked_at":"2025-08-27T02:00:09.397Z","response_time":76,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2024-12-24T19:30:04.184Z","updated_at":"2025-08-27T07:31:23.028Z","avatar_url":"https://github.com/Automata-Labs-team.png","language":"JavaScript","funding_links":[],"categories":["CI/CD \u0026 DevOps Pipelines","Code Execution \u0026 Automation Mcp Servers","MCP 服务器精选列表","Browser Automation","Legend","スター履歴","JavaScript","MCP Servers","カテゴリ","🌐 Web Development","Table of Contents","Server Implementations","Uncategorized"],"sub_categories":["📂 Browser Automation","🌐 浏览器自动化与网页交互","📂 \u003ca name=\"browser-automation\"\u003e\u003c/a\u003eBrowser Automation","📂 \u003ca name=\"browser-automation\"\u003e\u003c/a\u003eブラウザ自動化","🛠️ \u003ca name=\"developer-tools\"\u003e\u003c/a\u003e開発ツール","Browser Automation","Uncategorized"],"readme":"\u003ch1 align=\"center\"\u003eMCP Server Playwright\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.automatalabs.io\"\u003e\u003cimg alt=\"MCP Playwright\" src=\"https://automatalabs.io/icon.svg\" height=\"250\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003cb\u003eA Model Context Protocol server that provides browser automation capabilities using Playwright\u003c/b\u003e\u003c/br\u003e\n  \u003csub\u003eEnable LLMs to interact with web pages, take screenshots, and execute JavaScript in a real browser environment\u003c/sub\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.npmjs.com/package/@automatalabs/mcp-server-playwright\"\u003e\u003cimg alt=\"NPM Version\" src=\"https://img.shields.io/npm/v/@automatalabs/mcp-server-playwright.svg\" height=\"20\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://npmcharts.com/compare/@automatalabs/mcp-server-playwright?minimal=true\"\u003e\u003cimg alt=\"Downloads per month\" src=\"https://img.shields.io/npm/dm/@automatalabs/mcp-server-playwright.svg\" height=\"20\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/Automata-Labs-team/MCP-Server-Playwright/blob/main/LICENSE\"\u003e\u003cimg alt=\"License\" src=\"https://img.shields.io/github/license/Automata-Labs-team/MCP-Server-Playwright.svg\" height=\"20\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://smithery.ai/server/@automatalabs/mcp-server-playwright\"\u003e\u003cimg alt=\"Smithery Installs\" src=\"https://smithery.ai/badge/@automatalabs/mcp-server-playwright\" height=\"20\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003ca href=\"https://glama.ai/mcp/servers/9q4zck8po5\"\u003e\u003cimg width=\"380\" height=\"200\" src=\"https://glama.ai/mcp/servers/9q4zck8po5/badge\" alt=\"MCP-Server-Playwright MCP server\" /\u003e\u003c/a\u003e\n\n## Table of Contents\n\n- [Features](#features)\n- [Installation](#installation)\n- [Configuration](#configuration)\n- [Components](#components)\n  - [Tools](#tools)\n  - [Resources](#resources)\n- [License](#license)\n\n## Features\n\n- 🌐 Full browser automation capabilities\n- 📸 Screenshot capture of entire pages or specific elements\n- 🖱️ Comprehensive web interaction (navigation, clicking, form filling)\n- 📊 Console log monitoring\n- 🔧 JavaScript execution in browser context\n\n## Installation\n\n### Installing via Smithery\n\nTo install MCP Server Playwright for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@automatalabs/mcp-server-playwright):\n\n```bash\nnpx -y @smithery/cli install @automatalabs/mcp-server-playwright --client claude\n```\n\nYou can install the package using either npx or mcp-get:\n\nUsing npx:\n```bash\nnpx @automatalabs/mcp-server-playwright install\n```\nThis command will:\n1. Check your operating system compatibility (Windows/macOS)\n2. Create or update the Claude configuration file\n3. Configure the Playwright server integration\n\nThe configuration file will be automatically created/updated at:\n- Windows: `%APPDATA%\\Claude\\claude_desktop_config.json`\n- macOS: `~/Library/Application Support/Claude/claude_desktop_config.json`\n\nUsing mcp-get:\n```bash\nnpx @michaellatman/mcp-get@latest install @automatalabs/mcp-server-playwright\n```\n\n## Configuration\n\nThe installation process will automatically add the following configuration to your Claude config file:\n\n```json\n{\n  \"mcpServers\": {\n    \"playwright\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@automatalabs/mcp-server-playwright\"]\n    }\n  }\n}\n```\n## Using with Cursor\n\nYou can also use MCP Server Playwright with [Cursor](https://www.cursor.so/), an AI-powered code editor. To enable browser automation in Cursor via MCP:\n\n1. **Install Playwright browsers** (if not already):\n    ```bash\n    npx playwright install\n    ```\n\n2. **Install MCP Server Playwright for Cursor** using Smithery:\n    ```bash\n    npx -y @smithery/cli install @automatalabs/mcp-server-playwright --client cursor\n    ```\n\n3. **Configuration file setup**:  \n   If you do not use Claude, the configuration file (`claude_desktop_config.json`) may not be created automatically.  \n   - On Windows, create a folder named `Claude` in `%APPDATA%` (usually `C:\\Users\\\u003cYourName\u003e\\AppData\\Roaming\\Claude`).\n   - Inside that folder, create a file named `claude_desktop_config.json` with the following content:\n   \n    ```json\n    {\n      \"serverPort\": 3456\n    }\n    ```\n\n4. **Follow the remaining steps in the [Installation](#installation) section above** to complete the setup.\n\nNow, you can use all the browser automation tools provided by MCP Server Playwright directly from Cursor’s AI features, such as web navigation, screenshot capture, and JavaScript execution.\n\n\u003e **Note:** Make sure you have Node.js installed and `npx` available in your system PATH.\n\n## Components\n\n### Tools\n\n#### `browser_navigate`\nNavigate to any URL in the browser\n```javascript\n{\n  \"url\": \"https://stealthbrowser.cloud\"\n}\n```\n\n#### `browser_screenshot`\nCapture screenshots of the entire page or specific elements\n```javascript\n{\n  \"name\": \"screenshot-name\",     // required\n  \"selector\": \"#element-id\",     // optional\n  \"fullPage\": true              // optional, default: false\n}\n```\n\n#### `browser_click`\nClick elements on the page using CSS selector\n```javascript\n{\n  \"selector\": \"#button-id\"\n}\n```\n\n#### `browser_click_text`\nClick elements on the page by their text content\n```javascript\n{\n  \"text\": \"Click me\"\n}\n```\n\n#### `browser_hover`\nHover over elements on the page using CSS selector\n```javascript\n{\n  \"selector\": \"#menu-item\"\n}\n```\n\n#### `browser_hover_text`\nHover over elements on the page by their text content\n```javascript\n{\n  \"text\": \"Hover me\"\n}\n```\n\n#### `browser_fill`\nFill out input fields\n```javascript\n{\n  \"selector\": \"#input-field\",\n  \"value\": \"Hello World\"\n}\n```\n\n#### `browser_select`\nSelect an option in a SELECT element using CSS selector\n```javascript\n{\n  \"selector\": \"#dropdown\",\n  \"value\": \"option-value\"\n}\n```\n\n#### `browser_select_text`\nSelect an option in a SELECT element by its text content\n```javascript\n{\n  \"text\": \"Choose me\",\n  \"value\": \"option-value\"\n}\n```\n\n#### `browser_evaluate`\nExecute JavaScript in the browser console\n```javascript\n{\n  \"script\": \"document.title\"\n}\n```\n\n### Resources\n\n1. **Console Logs** (`console://logs`)\n   - Access browser console output in text format\n   - Includes all console messages from the browser\n\n2. **Screenshots** (`screenshot://\u003cn\u003e`)\n   - Access PNG images of captured screenshots\n   - Referenced by the name specified during capture\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](https://github.com/Automata-Labs-team/MCP-Server-Playwright/blob/main/LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAutomata-Labs-team%2FMCP-Server-Playwright","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAutomata-Labs-team%2FMCP-Server-Playwright","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAutomata-Labs-team%2FMCP-Server-Playwright/lists"}