{"id":47793824,"url":"https://github.com/trebormc/ddev-playwright-mcp","last_synced_at":"2026-04-18T15:04:15.319Z","repository":{"id":348713587,"uuid":"1191701790","full_name":"trebormc/ddev-playwright-mcp","owner":"trebormc","description":"DDEV Add-on: Headless Playwright browser (MCP)","archived":false,"fork":false,"pushed_at":"2026-04-15T10:54:33.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-15T12:30:46.615Z","etag":null,"topics":["ddev","ddev-get"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trebormc.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-25T13:59:29.000Z","updated_at":"2026-04-15T10:54:36.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/trebormc/ddev-playwright-mcp","commit_stats":null,"previous_names":["trebormc/ddev-playwright-mcp"],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/trebormc/ddev-playwright-mcp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trebormc%2Fddev-playwright-mcp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trebormc%2Fddev-playwright-mcp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trebormc%2Fddev-playwright-mcp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trebormc%2Fddev-playwright-mcp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trebormc","download_url":"https://codeload.github.com/trebormc/ddev-playwright-mcp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trebormc%2Fddev-playwright-mcp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31851057,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"ssl_error","status_checked_at":"2026-04-15T15:24:39.138Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["ddev","ddev-get"],"created_at":"2026-04-03T16:01:01.747Z","updated_at":"2026-04-18T15:04:15.301Z","avatar_url":"https://github.com/trebormc.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![add-on registry](https://img.shields.io/badge/DDEV-Add--on_Registry-blue)](https://addons.ddev.com)\n[![tests](https://github.com/trebormc/ddev-playwright-mcp/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/trebormc/ddev-playwright-mcp/actions/workflows/tests.yml?query=branch%3Amain)\n[![last commit](https://img.shields.io/github/last-commit/trebormc/ddev-playwright-mcp)](https://github.com/trebormc/ddev-playwright-mcp/commits)\n[![release](https://img.shields.io/github/v/release/trebormc/ddev-playwright-mcp)](https://github.com/trebormc/ddev-playwright-mcp/releases/latest)\n\n# ddev-playwright-mcp\n\nA DDEV add-on that provides a [Playwright MCP](https://github.com/anthropics/playwright-mcp) server for headless browser automation via the Model Context Protocol. It gives AI agents a real Chromium browser to interact with your Drupal site: navigate pages, fill forms, take screenshots, and verify UI state programmatically.\n\n\u003e **Part of [DDEV AI Workspace](https://github.com/trebormc/ddev-ai-workspace)** — a modular ecosystem of DDEV add-ons for AI-powered Drupal development. Install the full stack with one command: `ddev add-on get trebormc/ddev-ai-workspace`\n\u003e\n\u003e Created by [Robert Menetray](https://menetray.com) · Sponsored by [DruScan](https://druscan.com)\n\n\u003e **Note:** This add-on is typically installed automatically as a dependency of [ddev-opencode](https://github.com/trebormc/ddev-opencode), [ddev-claude-code](https://github.com/trebormc/ddev-claude-code), or [ddev-ralph](https://github.com/trebormc/ddev-ralph). You rarely need to install it directly.\n\n## Quick Start\n\nThe **recommended way** to install this add-on is through the [DDEV AI Workspace](https://github.com/trebormc/ddev-ai-workspace), which installs all tools and dependencies with a single command:\n\n```bash\nddev add-on get trebormc/ddev-ai-workspace\nddev restart\n```\n\nThis add-on is also **automatically installed** as a dependency when you install [ddev-opencode](https://github.com/trebormc/ddev-opencode), [ddev-claude-code](https://github.com/trebormc/ddev-claude-code), or [ddev-ralph](https://github.com/trebormc/ddev-ralph). You rarely need to install it directly.\n\n### Standalone installation\n\nIf you need to install it individually (requires familiarity with the DDEV add-on ecosystem):\n\n```bash\nddev add-on get trebormc/ddev-playwright-mcp\nddev restart\n```\n\n## What It Does\n\nThis add-on runs a **Playwright MCP server** as a DDEV service with headless Chromium. It exposes an MCP endpoint at `http://playwright-mcp:8931/mcp` accessible from other containers in the DDEV network.\n\nUse cases:\n- **AI-driven development**: Let AI agents (OpenCode, Claude Code) interact with your site through a real browser\n- **Visual testing**: Take screenshots and verify UI state programmatically\n- **Browser automation**: Automate form submissions, navigation, and interactions\n\n## Usage\n\n### From Other Containers\n\nConnect to the MCP server at:\n```\nhttp://playwright-mcp:8931/mcp\n```\n\n### Screenshots\n\nScreenshots are saved to the `screenshots/` directory in your project root, accessible from both the container and the host.\n\n### Custom Image Version\n\nTo use a specific Playwright MCP image version:\n\n```bash\nddev dotenv set .ddev/.env.playwright-mcp --playwright-mcp-image=mcr.microsoft.com/playwright/mcp:v1.2.0\nddev restart\n```\n\n## Configuration\n\n| Variable | Default | Description |\n|----------|---------|-------------|\n| `PLAYWRIGHT_MCP_IMAGE` | `mcr.microsoft.com/playwright/mcp:latest` | Docker image to use |\n| `TZ` | `UTC` | Timezone |\n\n## Tips\n\n- **Use HTTP** (not HTTPS) when navigating to your DDEV site from Playwright to avoid SSL certificate issues in local environments.\n- The MCP server runs in **shared browser context** mode. Cookies and sessions persist across requests.\n- Screenshots output directory: `/var/www/html/screenshots` (mapped to `./screenshots/` on host).\n\n## Uninstallation\n\n```bash\nddev add-on remove ddev-playwright-mcp\nddev restart\n```\n\n## Part of DDEV AI Workspace\n\nThis add-on is part of [DDEV AI Workspace](https://github.com/trebormc/ddev-ai-workspace), a modular ecosystem of DDEV add-ons for AI-powered Drupal development.\n\n| Repository | Description | Relationship |\n|------------|-------------|--------------|\n| [ddev-ai-workspace](https://github.com/trebormc/ddev-ai-workspace) | Meta add-on that installs the full AI development stack with one command. | Workspace |\n| [ddev-opencode](https://github.com/trebormc/ddev-opencode) | [OpenCode](https://opencode.ai) AI CLI container for interactive development. | Auto-installs this add-on |\n| [ddev-claude-code](https://github.com/trebormc/ddev-claude-code) | [Claude Code](https://docs.anthropic.com/en/docs/claude-code) CLI container for interactive development. | Auto-installs this add-on |\n| [ddev-ralph](https://github.com/trebormc/ddev-ralph) | Autonomous AI task orchestrator. Delegates work to OpenCode or Claude Code. | Auto-installs this add-on |\n| [ddev-beads](https://github.com/trebormc/ddev-beads) | [Beads](https://github.com/steveyegge/beads) git-backed task tracker shared by all AI containers. | Sibling dependency |\n| [ddev-agents-sync](https://github.com/trebormc/ddev-agents-sync) | Auto-syncs AI agent repositories into a shared Docker volume. | Sibling dependency |\n| [ddev-ai-ssh](https://github.com/trebormc/ddev-ai-ssh) | SSH access to the web container for AI agents. | Sibling dependency |\n| [drupal-ai-agents](https://github.com/trebormc/drupal-ai-agents) | 10 agents, 12 rules, 24 skills for Drupal development. Includes Playwright browser testing skill. | Uses this for visual testing |\n\n## Disclaimer\n\nThis project is an independent initiative by [Robert Menetray](https://menetray.com), sponsored by [DruScan](https://druscan.com). It is not affiliated with Anthropic, OpenCode, Beads, Playwright, Microsoft, or DDEV. AI-generated code may contain errors. Always review changes before deploying to production.\n\n## License\n\nApache-2.0. See [LICENSE](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrebormc%2Fddev-playwright-mcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrebormc%2Fddev-playwright-mcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrebormc%2Fddev-playwright-mcp/lists"}