Skip to main content
Glama
akirak

nix-playwright-mcp

by akirak

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-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!

A
license - permissive license
-
quality - not tested
C
maintenance

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