nix-playwright-mcp
Click on "Install 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: 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-mcpor in headless mode:
nix run github:akirak/nix-playwright-mcp -- --headlessCredits
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 installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/akirak/nix-playwright-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server