PlaywrightGen MCP sunucusu
Commit 14 Kas 2026AI agent'larının onaylanmış gereksinimleri okumasına, Playwright otomasyonu oluşturmasına ve bir editör içerisinde test kanıtlarını yönetmesine olanak tanır.
Ayrıca bilinen adı hmamut39/playwrightgen
- Yıldızlar
- 0
- Araçlar
- —
- İndirmeler, 30 gün
- —
- En son sürüm
- 1.0.0
- Son commit
- 14 Kas 2026
- Lisans
- —
PlaywrightGen MCP nedir?
AI agent'larının onaylanmış gereksinimleri okumasına, Playwright otomasyonu oluşturmasına ve bir editör içerisinde test kanıtlarını yönetmesine olanak tanır.
Özet, projenin README dosyasından oluşturuldu
PlaywrightGen MCP sunucusu hakkında
PlaywrightGen, AI agent'larının tarayıcı otomasyonunun tüm yaşam döngüsünü yönetmesi için yapılandırılmış bir yol sunar. Denetimler veya sürüm kararları için doğrulanabilir bir kanıt zinciri oluşturmak amacıyla gereksinimleri, test senaryolarını ve gerçek kodu birbirine bağlar. Claude Code, Cursor veya Copilot gibi AI istemcilerini kullanan geliştiriciler, neyi test edeceklerini tahmin etmek yerine onaylanmış niyetleri okumak için bu server'ı kullanabilirler. Server, agent'ların gereksinimleri işlemesine, test senaryolarını yönetmesine, otomasyon taslakları önermesine ve son hataları analiz etmesine olanak tanıyan on altı araç içerir.
Çalışması için server; bir PostgreSQL veritabanı, OpenAI API anahtarları ve Clerk kimlik doğrulaması dahil olmak üzere çeşitli yapılandırmalar gerektirir. Ayrıca uzaktan tarayıcı yürütme için Browserless ve AI limitlerini yönetmek için Upstash Redis kullanır. GitHub ile entegre edildiğinde, issue'lardan gereksinim taslakları oluşturabilir ve onaylanmış test kodu ile pull request açabilir. Sistem, bir agent'ın kod önermesine izin verirken oluşturduğu kayıtları onaylama veya silme yetkisini engelleyerek katı bir görevler ayrılığı uygular.
Neler yapabilirsiniz
- 1Gereksinimlerden otomasyon oluşturmaBir AI agent, onaylanmış bir gereksinimi okuyabilir ve inceleme için bir test senaryosu taslağı önerebilir.
- 2Canlı sayfalar üzerinden testleri doğrulamaSistem, bir genel URL'yi okuyabilir ve gerçek erişilebilirlik ağacına (accessibility tree) dayalı bir Playwright testi yazabilir.
- 3GitHub issue'larından dokümantasyonu otomatize etmeServer, bir destek talebini (ticket) resmi bir gereksinime dönüştürmek için GitHub entegrasyonunu kullanabilir.
- 4Denetim izi (audit trail) tutmaGeliştiriciler, CI test sonuçlarını belirli onaylanmış test sürümleriyle ilişkilendirebilirler.
Projenin README dosyasından alınmıştır. Her kullanım durumu, oradaki bir alıntı ile kontrol edilir.
PlaywrightGen MCP nasıl yüklenir
Biçimler 10 Kas 2026 tarihinde doğrulandıCursor'a ekleGoose'a eklePlaywrightGen MCP'yi Claude Code içine yükleyin
$ claude mcp add --transport http playwrightgen https://playwrightgen.com/api/mcpPlaywrightGen MCP'yi Cursor içine yükleyin
~/.cursor/mcp.json
{
"mcpServers": {
"playwrightgen": {
"url": "https://playwrightgen.com/api/mcp"
}
}
}PlaywrightGen MCP'yi VS Code içine yükleyin
.vscode/mcp.json
{
"servers": {
"playwrightgen": {
"type": "http",
"url": "https://playwrightgen.com/api/mcp"
}
}
}PlaywrightGen MCP'yi VS Code CLI içine yükleyin
$ code --add-mcp '{"name":"playwrightgen","type":"http","url":"https://playwrightgen.com/api/mcp"}'PlaywrightGen MCP'yi Codex içine yükleyin
$ codex mcp add playwrightgen --url https://playwrightgen.com/api/mcpPlaywrightGen MCP'yi Codex config.toml içine yükleyin
~/.codex/config.toml
[mcp_servers.playwrightgen] url = "https://playwrightgen.com/api/mcp"
PlaywrightGen MCP'yi Gemini CLI içine yükleyin
$ gemini mcp add -s user --transport http playwrightgen https://playwrightgen.com/api/mcpPlaywrightGen MCP'yi Gemini settings.json içine yükleyin
~/.gemini/settings.json
{
"mcpServers": {
"playwrightgen": {
"url": "https://playwrightgen.com/api/mcp",
"type": "http"
}
}
}Otomatik kontroller
Çalıştırıldı 15 Kas 2026Tam rapor →Henüz doğrulanmadı. Bir sunucunun 80 puana, ciddi bir bulgu olmamasına ve kontrol edebilmemiz için yeterli veriye ihtiyacı vardır. Kontroller nasıl çalışır · Daha fazla puan için nelerin düzeltileceği
- Kaynak deposu bağlantılı ve erişilebilirhmamut39/playwrightgen is public and reachablegithub.com/hmamut39/playwrightgen ↗Geçti
- Paket, bu depoyu kaynağı olarak gösteriyorKontrol edilmedi
- Derleme kökeni (Sigstore onayı)Kontrol edilmedi
- Açık kaynak lisansı (OSI)No licenseBulgu
- Son bir yıl içinde commit veya sürüm mevcutLast commit or release 2026-11-14github.com/hmamut39/playwrightgen ↗Geçti
- OpenSSF ScorecardKontrol edilmedi
- Paket adı popüler bir pakete yakın değilKontrol edilmedi
- Pakette veya bağımlılıklarında kritik uyarı yokKontrol edilmedi
- Modele yönelik gizli talimat yok0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersGeçti
- Yıkıcı araçlar etiketlenmişKontrol edilmedi
- Uzak uç nokta MCP el sıkışmasına yanıt veriyorHTTPS endpoint answered 401 (sign-in required)Geçti
PlaywrightGen
Playwright tests written from your real page, run until they pass, and kept as evidence a person approved.
Live at playwrightgen.com.
Writing a Playwright test is no longer the hard part — every editor has an assistant that will do it. What none of them keep is the thing an audit, a release decision or a customer actually asks for: which behaviour was agreed, by whom, at which version, and what the last run proved. That record is what this product is.
How it works
Two ways in, one chain.
The free tools need no account. Say what to test, paste a public URL, and PlaywrightGen reads the page, writes a test from its real accessibility tree, runs it in a remote browser, and fixes the failing step until it passes. You get working code and the run that proves it, signed so the evidence survives if you later bring it into a workspace. Nothing durable is claimed until you do.
The workspace turns that into a record:
- A Requirement is drafted, reviewed and approved. Approving writes an immutable version.
- Test Cases carry objective, steps and expected results, are approved the same way, and link to the Requirements they verify.
- Automation is generated from an approved Test Case version, validated against deterministic rules, proven on the live page, and then approved by a person — never by the generator and never by an agent.
- Run evidence arrives from your own CI. Your tests run on your runners,
against your environment, with your secrets; only a bounded summary of
results is sent. A
[pwg:...]marker in the test title is what ties a result to the approved version it is evidence for. - A proof link shares the result outside the team: a signed URL anybody can open, with an acceptance signature and a downloadable file they can keep.
Every claim on that chain names its source. A requirement with no passing test says so; a run that was skipped says it proved nothing; a report that was bounded says how much it did not cover.
What holds it honest
- A prompt is a request; a validator is a rule. Every promise a prompt makes has a deterministic check behind it: no focused tests, no fixed sleeps, no credentials in the file, no request to an address that is not the application under test, no Node capability a browser test has no business reaching for.
- A repair may not weaken a test. The quickest way to make a failing assertion pass is to delete it, so a fix that checks less than the test it was given is refused.
- Separation of duties. The person who proposed something cannot be the one who approves it; the MCP server can propose and send code and has no capability to approve, accept, share or delete, which a test enforces by reading the import graph.
- Every AI surface is measured.
npm run evalsgrades each prompt deterministically against structured output and compares the run with a hand-blessed baseline.
For agents (MCP)
PlaywrightGen is an MCP server, so Claude Code, Cursor or Copilot can read the approved intent instead of guessing: sixteen tools covering requirements, test cases, approved automation, recent failures, writing and proving a test on a live page, and proposing drafts for review. An agent gets exactly the rights of the person whose token it used.
Running it locally
npm install
npm run dev
Then npm run test:run for the suite, npm run typecheck, npm run lint,
and npm run build. Integration tests need TEST_DATABASE_URL pointing at a
database used for nothing else; they refuse anything that looks like
production.
Built with Next.js, TypeScript, PostgreSQL (Prisma), Clerk, Tailwind, Playwright, OpenAI and Stripe.
Environment
Runtime:
DATABASE_URL— PostgreSQL for the application.DIRECT_URL— optional direct connection preferred by migration commands.TEST_DATABASE_URL— a separate database for integration tests. It never falls back to either of the above.NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY,CLERK_SECRET_KEY,CLERK_WEBHOOK_SIGNING_SECRETOPENAI_API_KEY— server-only. Per-surface model overrides exist, for exampleOPENAI_REQUIREMENT_REVIEW_MODELandOPENAI_FAILURE_ANALYSIS_MODEL.UPSTASH_REDIS_REST_URL,UPSTASH_REDIS_REST_TOKEN— the per-minute and per-day AI allowances.RUNNER_INGEST_SECRET— signs live-run receipts, so a receipt proves a run of that exact code.BROWSERLESS_API_KEY— the remote browser the free tools and proving use.EXAMPLE_EVIDENCE_PROJECT_ID— optional: the one project whose evidence is published publicly at/proof/example.
GitHub integration (separate values per environment):
GITHUB_APP_ID,GITHUB_APP_PRIVATE_KEY,GITHUB_APP_SLUG,GITHUB_APP_CLIENT_ID,GITHUB_APP_CLIENT_SECRET,GITHUB_WEBHOOK_SECRETGITHUB_SETUP_STATE_SECRET— at least 32 characters, distinct from every other secret.NEXT_PUBLIC_APP_URL— the exact origin the GitHub callback returns to.
The App is held to a permission ceiling, checked on every installation and
refused if exceeded: metadata: read, contents: read and write,
pull_requests: read and write, issues: read. Contents write is what
opens a pull request with approved test code; pull-requests write is what
leaves the evidence note on it; issues read is what drafts a requirement from
a ticket. User and installation tokens are transient and are never logged or
stored.
Clerk webhooks go to /api/webhooks/clerk with
CLERK_WEBHOOK_SIGNING_SECRET set locally and in the deployment, subscribed
to:
user.created,user.updated,user.deletedorganization.created,organization.updated,organization.deletedorganizationMembership.created,organizationMembership.updated,organizationMembership.deleted
Local webhook delivery needs a secure tunnel to the local application. Never put a webhook secret in documentation or source control.
Operations
Reconcile one Clerk organization, dry-run by default:
npm run clerk:reconcile -- --organization-id org_example
# or
npm run clerk:reconcile -- --slug workspace-slug
Add --apply after reading the dry-run counts. It never sweeps every
organization.
Database:
npm run prisma:format
npm run prisma:validate
npm run prisma:generate
npm run prisma:migrate:dev
npm run test:database
Never commit credentials, secrets, .env or .env.local. Never point a
development migration or reset command at production.
Where the work is written down
docs/ROADMAP.md— what shipped, what is next, and what was deliberately not done.docs/DECISIONS.md— architecture decisions, each with its reason.docs/ARCHITECTURE.md,docs/PRODUCTION_READINESS.md— the shape of the system and the gates before a production deploy.examples/ci-proof— a disposable repository that proves the CI loop end to end.
PlaywrightGen MCP soruları
PlaywrightGen MCP'yi Claude Code'a nasıl eklerim?
Terminalinizde claude mcp add --transport http playwrightgen https://playwrightgen.com/api/mcp komutunu çalıştırın. Her projede kullanılabilir olması için --scope user ekleyin.
PlaywrightGen MCP'yi Cursor'a nasıl eklerim?
~/.cursor/mcp.json dosyasını açın ve yukarıdaki yükleme bölümünde gösterilen Cursor yapılandırmasını kullanarak sunucuyu mcpServers altına ekleyin.
Bir AI agent bu MCP server ile neler yapabilir?
Bir agent; gereksinimleri, test senaryolarını, onaylanmış otomasyonları ve son hataları yönetmek ve inceleme için taslaklar önermek amacıyla on altı araç kullanabilir.
AI agent testleri onaylayabilir mi?
Hayır, görevler ayrılığı ilkesini korumak amacıyla MCP server'ın testleri onaylaması, kabul etmesi, paylaşması veya silmesi kısıtlanmıştır.
Sistem test kalitesini nasıl sağlar?
Sabit sleep süreleri veya hardcoded kimlik bilgileri gibi sorunları önlemek için deterministik doğrulayıcılar kullanır ve assertion yapılarını zayıflatan onarımları reddeder.