Nix Playwright
FreeNot checkedA Nix-wrapped version of the Playwright MCP server with Chromium from Nixpkgs, enabling browser automation on NixOS.
About
A Nix-wrapped version of the Playwright MCP server with Chromium from Nixpkgs, enabling browser automation on NixOS.
README
Deprecated: This repository was a workaround for complex usage in the former
Playwright MCP server. This is no longer necessary in the current version of
Playwright MCP, which can be run simply using npx.
This repository now only provides a Nix-wrapped version of the Playwright MCP server, with the browser executable set to Chromium from Nixpkgs. I am still maintaining this repository for personal use, but it doesn't offer much benefit.
For a comprehensive framework for running MCP servers on NixOS, I would recommend the following options:
- https://github.com/natsukium/mcp-servers-nix
- https://github.com/aloshy-ai/nix-mcp-servers
- https://github.com/cameronfyfe/nix-mcp-servers
Usage
Run the server:
nix run github:akirak/nix-playwright-mcp
or in headless mode:
nix run github:akirak/nix-playwright-mcp -- --headless
Credits
To initially make Playwright run on NixOS, I followed a thread on the NixOS
Discourse. The
posts by Patrizio Bekerle, a.k.a. pbek, and Giacomo Debidda, a.k.a. jackdbd,
were especially helpful. Thanks!
Installing Nix Playwright
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/akirak/nix-playwright-mcpFAQ
Is Nix Playwright MCP free?
Yes, Nix Playwright MCP is free — one-click install via Unyly at no cost.
Does Nix Playwright need an API key?
No, Nix Playwright runs without API keys or environment variables.
Is Nix Playwright hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Nix Playwright in Claude Desktop, Claude Code or Cursor?
Open Nix Playwright on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Playwright
Browser automation, scraping, screenshots
by MicrosoftPuppeteer
Browser automation and web scraping.
by modelcontextprotocolopentabs-dev/opentabs
Plugin-based MCP server + Chrome extension that gives AI agents access to web applications through the user's authenticated browser session. 100+ plugins with a
by opentabs-devrobhunter/agentdeals
1,500+ developer infrastructure deals, free tiers, and startup programs across 54 categories. Search deals, compare vendors, plan stacks, and track pricing chan
by robhunterCompare Nix Playwright with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All browse MCPs
