nix-playwright-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@nix-playwright-mcpNavigate to https://example.com and return the page title"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
A Nix Flake for Playwright MCP
Deprecated: Use playwright-mcp package from nixpkgs instead. This
repository is no longer maintained.
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:
Usage
Run the server:
nix run github:akirak/nix-playwright-mcpor in headless mode:
nix run github:akirak/nix-playwright-mcp -- --headlessRelated MCP server: Playwright Server MCP
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!
This server cannot be deployed
Maintenance
Related MCP Connectors
Browserless MCP — wraps the Browserless headless-Chromium REST API (browserless.io)
MCP server for Mint — AI-powered QA that runs your app in a real browser on every PR.
Browser MCP for logged-in tasks. Uses your Chrome — credentials stay local. Zero-token replay.
Related MCP Servers
- AlicenseBqualityNot gradedmaintenanceA MCP server that provides browser automation tools, allowing users to navigate websites, take screenshots, click elements, fill forms, and execute JavaScript through Playwright.82Apache 2.0
- AlicenseBqualityDmaintenanceA browser automation server providing Playwright capabilities for controlling web browsers, capturing screenshots, extracting content, and performing complex interactions through an MCP interface.6Apache 2.0
- AlicenseBqualityDmaintenanceA universal browser automation MCP server using Playwright, enabling programmatic control of Chrome with 63 tools for navigation, interaction, media control, and CDP-based diagnostics.6311 npm3MIT
- AlicenseAqualityDmaintenanceA Model Context Protocol (MCP) server for browser automation using Playwright to control Chrome browsers.1017 npmMIT