- Explore MCP Servers
- nix-playwright-mcp
Nix Playwright Mcp
What is Nix Playwright Mcp
nix-playwright-mcp is a Nix flake designed to simplify the setup and usage of the Playwright MCP server on NixOS, addressing compatibility and version mismatch issues.
Use cases
Use cases include running automated tests for web applications, ensuring compatibility with specific browser versions, and leveraging the Model Context Protocol (MCP) for AI-related projects.
How to use
To use nix-playwright-mcp, run the flake directly with the command ‘nix run github:akirak/nix-playwright-mcp’. You can view command-line options by adding ‘–help’.
Key features
Key features include intuitive usage on NixOS, integration with the official NixOS package for Playwright browser executables, minimal download size by including only a single browser (currently Chromium), and packaging of the MCP server to avoid version conflicts.
Where to use
nix-playwright-mcp is primarily used in software testing and development environments where Playwright is required for automated browser testing, particularly on NixOS systems.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Overview
What is Nix Playwright Mcp
nix-playwright-mcp is a Nix flake designed to simplify the setup and usage of the Playwright MCP server on NixOS, addressing compatibility and version mismatch issues.
Use cases
Use cases include running automated tests for web applications, ensuring compatibility with specific browser versions, and leveraging the Model Context Protocol (MCP) for AI-related projects.
How to use
To use nix-playwright-mcp, run the flake directly with the command ‘nix run github:akirak/nix-playwright-mcp’. You can view command-line options by adding ‘–help’.
Key features
Key features include intuitive usage on NixOS, integration with the official NixOS package for Playwright browser executables, minimal download size by including only a single browser (currently Chromium), and packaging of the MCP server to avoid version conflicts.
Where to use
nix-playwright-mcp is primarily used in software testing and development environments where Playwright is required for automated browser testing, particularly on NixOS systems.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Content
A Nix Flake for Playwright MCP
Deprecated: Now Playwright MCP starts a browser instance within itself, you
can simply run the MCP server without a complex workaround which was previously
implemented in this repository. This repository now only provides a Nix-wrapped
version of the Playwright MCP server, with the browser executable set to
Chromium from Nixpkgs.
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!
Dev Tools Supporting MCP
The following are the main code editors that support the Model Context Protocol. Click the link to visit the official website for more information.










